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.3-py3-none-any.whl (40.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rtint-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 40.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b68442ac7bd423df62b82bc2a79e07265a2abace252b6de61d28ac6fee2301a
MD5 107803077c2ea16e302e6662fce78be5
BLAKE2b-256 b718613ddcc891da9921cdb4aa0e2abf037555127a419b9947f88a1825ddf6da

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