Skip to main content

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

  • Fixed bug on some systems when using a button event callback function.

  • Added “move_joint_accel” functions

2.3.6

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

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.

Metadata

Release files for PyLinkbot 2.3.7

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

Built distributions (wheels)

Table of built distributions (wheels) for PyLinkbot 2.3.7
File Interpreter ABI Platform
PyLinkbot-2.3.7-cp35-none-win_amd64.whl CPython 3.5 none Windows x86-64 Details
PyLinkbot-2.3.7-cp35-none-win32.whl CPython 3.5 none Windows x86-32 Details
PyLinkbot-2.3.7-cp34-cp34m-macosx_10_6_intel.whl CPython 3.4 CPython 3.4 pymalloc macOS 10.6+ Intel (x86-64, i386) Details

Total release size: 4.1 MB

Release files / PyLinkbot-2.3.7-cp35-none-win_amd64.whl

Download URL PyLinkbot-2.3.7-cp35-none-win_amd64.whl
Size 1.4 MB
Tags CPython 3.5 Windows x86-64
SHA-256 checksum
How to use checksums
1ca854f66578560b7e4a37f3341b04d94c415f9c805cd9a55b13e01cc490dcbe
BLAKE2b-256 checksum
How to use checksums
6c21b6dc93c93ab7f42258e25a90387139e3e33d3238b1a1a64abb287fb7e1d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / PyLinkbot-2.3.7-cp35-none-win32.whl

Download URL PyLinkbot-2.3.7-cp35-none-win32.whl
Size 1.2 MB
Tags CPython 3.5 Windows x86-32
SHA-256 checksum
How to use checksums
529587d3147b3c96f8deddc362b3f8d524ad37c5860585c6579e52640b99bc52
BLAKE2b-256 checksum
How to use checksums
770984e8a982f8f37f556cb778a5ecefc961bc992bc4fcaa3e1c5f5ed08b9082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / PyLinkbot-2.3.7-cp34-cp34m-macosx_10_6_intel.whl

Download URL PyLinkbot-2.3.7-cp34-cp34m-macosx_10_6_intel.whl
Size 1.5 MB
Tags CPython 3.4 CPython 3.4 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
8f75b7d1e83396e5e0888fa5c2a9fdc484d0702914c29994cb55356d874b093a
BLAKE2b-256 checksum
How to use checksums
aeb3ae3e1fa1159227cda0367e59ff59d27f531bb05841c5ad4693ca1ed4ac5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.3.7 This release

3 release files

2.3.6

4 release files

2.3.3

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

4 release files

2.2.2

1 release file

2.2.1

2 release files

2.2.0

2 release files

2.1.3

1 release file

2.1.2

3 release files

2.1.1

3 release files

2.1.0

3 release files

2.0.5

3 release files

2.0.4

1 release file

2.0.3

1 release file

2.0.2

3 release files

2.0.1

2.0.0

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