You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We provide the relevant code snippets how to setup the rclc Executor for the processing patterns as described above.
404
404
405
-
#### (1) Sense-plan-act pipeline in robotics
405
+
#### Sense-plan-act pipeline in robotics example
406
406
407
407
In this example we want to realise a sense-plan-act pipeline in a single thread. The trigger condition is demonstrated by activating
408
408
the sense-phase when both data for the Laser and IMU are available. Three executors are necessary `exe_sense`, `exe_plan` and `exe_act`. The two sensor acquisition callbacks `sense_Laser` and `sense_IMU` are registered in the Executor `exe_sense`.
@@ -435,7 +435,7 @@ while (true) {
435
435
}
436
436
```
437
437
438
-
#### (2) Synchronization of multiple rates
438
+
#### Synchronization of multiple rates example
439
439
440
440
The sensor fusion synchronizing the multiple rates with a trigger is shown below.
With seqential execution the co-operative scheduling of tasks within a process can be modeled. The trigger condition is used to periodically activate the process which will then execute all callbacks in a pre-defined order. Data will be communicated using the LET-semantics. Every Executor is executed in its own tread, to which an appropriate priority can be assigned.
The rclc Executor has been presented at the workshop 'ROS 2 Executor: How to make it efficient, real-time and deterministic?' at [ROS World 2021](https://roscon.ros.org/world/2021/) (i.e. the online version of ROSCon)[[S2021](#S2021)]. A [Reference System](https://github.com/ros-realtime/reference-system) for testing and benchmarking ROS Executors has been developed for this workshop. The application of the rclc Executor on the reference system with the trigger condition can be found in the [rclc-executor branch of the Reference System](https://github.com/ros-realtime/reference-system/tree/rclc_executor).
0 commit comments