
Security News
NVD Quietly Sweeps 100K+ CVEs Into a “Deferred” Black Hole
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
Fast Time Python Robot Controller Interface
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. But the support for MicroPython is currently broken, because of the numpy dependancy.
To install the library, simply run:
```sh
pip install ftprci
```
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.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()
```
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.
FAQs
Cross platform fast time python robot interface controller
We found that ftprci demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
Research
Security News
Lazarus-linked threat actors expand their npm malware campaign with new RAT loaders, hex obfuscation, and over 5,600 downloads across 11 packages.
Security News
Safari 18.4 adds support for Iterator Helpers and two other TC39 JavaScript features, bringing full cross-browser coverage to key parts of the ECMAScript spec.