New answers tagged

0 votes
Accepted

How do you pass params into another Xacro file via xacro:include? How does the other Xacro file receive that input?

Use the ns tag in the xacro:include. Resources ROS Wiki: http://wiki.ros.org/xacro#Including_other_xacro_files Xacro Repo: ...
Yato's user avatar
  • 11
0 votes

ROS2: using xacro in launch file - passing parameters

You can add your own launch Substitution class - eg) https://github.com/Greenroom-Robotics/launch_ext/blob/main/launch_ext/substitutions/xacro.py#L17 This then allows you do do: ...
MrBlenny's user avatar
  • 101

Top 50 recent answers are included