Skip to main content

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 the Interface class, which is an abstract base class for all interfaces.
  • actuators: Contains the Actuator class, which is an abstract base class for all actuators.
  • estimator: Contains the Estimator class, which is an abstract base class for all estimators.
  • controller: Contains the Controller class, which is an abstract base class for all controllers.
  • sensor: Contains the Sensor class, which is an abstract base class for all sensors.
  • logger: Contains the Logger class, which is used for logging. # TODO
  • main: Contains the RunnerThread class, 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


Download files

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

Source Distribution

ftprci-0.2.23.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

ftprci-0.2.23-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file ftprci-0.2.23.tar.gz.

File metadata

  • Download URL: ftprci-0.2.23.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ftprci-0.2.23.tar.gz
Algorithm Hash digest
SHA256 bddc5dad7070b6a84dbd954e2a51820cf6058d025278b9625eb54e0f836f2293
MD5 fae9f7a016cac4ba554d689e33b3bb08
BLAKE2b-256 64739d031166ce62b029af5f68559419bba9b94c8e1f6a2afa125990d8de0f64

See more details on using hashes here.

File details

Details for the file ftprci-0.2.23-py3-none-any.whl.

File metadata

  • Download URL: ftprci-0.2.23-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ftprci-0.2.23-py3-none-any.whl
Algorithm Hash digest
SHA256 72094963e90682ddb72d0294e2c4e12c42c21db09e5c9a8e1caf3e4152e8dda8
MD5 aa28a748f6d15472c769eda4e7866eef
BLAKE2b-256 cba96c67780063c8bbc7855e919d48a6d4bc1e1d60561a0b5db1a6ab651b98e6

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