Skip to main content

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

Project description

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

Project details


Download files

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

Source Distribution

tcr_roboclaw-0.1.3.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

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

tcr_roboclaw-0.1.3-py2.py3-none-any.whl (20.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tcr_roboclaw-0.1.3.tar.gz.

File metadata

  • Download URL: tcr_roboclaw-0.1.3.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for tcr_roboclaw-0.1.3.tar.gz
Algorithm Hash digest
SHA256 33179f3191bf9805434f9da9802c442d3a09aa9d7293bb5cdc4373881eca83bb
MD5 fb99da3546e8b04434d8837390c465d1
BLAKE2b-256 b93d4a8533b8902e9568671d54f2a162157405443690d3474cc20313a5cda39a

See more details on using hashes here.

File details

Details for the file tcr_roboclaw-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: tcr_roboclaw-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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}

File hashes

Hashes for tcr_roboclaw-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 31ab7d61d6847542d7dc56c3add8208515920e249afe2ab54bb662bffa70840f
MD5 bd52a8ad2af3eca7b98b1b77cd58f036
BLAKE2b-256 272775602f759c6ad266e3a54333b034f3b7b6a063a8633e8c6fd686f9ae04b0

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