Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Staschulat <[email protected]>
  • Loading branch information
JanStaschulat committed Feb 7, 2023
1 parent 81ee26b commit c5f85a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rclc_examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The rclc_examples package provides examples for using the RCLC-Exector and conve
- [example_executor_trigger.c](src/example_executor_trigger.c) demonstrates the trigger condition of the RCLC-Executor.
- [example_service_node.c](src/example_service_node.c) implements a service node with the RCLC-Executor.
- [example_client_node.c](src/example_client_node.c) implements a client node with RCLC-Executor.
- [example_short_timer_long_subscription.c](src/example_client_node.c) demo with high frequency timer and subscription with long processing time with one executor.

The reduction of code lines for configuring the necessary RCL objects for RCLC-Executor directly with RCL objects compared to using the convenience functions is about 24%:
- example_executor.c: 92 LoC (lines 56-148)
Expand Down Expand Up @@ -206,3 +207,7 @@ INFO: rcl_wait timeout 10 ms

A request message is sent from the client node to the service node and answered.

## Example real-time concurrency slow timer and long subscription
This example demonstrates what happens, if a high frequency timer (every 100ms) and
a subscription with a long processing time is managed by one executor. This demo shows,
that the timer events are dropped during the long processing time of the subscription and are also not caught-up when there would be sufficient time.

0 comments on commit c5f85a6

Please sign in to comment.