getting_started:tutorials:mockrobot
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:tutorials:mockrobot [2026/01/13 08:31] – [Control System] ursgraf | getting_started:tutorials:mockrobot [2026/04/12 16:36] (current) – [Mock Robot Example] ursgraf | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Start the program with | Start the program with | ||
| <code cpp> | <code cpp> | ||
| - | $ sudo ./ | + | $ ./ |
| </ | </ | ||
| Line 45: | Line 45: | ||
| The control system is very simple. A constant block with a Vector2 acts as set point for the two axis x and y. An integrator block pretends how the position moves during homing. When the robot runs a path planner with constant acceleration, | The control system is very simple. A constant block with a Vector2 acts as set point for the two axis x and y. An integrator block pretends how the position moves during homing. When the robot runs a path planner with constant acceleration, | ||
| - | {{: | + | [{{ : |
| In the constructor of the control system the blocks are created, connected, and the integrator are enabled. All of the blocks are added to a time domain which itself is passed to the executor. This time domain runs in parallel to the safety system task. | In the constructor of the control system the blocks are created, connected, and the integrator are enabled. All of the blocks are added to a time domain which itself is passed to the executor. This time domain runs in parallel to the safety system task. | ||
getting_started/tutorials/mockrobot.1768289480.txt.gz · Last modified: by ursgraf
