docs |
|
|---|---|
package |
General python support for single and dual motor controllers.
Free software: MIT License
Installation
pip install robot-motor-controller
You can also install the in-development version with:
pip install https://github.com/fmorton/robot-python-hummingbird/archive/main.zip
Motor Controller Example with a Birdbrain Hummingbird
from robot.hummingbird import Hummingbird
from robot.l298n_dual_motor_controller import L298nDualMotorController
from time import sleep
hummingbird = Hummingbird()
motors = L298nDualMotorController(hummingbird)
motors.move_left_motor(40) # left motor forward
sleep(1.0)
motors.move_left_motor(0) # stop left motor
motors.move_right_motor(-40) # right motor backwards
sleep(1.0)
motors.move(50, 50) # move both motors forward
sleep(1.0)
motors.stop()
Testing
To run all the tests run:
pytest
Metadata
Release files for robot-motor-controller 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robot_motor_controller-0.9.0.tar.gz | 5.9 kB | Without provenance | Details for robot_motor_controller-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robot_motor_controller-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for robot_motor_controller-0.9.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / robot_motor_controller-0.9.0.tar.gz
| Download URL | robot_motor_controller-0.9.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a603d9928b74d51a33fdb8772e7e3dacd86620decee4e944ec5340d5e2c9bb5
|
|
BLAKE2b-256 checksum How to use checksums |
47a2f942a36744398e2430fe454a39183bd0a50c5927049ceeadb1b21c61f017
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / robot_motor_controller-0.9.0-py3-none-any.whl
| Download URL | robot_motor_controller-0.9.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c1eb99086a509acf225545a6e76561df12ddb80eb23a9e88a40c8ea1e0c6ac2
|
|
BLAKE2b-256 checksum How to use checksums |
05475f7a26bf15859d9f3ec5518f0b350200dbb4e1b9c71a9562080106e71ca3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for robot-motor-controller 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.