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

Add to tutorials that roslaunch adds data-tail to args

asked 2016-07-28 13:53:17 -0500

user23fj239 gravatar image

updated 2016-07-28 13:53:53 -0500

I started my node via roslaunch and discovered a datatail in the last two arguments, I did not now about (used kinetic). This was misleading because I checked for the min args required and therefore not failed hiding the missing args with the ones below. Could someone add this to the tutorials.

argv[10] = 1
argv[11] = __name:=sensor_binder
argv[12] = __log:=/home/user/.ros/log/063c83b2-5491-11e6-8f9d-8ca9827a5146/sensor_binder-4.log
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-07-28 14:02:16 -0500

ahendrix gravatar image

This is an implementation detail that is normally handled by ros::init() and rospy.init_node(), so it would be clutter in the beginner tutorials.

There are a lot of other tutorials on the ROS wiki; which tutorial do you think this information should be included in?

These arguments are documented in the full ROS documentation on the remapping arguments page.

edit flag offensive delete link more

Comments

I guess roslaunch node would be ok with including your remapping link. Also one could emphasize the output on screen setting to let nodes talk to the terminal output.

user23fj239 gravatar image user23fj239  ( 2016-07-28 14:16:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-07-28 13:53:17 -0500

Seen: 73 times

Last updated: Jul 28 '16