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

Optional Parameters from .launch to .xarco

asked 2015-10-19 17:36:46 -0500

GGabria gravatar image

Hi All

Can someone please tell how I would be able to send optional parameters from a .launch file to a .urdf.xarco file.

I have a gazebo model where I want to optionally send the material.

Eg. By default have material set to something specific in the xacro file, if "material" provided in .launch file - use it.

Note: My launch file has multiple instances of the same .urdf.xarco model.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-20 01:31:54 -0500

I'm not 100% sure of the current state of things, but according to an earlier Q/A arguments work, but setting default values for arguments does not (so if you use an argument you always have to set it).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-10-19 17:36:46 -0500

Seen: 435 times

Last updated: Oct 20 '15