ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Optional Parameters from .launch to .xarco

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

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.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 370 times

Last updated: Oct 20 '15