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

Revision history [back]

AFAIK xacro currently does not support this, but this would be an extremely useful enhancement.

A quick and dirty solution is to use a wrapper around xacro, and change your parameter value using sed (example - this script changes which launch file is included here). This is pretty primitive, and you can add appropriate functionality to your shell script.

AFAIK xacro currently does not support this, but this would be an extremely useful enhancement.

A quick and dirty solution is to use a wrapper around xacro, and change your parameter value using sed (example - this script changes which launch file is included here). This is pretty primitive, and you can add appropriate functionality to your shell script.

EDIT: Support for this feature was added in ROS Hydro. See @kalectro's answer.

AFAIK xacro currently does not support this, but this would be an extremely useful enhancement.

A quick and dirty solution is to use a wrapper around xacro, and change your parameter value using sed (example - this script changes which launch file is included here). to change values. This is pretty primitive, and you can add appropriate functionality to your shell script.

EDIT: Support for this feature was added in ROS Hydro. See @kalectro's answer.

AFAIK xacro currently does not support this, but this would be an extremely useful enhancement.

A quick and dirty solution is to use a wrapper around xacro, and change your parameter value using sed to change values. sed. This is pretty primitive, and a somewhat primitive solution, though you can add appropriate should be able to get the correct functionality to your through a decently written shell script.

EDIT: Support for this feature was added in ROS Hydro. See @kalectro's answer.