Closed Karsten1987 closed 5 years ago
Just for my understanding:
Is that correct?
It still demonstrates manual composition by including the according header files as before and add the nodes to the executor. What's new in this PR is that now the command line tools for runtime composition can be used:
ros2 run rclcpp_components component_container
ros2 component load /component_container confbot_driver confbot_driver::nodes::ConfbotDriver
The complete tutorial for runtime composition can be found here: https://index.ros.org/doc/ros2/Tutorials/Composition/
But the lifecycle nodes are a valid point, I haven't ported them to a component yet.
Cool! thanks for the additional context :+1:
This PR is a bit longer mainly because the code for
confbot_driver
andtwist_publisher
got refactored in.cpp
files and shared libraries.depends on: https://github.com/ros2/geometry2/pull/104 and https://github.com/ros2/rclcpp/pull/700 in order to properly enable composition.
Signed-off-by: Karsten Knese karsten@openrobotics.org