add a basic usage example

This commit is contained in:
Kurt Wilson 2022-04-02 18:13:46 -04:00
parent d4f06c0bec
commit e8d3d0b883
5 changed files with 104 additions and 2 deletions

View file

@ -7,4 +7,7 @@ In `priority_executor`:
- `priority_memory_strategy.hpp` is a modified version of `rclcpp`s `allocator_memory_strategy.hpp` that selects callbacks based on either the earliest deadline, or a relative priority. Executor polls this for ready callbacks.
- `test_nodes.cpp` adds timer-based publishing nodes and dummy worker nodes that can be arranged in chains. It uses `dummy_workload.hpp` to generate a workload.
- `f1tenth_test.cpp` sets up a chain of nodes similar to [https://intra.ece.ucr.edu/~hyoseung/pdf/rtas21_picas.pdf](https://intra.ece.ucr.edu/~hyoseung/pdf/rtas21_picas.pdf)
- `test_publisher.cpp` creates two small chains on a single executor to demonstrate an overloaded executor.
- `usage_example.cpp` shows how to set deadlines for callbacks and timers