ros2run help parameters

asked 2018-09-03 11:33:13 -0600

Sriram gravatar image

Hi,

I was checking the ros2 run examples to launch a node. like mentioned here https://github.com/ros2/ros2/wiki/Nod...

How does the node, which is being launched with the above command use the parameters? i.e accessing the loaded parameters for the first time without registering the on_event_callback.

for ex: launching talker like below

ros2 run demo_nodes_cpp talker __params:=/home/foo/test2.yaml

And, test2.yaml having the topic name parameter to create a publisher. (This is just an example not the use case).

Sriram

edit retag flag offensive close merge delete