Document toolboxDocument toolbox

Real Time Programming

How can I create a real-time program?

  • It highly depends on your definition of real-time. Even in real-time systems, there is a cycle time that the scheduler aims to ensure. Generally, you can run any application with real-time priorities by prefixing the call with

chrt
  • it's essential to be cautious as many actions can disrupt your real-time cycle time if not handled correctly, such as blocking operations like I/O access, etc.

Would it be possible to run a program with hard real-time requirements? For example, with a value of every 20ms? Can I use Python?