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

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to set these params in launch file?

No, not directly.

You could however probably use the YAML support in xacro to generate a urdf with values taken from a YAML file and use that.

Is it possible to set these params in launch file?

No, not directly.

You could however probably use the YAML support in xacro to generate a urdf with values taken from a YAML file and use that.


Edit:

No, not directly.

I have to nuance this a bit: it is possible to pass arguments to xacro when it converts your xacro to a urdf. However, afaik you cannot give it entire blocks, so I'm not sure that would scale very well for the things that you want to parameterise. I feel I would still recommend looking into the YAML support.