Skip to main content

Native Python Barobo robotics control library

Project description

The Barobo Python Module

This python module can be used to control Barobo robots. The easiest way to use
this package is in conjunction with BaroboLink. After connecting to the robots
you want to control in BaroboLink, the following python program will move
joints 1 and 3 on the first connected Linkbot in BaroboLink::

from barobo import Linkbot
linkbot = Linkbot()
linkbot.connect()
linkbot.moveTo(180, 0, -180)

You may also use this package to control Linkbots without BaroboLink. In that
case, a typical control program will look something like this::
from barobo import Linkbot, Dongle

dongle = Dongle()
dongle.connectDongleTTY('COM3') # where 'COM3' is the com port the Linkbot is
# connected on. In Windows, the COM port of the
# Linkbot can be identified by inspecting the
# Device Manager. On a Mac, the com port will
# appear in the "/dev/" directory, usually as
# something like "/dev/cu.usbmodem1d11". In
# Linux, it should be something like
# "/dev/ttyACM0".
linkbot = dongle.getLinkbot() # or linkbot = dongle.getLinkbot('2B2C') where '2B2C'
# should be replaced with the serial ID of your
# Linkbot. Note that the serial ID used here can
# be that of a nearby Linkbot that you wish to
# connect to wirelessly. If no serial ID is
# provided, the new linkbot will refer to the
# Linkbot currently connected via USB.
linkbot.moveTo(180, 0, -180)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyBarobo-0.1.18.tar.gz (40.3 kB view hashes)

Uploaded Source

Built Distributions

PyBarobo-0.1.18.win32.exe (230.9 kB view hashes)

Uploaded Source

PyBarobo-0.1.18-py3.2-linux-armv6l.egg (181.8 kB view hashes)

Uploaded Source

PyBarobo-0.1.18-py3-none-any.whl (40.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page