User Tools

Site Tools


getting_started:tutorials:tasking1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
getting_started:tutorials:tasking1 [2020/11/26 16:09] ursgrafgetting_started:tutorials:tasking1 [2021/03/31 17:26] – [Harmonic with no Main Task] ursgraf
Line 4: Line 4:
 ===== Main task with one Harmonic ===== ===== Main task with one Harmonic =====
  
-In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run +In the EEROS library you will find a directory with examples. For this example see [[https://github.com/eeros-project/eeros-framework/blob/master/examples/task/PeriodicExample1.cpp|PeriodicExample1.cpp]].  
 + 
 +Open a shell in the build directory of your EEROS library and run 
 <code> <code>
 $ sudo ./examples/task/periodicExample1 $ sudo ./examples/task/periodicExample1
Line 18: Line 20:
 ===== Harmonic with no Main Task ===== ===== Harmonic with no Main Task =====
  
-If you don't specify a main task, the executor will create a default main task, which does nothing.+If you don't specify a main task, the executor will create a default main task, which does nothing, see [[https://github.com/eeros-project/eeros-framework/blob/master/examples/task/PeriodicExample2.cpp|PeriodicExample2.cpp]].  
 Run  Run 
 <code> <code>
Line 29: Line 32:
 The tasks has a periodic counter which measure its periods and run times. The harmonic task logs every time it runs. The results are printed in units of seconds. The tasks has a periodic counter which measure its periods and run times. The harmonic task logs every time it runs. The results are printed in units of seconds.
  
-====== Main Task with Several Harmonic Tasks ======+===== Main Task with Several Harmonic Tasks =====
 Run Run
 <code> <code>
getting_started/tutorials/tasking1.txt · Last modified: 2021/03/31 17:27 by ursgraf