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

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.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

tcr_roboclaw-0.1.0-py2.py3-none-any.whl (20.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tcr_roboclaw-0.1.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for tcr_roboclaw-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e8911f271fbd2864ddc8342b6498fa7ce151a828e7d2c7d733de29149e27020d
MD5 47175e2f371a4ac96b56da864485c195
BLAKE2b-256 43c89de5bc2daf091600317292d2b9026f883d7a3db5d32e964abc49c0cedfa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tcr_roboclaw-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 49c8537f075791ad09868d1e8d3fefe997729f9e0ba8dadd6c54422b83031a69
MD5 53d32bf2f8ffacb7d3811ee4524b1dc1
BLAKE2b-256 23b39ced05900283c00de11f28c55f4f11d3780ff48d4b09e1ce839b161e2e36

See more details on using hashes here.

Supported by

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