https://github.com/automaticdai/truetime-flex
TrueTime is a Matlab/Simulink-based simulator for real-time control systems. This repository is an enhanced version of TrueTime in order to support flexible tasks scheduling schemes.
https://github.com/automaticdai/truetime-flex
Last synced: 11 months ago
JSON representation
TrueTime is a Matlab/Simulink-based simulator for real-time control systems. This repository is an enhanced version of TrueTime in order to support flexible tasks scheduling schemes.
- Host: GitHub
- URL: https://github.com/automaticdai/truetime-flex
- Owner: automaticdai
- License: gpl-3.0
- Created: 2019-04-02T23:33:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T16:38:08.000Z (over 3 years ago)
- Last Synced: 2025-07-04T04:39:00.809Z (12 months ago)
- Language: C++
- Size: 8.63 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY
- License: COPYING
Awesome Lists containing this project
README
# TrueTime-flex
TrueTime is a Matlab/Simulink-based simulator for real-time control systems. This repository is an improved and modified version of TrueTime in order to support flexible tasks scheduling schemes.
The original TrueTime was developed by Lund University (http://www.control.lth.se/research/tools-and-software/truetime/). It stopped updating since 2016 and the latest version is 2.0.
In order to fit my application, I am going to make the following improvements:
- A more flexible task model and programming interface
- Support for multiple schedulers and controllers
- Task period can be changed at run-time
- Run-time diagnose of schedulability and control performance
Original readme with instructions:
## TrueTime 2.0, 2016-04-06
GETTING STARTED:
1. Unpack all files to some suitable directory $DIR
2. Start Matlab R2012a or later and cd to $DIR
3. Run init_truetime.m to add the necessary Matlab paths and to
set the TTKERNEL environment variable.
4. Open any example, for instance $DIR/examples/simple/matlab/simple.slx
Note that you must cd to the directory of the .slx file before you hit "Run".
RECOMPILING THE TRUETIME C++ MEX FILES:
The current release includes precompiled files for 64-bit Matlab under 64-bit
Windows, Mac OS X, and Linux. This should be sufficient to run all the examples
and also to construct new models that utilize the Matlab API.
If you are unable run the examples using the precompiled files, then you need
to recompile all the C++ MEX files:
a. Make sure that you have a Matlab-supported C++ compiler installed. See
http://www.mathworks.com/support/compilers/current_release/
b. Run
`> mex -setup C++`
c. Run
`> make_truetime`
and make sure that all files are compiled without error. You should now be
able to run all the examples.
For questions and bug reports, please contact truetime@control.lth.se