New answers tagged xacro
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: ...
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:
...
Top 50 recent answers are included
Related Tags
xacro × 188urdf × 94
ros × 51
gazebo × 39
ros-melodic × 23
ros-kinetic × 22
rviz × 16
roslaunch × 15
ros2 × 14
sdf × 13
yaml × 7
robot × 7
robot-description × 6
moveit × 5
ros-indigo × 5
include × 5
ros-fuerte × 4
parameter × 4
universal-robot × 4
kinect × 3
plugin × 3
robot-state-publisher × 3
parameters × 3
ur5 × 3
joint × 2