Skip to content

XACRO to URDF #548

Discussion options

You must be logged in to vote

The ur description is built in a way that uses one common URDF structure for all robot arms and loads all robot-specific parameters from config yaml files. Apart from the joint limits, you need at least the kinematic + physical + visual parameter files. You can take a look at the view_ur.launch.py file to see how these can be set.

In your case, try

ros2 run xacro xacro $(ros2 pkg prefix ur_description --share)/urdf/ur.urdf.xacro \
  name:=ur5 \
  joint_limit_params:=$(ros2 pkg prefix ur_description --share)/config/ur5/joint_limits.yaml \
  physical_params:=$(ros2 pkg prefix ur_description --share)/config/ur5/physical_parameters.yaml \
  kinematics_params:=$(ros2 pkg prefix ur_description …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fmauch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants