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 22
22
<xacro : arg name =" ur_input_recipe_filename" default =" $(find ur_robot_driver)/resources/rtde_input_recipe.txt" />
23
23
<xacro : arg name =" use_fake_hardware" default =" false" />
24
24
<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
+
28
29
29
30
<link name =" world" />
30
31
45
46
<xacro : ur_ros2_control
46
47
name =" $(arg ur_type)"
47
48
tf_prefix =" $(arg ur_type)_"
48
- hash_kinematics =" $(arg hash_kinematics) "
49
+ hash_kinematics =" ${kinematics_hash} "
49
50
robot_ip =" $(arg robot_ip)"
50
51
script_filename =" $(arg ur_script_filename)"
51
52
output_recipe_filename =" $(arg ur_output_recipe_filename)"
You can’t perform that action at this time.
0 commit comments