Skip to main content

Barobo Linkbot package

Project description


PyLinkbot - A Python package for controlling Barobo Linkbots Contact: David Ko <>

Linkbots are small modular robots designed to play an interactive role in computer science and mathematics curricula. More information may be found at .


This package is built against Python 3.4 . Python 2 is explicitely not supported, and other versions of Python 3 may or may not work. Additionally, the SciPy <> is highly recommended for graphical plotting and more.


The recommended way to install this package is through setuptools utilities, such as “easy_install” or “pip”. For example:

easy_install3 PyLinkbot


pip3 install PyLinkbot


As of version 2.3.2, building from the script has been tested on Ubuntu 14.04 LTS. The requirements to build this package are:

cmake git python3-dev gcc g++

To install all of these at once, run the command:

sudo apt-get install cmake git python3-dev gcc g++

Next, you should be able to run the setup script.

python3 build

The script will download and build all necessary dependencies, including Boost and the Linkbot Labs SDK package. Please note that the building process can take quite a bit of time to complete, and there is currently minimal UI feedback during the process, so patience is appreciated.


  • Fixed bug on some systems when using a button event callback function.
  • Added “move_joint_accel” functions


  • Added PEP8 compliant member function names. i.e. move_wait() instead of moveWait()


  • Compiled against Linkbot Labs 1.0.3
  • Added functions to control the acceleration/deceleration of Linkbot Motors. See Linkbot.moveSmooth() family of functions. These functions will only work on Linkbot Firmware versions higher than 4.4.4.


  • Compiled against Linkbot Labs 0.9.1


  • Updated to Linkbot Labs 0.7.9 library.
  • Changed robot radio communications protocol. It is now possible to “hot-swap” dongles and maintain connections to previously connected robots. However, the new protocol is not backwards compatible. If you are using Linkbot Labs 0.7.6 or 0.7.7, please use the PyLinkbot 2.2.2 .


  • Updated to Linkbot Labs 0.7.7 library.
  • Changed moveWait() to pure Python function.


  • Fixed deadlock; Module would sometimes deadlock if main thread called an RPC function while an event handler callback function was executing.


  • Built against new Linkbot Labs 0.7.6


  • Added missing dlls


  • Added functions to access TWI
  • Added functions to access Linkbot Arduino shield
  • Fixed an exception-on-exit


  • Improved robustness of moveWait().


  • Added functions setMotorPower() and moveJointTo()


  • Python module no longer disables robot broadcasts on disconnect unless they were enabled by this module in the first place.


  • Internal bugfixes; Renamed some C++ API functions


  • Fixed getAccelerometer() member function.


  • Made serial ID case insensitive.
  • Fixed race condition/deadlock when waiting for joints to finish moving.


  • Refactored back-end from PyBarobo (v1.0.0 series) to work with the new LinkbotLabs and baromesh protocol.

Project details

Download files

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

Files for PyLinkbot, version 2.3.7
Filename, size File type Python version Upload date Hashes
Filename, size PyLinkbot-2.3.7-cp34-cp34m-macosx_10_6_intel.whl (1.5 MB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size PyLinkbot-2.3.7-cp35-none-win32.whl (1.2 MB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size PyLinkbot-2.3.7-cp35-none-win_amd64.whl (1.4 MB) File type Wheel Python version 3.5 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page