Skip to main content

Python code to interface with Simulink Mechatronics Library.

Project description

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

pip install rtint

Usage

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

rtint-0.0.4-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

Details for the file rtint-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: rtint-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 41.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for rtint-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d18973f4ec39f2a457cadff6921d3749b4557d1b3d1fcdb6c04eb90464a9ef7d
MD5 c10a82093a79cef6c9c7ee083d7dfe99
BLAKE2b-256 65397f67383c3e1cfc61d8063654196a4b3e90df1ce05ddd593c2badce5cda80

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