Skip to main content

Barobo Linkbot package

Project description

PyLinkbot

PyLinkbot - A Python package for controlling Barobo Linkbots Contact: David Ko <david@barobo.com>

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

Requirements

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 <http://www.scipy.org> is highly recommended for graphical plotting and more.

Installation

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

easy_install3 PyLinkbot

or

pip3 install PyLinkbot

Building

As of version 2.3.2, building from the setup.py 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 setup.py 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.

2.3.2

  • 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.

2.3.1

  • Compiled against Linkbot Labs 0.9.1

2.3.0

  • 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 .

2.2.2

  • Updated to Linkbot Labs 0.7.7 library.

  • Changed moveWait() to pure Python function.

2.2.1

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

2.2.0

  • Built against new Linkbot Labs 0.7.6

2.1.3

  • Added missing dlls

2.1.2

  • Added functions to access TWI

  • Added functions to access Linkbot Arduino shield

  • Fixed an exception-on-exit

2.1.1

  • Improved robustness of moveWait().

2.1.0

  • Added functions setMotorPower() and moveJointTo()

2.0.4

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

2.0.3

  • Internal bugfixes; Renamed some C++ API functions

2.0.2

  • Fixed getAccelerometer() member function.

2.0.1

  • Made serial ID case insensitive.

  • Fixed race condition/deadlock when waiting for joints to finish moving.

2.0.0

  • 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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

PyLinkbot-2.3.3-cp34-none-win32.whl (1.1 MB view details)

Uploaded CPython 3.4Windows x86

PyLinkbot-2.3.3-cp34-cp34m-macosx_10_6_intel.whl (1.2 MB view details)

Uploaded CPython 3.4mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file PyLinkbot-2.3.3-cp34-none-win32.whl.

File metadata

File hashes

Hashes for PyLinkbot-2.3.3-cp34-none-win32.whl
Algorithm Hash digest
SHA256 1bedf8fad5617dd52fabfa46f4909273576ca7bd7ef53d5dd6b50397e22314e0
MD5 e351805fef1cd21e2eaceee995a6d671
BLAKE2b-256 c3677d137fb57e8a56317965ac2f93eb7fa5053324a9cce95fc166145fbf640f

See more details on using hashes here.

File details

Details for the file PyLinkbot-2.3.3-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for PyLinkbot-2.3.3-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 3b6d5f4f75fddcee21201b7810d1374e2839606002916a7fe95e51e299874967
MD5 765a2d8d8036c9e4c7ebd4fe431369cf
BLAKE2b-256 3d684f119a5204390787d9b68ee42114302723e364b3e1c98c5f2722f9872fde

See more details on using hashes here.

Supported by

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