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)
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
Release history Release notifications | RSS feed
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 details)
Built Distributions
PyBarobo-0.1.18.win32.exe
(230.9 kB
view details)
PyBarobo-0.1.18-py3-none-any.whl
(40.1 kB
view details)
File details
Details for the file PyBarobo-0.1.18.tar.gz
.
File metadata
- Download URL: PyBarobo-0.1.18.tar.gz
- Upload date:
- Size: 40.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc53d96d25bde2ab3034c99e4ff04d5392b95f830fd7bc51b0533c818128c1f |
|
MD5 | c5221fe034b513aecb5f91aa9c9539e8 |
|
BLAKE2b-256 | 3b42a6da3fd9e5cb2e950a31b452dd35dcb9d68fd98f186c475fa31f9ab6abac |
File details
Details for the file PyBarobo-0.1.18.win32.exe
.
File metadata
- Download URL: PyBarobo-0.1.18.win32.exe
- Upload date:
- Size: 230.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 363f5d4be14dc91a72c34b4f9ab4c5fdcff5e111818dafd265150cd4b0b5cce3 |
|
MD5 | 040987380f0a7e7645a8b940f9e8000f |
|
BLAKE2b-256 | 4789d44c510b6924df12cb0adb119a1bdc9ef15f4861dc51a9e88e890f77e940 |
File details
Details for the file PyBarobo-0.1.18-py3.2-linux-armv6l.egg
.
File metadata
- Download URL: PyBarobo-0.1.18-py3.2-linux-armv6l.egg
- Upload date:
- Size: 181.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7612a3ee54f7615c8030cc0457330f5b42abe531ddc6b92486e9d61ba1b7197d |
|
MD5 | b2b1cd4445e3ea39a4073d796573412c |
|
BLAKE2b-256 | 78ace0d6a17bff3a2190ff3ee2cafaec8f19849635d8f388ef51741d74d12899 |
File details
Details for the file PyBarobo-0.1.18-py3-none-any.whl
.
File metadata
- Download URL: PyBarobo-0.1.18-py3-none-any.whl
- Upload date:
- Size: 40.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2836381015735fd6017b07291be1eb91f6a1b39cd227dbe03bfcee1accc19118 |
|
MD5 | f70d295c7e9896c51d490d6e5b5ff07e |
|
BLAKE2b-256 | 6704c5a2480482b231529a43de358efd2566c0545d59a212595a547f50d42e8f |