Skip to main content

blue_interface

[ API Reference ] [ Examples ]

robot arm splash

build mypy lint

Blue Interface is a platform-agnostic Python API for controlling Blue robotic arms. It uses rosbridge to communicate with Blue's ROS-based control system over a network connection.

Features:

  • No dependency on ROS (or any particular version of Ubuntu)
  • Easy connection to multiple robots
  • Support for both Python 2 and 3
  • Support for Mac, Windows, and Linux
  • Support for Jupyter Notebooks

It's designed to be lightweight and easy-to-use! Sending a Blue "right" arm to its zero position, for example, is as simple as:

from blue_interface import BlueInterface

blue = BlueInterface(side="right", ip="127.0.0.1")
blue.set_joint_positions([0] * 7)

Installation

From PyPi:

pip install blue_interface

From source:

git clone https://github.com/berkeleyopenarms/blue_interface.git
cd blue_interface
pip install -e .

Examples

  • gripper_controller.py - An example of opening and closing Blue's gripper.
  • inverse_kinematics.py - An example of sending Blue an end effector pose command.
  • print_status.py - An example of reading state and printing values from Blue.
  • zero_position.py - An example of sending Blue a command in joint space.

Metadata

Release files for blue-interface 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blue-interface 0.1
File Size Uploaded
blue_interface-0.1.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for blue-interface 0.1
File Interpreter ABI Platform
blue_interface-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.9 kB

Release files / blue_interface-0.1.tar.gz

Download URL blue_interface-0.1.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1020e59ef4d7c66893769454f3a6b741b88dfc96e411d75ec605212f6e3b89c6
BLAKE2b-256 checksum
How to use checksums
765ffb16c80b54a4d5ad8d333025bd952de0e31d87ee54c4e4f4aa87160cd55f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release files / blue_interface-0.1-py3-none-any.whl

Download URL blue_interface-0.1-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4e1d4e758ace79910596c219d20fdb58a57f8303ef623cad497079e3a80a4c3
BLAKE2b-256 checksum
How to use checksums
9651b2c92b8351b00790c6d141177897a83317361b0741d46bb5f402e944c6f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page