Skip to content

Commit

Permalink
Complete README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos San Vicente <carlos.sanvicente@apex.ai>
  • Loading branch information
carlossvg committed Jul 6, 2021
1 parent da037df commit 9864211
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 127 deletions.
17 changes: 14 additions & 3 deletions rclcpp/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# rclcpp examples
# Minimal rclcpp wait-set cookbook recipes

This directory contains many examples of how to do common tasks with rclcpp.
The intent is that this material will be easy to copy-and-paste into your own projects.
This package contains a few different strategies for creating nodes which use `rclcpp::waitset`
to wait and handle ROS entities, that is, subscribers, timers, clients, services, guard
conditions and waitables.

* `wait_set_topics_and_timer.cpp`: Simple example using multiple subscriptions,
publishers, and a timer.
* `wait_set_random_order.cpp`: An example showing user-defined
data handling and a random publisher. `executor_random_order.cpp` run the same node logic
using `SingleThreadedExecutor` to compare the data handling order.
* `wait_set_and_executor_composition.cpp`: An example showing how to combine a
`SingleThreadedExecutor` and a wait-set.
* `wait_set_topics_with_different_rate.cpp`: An example showing how to use a custom trigger
condition to handle topics with different topic rates.
124 changes: 0 additions & 124 deletions rclcpp/wait_set/wait_set.cpp

This file was deleted.

0 comments on commit 9864211

Please sign in to comment.