diff --git a/ur_description/urdf/ur.urdf.xacro b/ur_description/urdf/ur.urdf.xacro index 18868e77c..ed1bed967 100644 --- a/ur_description/urdf/ur.urdf.xacro +++ b/ur_description/urdf/ur.urdf.xacro @@ -23,7 +23,12 @@ - + + + + + + + initial_positions="${load_yaml(initial_positions_file)}" + robot_ip="$(arg robot_ip)" + script_filename="$(arg script_filename)" + output_recipe_filename="$(arg output_recipe_filename)" + input_recipe_filename="$(arg input_recipe_filename)" + /> diff --git a/ur_description/urdf/ur_macro.xacro b/ur_description/urdf/ur_macro.xacro index dff4cd5b8..48c4f2686 100644 --- a/ur_description/urdf/ur_macro.xacro +++ b/ur_description/urdf/ur_macro.xacro @@ -1,59 +1,9 @@ - - - - - - - - - - - - - - - - + robot_ip:=0.0.0.0 + script_filename:=to_be_filled_by_ur_robot_driver + output_recipe_filename:=to_be_filled_by_ur_robot_driver + input_recipe_filename:=to_be_filled_by_ur_robot_driver + initial_positions:=${dict(shoulder_pan_joint=0.0,shoulder_lift_joint=-1.57,elbow_joint=0.0,wrist_1_joint=-1.57,wrist_2_joint=0.0,wrist_3_joint=0.0)} + "> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + robot_ip="${robot_ip}" /> +