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

Arguments in launch files

asked 2021-06-30 03:20:44 -0500

leodomitrovic gravatar image

Hi,

when I open launch file on the link below there are a lot of arguments. Are they all required to be set? For example, if I don't use Fisheye can I delete all arguments for it: width, height, fps, frame_ids, etc. I tried deleting it and it works but I don't know if I'm allowed to do that.

https://github.com/IntelRealSense/rea...

Thanks in advance!

Best regards,

Leo

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-06-30 05:02:40 -0500

Ranjit Kathiriya gravatar image

Hello Leo,

when I open launch file on the link below there are a lot of arguments. Are they all required to be set?

NO, Leo In a real sense, if you are having a use case that required more things or you want some different output rather the normal one at that time only you need to set arguments.

For example, if I don't use Fisheye can I delete all arguments for it: width, height, fps, frame_ids, etc. I tried deleting it and it works but I don't know if I'm allowed to do that.

I think you should not don't delete any code or program from a real-sense driver and if you are not using you can disable it by arguments, but never delete code from the intel realsense package it can affect your camera performance.

https://github.com/IntelRealSense/rea...

  <arg name="enable_fisheye"      default="false"/>
  <arg name="enable_fisheye1"     default="false"/>
  <arg name="enable_fisheye2"     default="false"/>

By default, it is already in a false state. That means anyways it is not going to execute.

edit flag offensive delete link more
0

answered 2021-06-30 03:46:18 -0500

pvl gravatar image

There are many arguments in this launch file, luckily there are defaults set for them. This probably means that simply not setting them will work. I don't know the ins and outs of the application or launch file, so you I can't tell you it with certainty. For more details on the <arg> tag see the launch docson ros.org.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-06-30 03:20:44 -0500

Seen: 151 times

Last updated: Jun 30 '21