Skip to content

Commit adbc9aa

Browse files
committed
updated triggered rclc executor
Signed-off-by: Staschulat Jan <jan.staschulat@de.bosch.com>
1 parent 2dcc894 commit adbc9aa

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

  • _docs/tutorials/core/programming_rcl_rclc

‎_docs/tutorials/core/programming_rcl_rclc/index.md‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,14 @@ if (rc != RCL_RET_OK) {
214214
```
215215

216216
## <a name="rclc_executor"/>RCLC Executor
217-
The rclc Executor provides a C-API to manage to execute communication objects, like subscriptions and timers, the same way as the rclcpp Executor does for C++. Due to the complex semantics of the rclcpp Executor, it is difficult to reason about end-to-end latencies and to give real-time guarantees. To improve determinism, the rclc Executor provides also some additional features. But first, we are providing as simple example how to setup the rclc Executor with one subscription and one timer.
217+
The rclc Executor provides a C-API to manage to execute communication objects, like subscriptions and timers, the same way as the rclcpp Executor does for C++. Due to the complex semantics of the rclcpp Executor, it is difficult to reason about end-to-end latencies and to give real-time guarantees. To improve determinism, the rclc Executor provides also some additional features.
218+
219+
In this tutorial we provide two examples:
220+
- Example 1: Hello-World example consisting of one executor and one publisher, timer and subscription.
221+
- Example 2: Triggered Execution example, demonstrating the capability of synchronizing the execution of callbacks based on the availability of new messages
222+
223+
224+
Further examples for using the rclc Executor in mobile robotics scenarios and real-time embedded applications can be found in the [rclc](https://github.com/micro-ROS/rclc/tree/master/rclc) repository.
218225

219226
### Example 1: 'Hello World'
220227
To start with, we provide a very simple example for an rclc Executor with one timer and one subscription, so to say, a 'Hello world' example. It consists of a publisher, sending a 'hello world' message to a subscriber, which then prints out the received message on the console.

0 commit comments

Comments
 (0)