Cross platform fast time python robot interface controller
Project description
FTPRCI
Fast Time Python Robot Controller Interface
Description
This library is a collection of classes and functions to help with the development of robot controllers in Python. It is designed to be fast and easy to use, with a focus on real-time control. Works on CPython and MicroPython.
Installation
To install the library, simply run:
```sh
pip install ftprci
```
Usage
The library is divided into several modules, each with a specific purpose:
interface: Contains theInterfaceclass, which is an abstract base class for all interfaces.actuators: Contains theActuatorclass, which is an abstract base class for all actuators.estimator: Contains theEstimatorclass, which is an abstract base class for all estimators.controller: Contains theControllerclass, which is an abstract base class for all controllers.sensor: Contains theSensorclass, which is an abstract base class for all sensors.logger: Contains theLoggerclass, which is used for logging. # TODOmain: Contains theRunnerThreadclass, which is used to run the controller with precise timings.
Here is an example of how to use the library:
```python
import ftprci as fci
th = fci.RunnerThread()
sensor = fci.LSM6()
estimator = fci.KalmanFilter()
controller = fci.PIDController(1, 10, 0.1)
actuator = fci.DCMotor()
th.callback | sensor.read | estimator.estimate | controller.steer | actuator.command
th.run()
```
Contributing
Do not hesitate to contribute to the project if you create a new sensor, estimator, or anything! You can open a pull request or an issue on the GitHub repository.
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 ftprci-0.2.28.tar.gz.
File metadata
- Download URL: ftprci-0.2.28.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
852a74367a826af27e72445fa1ba8be3457ae5fa9c0f6ce5f296974349697247
|
|
| MD5 |
b99f595730b57d42123424637f643277
|
|
| BLAKE2b-256 |
78e2f84834f39f2bd74183f1d90e4eaf7e4b7975f4920c8d68887b8b694392c0
|
File details
Details for the file ftprci-0.2.28-py3-none-any.whl.
File metadata
- Download URL: ftprci-0.2.28-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31155df052fff03c2bf3291adf0f5898e9637ded6ad04ce7cdc5501727b06d6a
|
|
| MD5 |
4af6070d0171fcf664bbd7fcc802bba4
|
|
| BLAKE2b-256 |
f28e267ad6eabb2669427d1b7b4edee3496c4d2117993442b7adcc7eb565c3e7
|