Python library for interfacing with the Curverunner motor controller.
Project description
Curverunner Python
Python library to interface with the Curverunner motor controller
Features
- Control up to 3 servos, 2 DC motors, and 3 auxiliary IOs
- Supports I2C and USB serial communication
- Programmable device ID for multiple devices on the same bus
- Closed loop control for DC motors with encoders
Quick Start
- Install the library via pip:
pip install curverunner
- Connect to Curverunner device via USB serial for initial setup
- After setup, I2C is recommended for Raspberry Pi or similar devices
- Use Python API to communicate with the device
from curverunner import Curverunner, CurverunnerCommSerial
comm = CurverunnerCommSerial() # Connect via USB serial
cr = Curverunner(comm) # Create Curverunner instance
cr.servo1.write_degrees(45) # Set servo 1 to 45 degrees
For further examples, see the examples directory.
Documentation
- API Reference (Incomplete)
- Examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file curverunner-0.2.0.tar.gz.
File metadata
- Download URL: curverunner-0.2.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4db600d05a21bcc530c6bf047d966788e529bf39915d90994c393975766125d
|
|
| MD5 |
9d28435da117d2e97b74599ed8de7111
|
|
| BLAKE2b-256 |
14f0f33c7db8a85a90a8e167b838303e82ca6470a769d3b2059e5eb9495473cc
|
Provenance
The following attestation bundles were made for curverunner-0.2.0.tar.gz:
Publisher:
python-publish.yml on connor-belli/curverunner-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
curverunner-0.2.0.tar.gz -
Subject digest:
c4db600d05a21bcc530c6bf047d966788e529bf39915d90994c393975766125d - Sigstore transparency entry: 630359941
- Sigstore integration time:
-
Permalink:
connor-belli/curverunner-python@911977d7e5461daa47a540aff8a2e6e54e359440 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/connor-belli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@911977d7e5461daa47a540aff8a2e6e54e359440 -
Trigger Event:
release
-
Statement type:
File details
Details for the file curverunner-0.2.0-py3-none-any.whl.
File metadata
- Download URL: curverunner-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c897890cfbf6c6adce6e306954aad1a110eaf8e7fa6f79a36187e9a764e77890
|
|
| MD5 |
105484cb8d116cf7f969b6f94b58be7d
|
|
| BLAKE2b-256 |
4ad7891039a324119385a9501b3e8005f23ae6c1ec71b75dfcb880aca7bd5600
|
Provenance
The following attestation bundles were made for curverunner-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on connor-belli/curverunner-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
curverunner-0.2.0-py3-none-any.whl -
Subject digest:
c897890cfbf6c6adce6e306954aad1a110eaf8e7fa6f79a36187e9a764e77890 - Sigstore transparency entry: 630359946
- Sigstore integration time:
-
Permalink:
connor-belli/curverunner-python@911977d7e5461daa47a540aff8a2e6e54e359440 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/connor-belli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@911977d7e5461daa47a540aff8a2e6e54e359440 -
Trigger Event:
release
-
Statement type: