User Tools

Site Tools


getting_started:tutorials:rttest

This is an old revision of the document!


Test your Realtime System

After successfully installing EEROS you might wonder how precise the periodic execution of your safety system and control system is. Keep in mind that EEROS will run on these systems with or without realtime capabilities. However, the latencies will greatly affect the precision of the periodic execution of the threads running the safety and control system.
In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run examples/rtTest/rtTest1. This examples does:

  • Creates a single periodic task with a period of 1ms
  • Measures the latency of the repetition frequency

You can start the program with the option -s passing a number of seconds after which the program stops.

$ ./examples/rtTest/rtTest1 -s 60 // run for a minute

The program will print out the cumulative runtime measurements of

  • maximum period
  • minimum period
  • mean period

once per second.

getting_started/tutorials/rttest.1480490015.txt.gz · Last modified: 2016/11/30 08:13 (external edit)