Metadata-Version: 2.4
Name: rtint
Version: 0.0.3
Summary: Python code to interface with Simulink Mechatronics Library.
Author-email: Thomas Dehaeze <thomas.dehaeze@esrf.fr>
Maintainer-email: Thomas Dehaeze <thomas.dehaeze@esrf.fr>
License-Expression: MIT
Project-URL: Homepage, https://gitlab.esrf.fr/dehaeze/mechatronics-simulink-interface
Project-URL: Issues, https://gitlab.esrf.fr/dehaeze/mechatronics-simulink-interface/-/work_items
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: <3.14,>=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: resyst-client<0.20,>=0.19
Requires-Dist: numpy>=1.21.1
Requires-Dist: matplotlib
Requires-Dist: scipy
Requires-Dist: treelib
Requires-Dist: gevent
Requires-Dist: tabulate
Provides-Extra: build
Requires-Dist: build; extra == "build"
Requires-Dist: twine; extra == "build"
Provides-Extra: all
Requires-Dist: resyst-client[build]; extra == "all"
Dynamic: license-file

# rtint

Python package to interface with Simulink models running on real-time target machines through the Resyst (Communication Interface for Simulink-based Real Time Systems).

## Installation

```bash
pip install rtint
```

## Usage

```python
from rtint.rtint_hardware import RtintController

config = {
    "server": "resyst-hostname",
    "port": 8080,
}

controller = RtintController("my_target", config)
controller._run_model("my_model")

# Access hardware components
controller.motor.start()
controller.regul.on()
controller.filter.low_pass(wn=100, xi=0.707)
```

## Dependencies

- resyst-client >=0.19,<0.20
- numpy >=1.21.1
- matplotlib
- scipy
- treelib
- gevent
- tabulate

## License

MIT
