ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

parametera entering approach with rosrun and roslaunch

asked 2019-10-30 02:18:47 -0500

Yehor gravatar image

updated 2022-01-22 16:10:07 -0500

Evgeny gravatar image

Hello, my question is regarding what I noticed during my work with kinect2_bridge.

While I was launching the node via roslaunch, I was adding parameters this way: 'roslaunch kinect2_bridge kinect2_bridge.launch publish_tf:=true'

However this doesn't work with rosrun, which rosrun I used: 'rosrun kinect2_bridge kinect2_bridge _publish_tf:=true'

If I delete underscore before 'publish_tf:=true' the parameter will not be added.

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-30 03:51:36 -0500

Choco93 gravatar image

This is how parameters are handled when used with rosrun. Take a look here.

edit flag offensive delete link more

Comments

Thanks for link and answer

Yehor gravatar image Yehor  ( 2019-10-30 08:20:30 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-10-30 02:18:47 -0500

Seen: 174 times

Last updated: Oct 30 '19