File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
my_robot_cell/my_robot_cell_control/urdf Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2222 <xacro : arg name =" ur_input_recipe_filename" default =" $(find ur_robot_driver)/resources/rtde_input_recipe.txt" />
2323 <xacro : arg name =" use_fake_hardware" default =" false" />
2424 <xacro : arg name =" fake_sensor_commands" default =" false" />
25- <!-- find hash_kinematics in calibration yaml-->
26- <xacro : arg name =" hash_kinematics" default =" calib_4890363623803256388" />
27-
25+ <!-- find hash_kinematics in kinematics_params-->
26+ <xacro : property name =" kinematics_params_file" value =" $(arg kinematics_params)" />
27+ <xacro : property name =" kinematics_hash" value =" ${xacro.load_yaml(kinematics_params_file)['kinematics']['hash']}" />
28+
2829
2930 <link name =" world" />
3031
4546 <xacro : ur_ros2_control
4647 name =" $(arg ur_type)"
4748 tf_prefix =" $(arg ur_type)_"
48- hash_kinematics =" $(arg hash_kinematics) "
49+ hash_kinematics =" ${kinematics_hash} "
4950 robot_ip =" $(arg robot_ip)"
5051 script_filename =" $(arg ur_script_filename)"
5152 output_recipe_filename =" $(arg ur_output_recipe_filename)"
You can’t perform that action at this time.
0 commit comments