Skip to content
Snippets Groups Projects
Commit f7810bfa authored by Lab Computer's avatar Lab Computer
Browse files

hacky process to create a calibrated urdf file using the UR calibration yaml

parent dd652816
Branches
No related merge requests found
<?xml version="1.0"?>
<launch>
<arg name="kinematics_config" default="$(find twins_utils)/calibrations/ur10_small_extruder.yaml" doc="Kinematics config file used for calibration correction. This will be used to verify the robot's calibration is matching the robot_description."/>
<arg name="transmission_hw_interface" default="hardware_interface/PositionJointInterface" />
<param unless="false" name="robot_description" command="$(find xacro)/xacro --inorder '$(find ur_description)/urdf/ur10_robot.urdf.xacro'
transmission_hw_interface:=$(arg transmission_hw_interface)
kinematics_config:=$(arg kinematics_config)" />
</launch>
import rospy
with open('out.urdf','w') as f:
f.write(rospy.get_param('robot_description'))
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment