Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
cfg
include/demo_plugin_component
launch
src
CMakeLists.txt
README.md
package.xml
plugins_description.xml

README.md

demo_plugin_component

A demo package to illustrate the use of pluginlib and components in ROS 2.

Usage

Like a plain node,

$ ros2 run demo_plugin_component talker_node __params:=src/ros2_playground/demo_plugin_component/cfg/params.yaml

As a component in a component container,

ros2 run rclcpp_components component_container
ros2 component load /ComponentManager demo_plugin_component ros2_playground::TalkerNode -p writer_name:='ros2_playground::MessageWriterDerived'

Same as above, from a launch file,

ros2 launch demo_plugin_component talker.launch.py

Open a topic echo to monitor the node output,

ros2 topic echo /chatter
You can’t perform that action at this time.