Skip to main content

RoboClaw Python Library - Team Chat Robotique

An easy-to-install version of Basicmicro's RoboClaw Python library

PyPI - Downloads

We want to install and use this code easily on our robots for the French Robotics Cup and for Eurobot, so here is the main file that is distributed by Basicmicro.

All methods in the library have docstrings to help coding and understanding what they are used for. Most docstrings information is based on Basicmicro's User Manual.

Most methods were not tested on a real RoboClaw, at the moment of releasing tcr-roboclaw 0.1.0. If you encounter a bug with the library, feel free to post an issue or a pull request on our repo.

Installation

pip install tcr-roboclaw

Usage

Use tcr-roboclaw by importing the class :

from tcr_roboclaw import Roboclaw

roboclaw = Roboclaw("/dev/ttyACM0", 115200)
roboclaw.open()

:warning: Some method/function names were changed to comply with PEP8 or to make them more explicit (Explicit is better than implicit.). Double-check that you use the right methods when using this library with code that was written with the original RoboClaw Python library :warning:

Contributing

(Recommended) flit is used to package this module. Development packages can be installed using flit :

python -m venv venv
source venv/bin/activate
pip install flit
flit install

Acknowledgements

This package was created to install roboclaw's Python library easily on any platform. It contains code from the official basicmicro' RoboClaw Python library.

Related Links

Release files for tcr-roboclaw 0.1.5

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

Source distribution (sdist)

Source distribution for tcr-roboclaw 0.1.5
File Size Uploaded
tcr_roboclaw-0.1.5.tar.gz 20.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tcr-roboclaw 0.1.5
File Interpreter ABI Platform
tcr_roboclaw-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 41.1 kB

Release files / tcr_roboclaw-0.1.5.tar.gz

Download URL tcr_roboclaw-0.1.5.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5bd8e582af41e872e930c646275e06508aeea2d98270db051d0e01014ae7d561
BLAKE2b-256 checksum
How to use checksums
fa26667aa893461a94899766f726b068b6e9756a1eb34db70bc1bb2df1b6dd08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / tcr_roboclaw-0.1.5-py3-none-any.whl

Download URL tcr_roboclaw-0.1.5-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbdee7ca92eec409f55ed158d6e8a9693f2fd6218ff28acc4ef035ba63795916
BLAKE2b-256 checksum
How to use checksums
baab09f4f00713ead8939bcf3563070f1bb6185df81d49976278c0c68c7d47ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

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