Closed stonier closed 3 years ago
# Development support for components (libraries, headers, cmake modules)
$ sudo apt install ros-dashing-rclcpp-components
# The command line tool
$ sudo apt install ros-dashing-ros2component
# Example talker/listener components
$ sudo apt install ros-dashing-composition
# Discovery
$ ros2 component types
composition
composition::Talker
composition::Listener
composition::Server
composition::Client
Q: What registers the node for discovery as a component?
There's the rclcpp_components_register_nodes
cmake macro, but that doesn't seem to do the command line registration.
composition
leaves markers in share/ament_index/resource_index/rclcpp_components/composition
.ueye_cam
leaves no markerscomposition
does leave markers (eliminates build / workspace problems)Flummoxing...
Aha...bug in rclcpp_components
. The macro quietly fails when used in a nested CMakeLists.txt - https://github.com/ros2/rclcpp/issues/1698.
Replace the nodelet functionality.