Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added README.md for composition #598

Merged
merged 10 commits into from
Feb 7, 2023
7 changes: 5 additions & 2 deletions composition/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## **What Is This?**
cardboardcode marked this conversation as resolved.
Show resolved Hide resolved

This demo ...
This demo provides examples on 3 different ways which users could use the **rclcpp_components** API to compose multiple nodes in a single process.
cardboardcode marked this conversation as resolved.
Show resolved Hide resolved

This ROS 2 package consists of the following nodes:
cardboardcode marked this conversation as resolved.
Show resolved Hide resolved

Expand Down Expand Up @@ -147,9 +147,12 @@ When executed correctly, strings should be printed to terminal similar to what i

## **FAQ**

WIP
`Q`: Why use Composition?

`A`: Composition provides utilties to manage life cycle for nodes. This provides greater control over the state of a given ROS-based system. The idea of a managed node is to provide a interactable interface which executes to a known life cycle state machine, allowing for higher system transparency and code-agnosticism.
cardboardcode marked this conversation as resolved.
Show resolved Hide resolved

## **References**

1. [Composing multiple nodes in a single process](https://docs.ros.org/en/rolling/Tutorials/Intermediate/Composition.html)
2. [About Composition](https://docs.ros.org/en/rolling/Concepts/About-Composition.html#about-composition)
3. [Node Life Cycle](https://design.ros2.org/articles/node_lifecycle.html)