diff --git a/urdf/ur.ros2_control.xacro b/urdf/ur.ros2_control.xacro index 801694f..f8e1f91 100644 --- a/urdf/ur.ros2_control.xacro +++ b/urdf/ur.ros2_control.xacro @@ -3,7 +3,7 @@ ign_ros2_control/IgnitionSystem - + mock_components/GenericSystem - ${mock_sensor_commands} + ${fake_sensor_commands} 0.0 - + ur_robot_driver/URPositionHardwareInterface ${robot_ip} ${script_filename} @@ -75,15 +75,11 @@ 3.15 - + ${initial_positions['shoulder_pan_joint']} - - 0.0 - - - 0.0 - + + @@ -95,15 +91,11 @@ 3.15 - + ${initial_positions['shoulder_lift_joint']} - - 0.0 - - - 0.0 - + + @@ -115,15 +107,11 @@ 3.15 - + ${initial_positions['elbow_joint']} - - 0.0 - - - 0.0 - + + @@ -135,15 +123,11 @@ 3.2 - + ${initial_positions['wrist_1_joint']} - - 0.0 - - - 0.0 - + + @@ -155,15 +139,11 @@ 3.2 - + ${initial_positions['wrist_2_joint']} - - 0.0 - - - 0.0 - + + @@ -175,15 +155,11 @@ 3.2 - + ${initial_positions['wrist_3_joint']} - - 0.0 - - - 0.0 - + + @@ -196,7 +172,7 @@ - + 1 diff --git a/urdf/ur.urdf.xacro b/urdf/ur.urdf.xacro index e2878c5..4d03350 100644 --- a/urdf/ur.urdf.xacro +++ b/urdf/ur.urdf.xacro @@ -39,13 +39,13 @@ - - + + - + @@ -67,8 +67,8 @@ safety_limits="$(arg safety_limits)" safety_pos_margin="$(arg safety_pos_margin)" safety_k_position="$(arg safety_k_position)" - use_mock_hardware="$(arg use_mock_hardware)" - mock_sensor_commands="$(arg mock_sensor_commands)" + use_fake_hardware="$(arg use_fake_hardware)" + fake_sensor_commands="$(arg fake_sensor_commands)" sim_gazebo="$(arg sim_gazebo)" sim_ignition="$(arg sim_ignition)" headless_mode="$(arg headless_mode)" diff --git a/urdf/ur_macro.xacro b/urdf/ur_macro.xacro index 4cdd48a..902c892 100644 --- a/urdf/ur_macro.xacro +++ b/urdf/ur_macro.xacro @@ -66,8 +66,8 @@ safety_limits:=false safety_pos_margin:=0.15 safety_k_position:=20 - use_mock_hardware:=false - mock_sensor_commands:=false + use_fake_hardware:=false + fake_sensor_commands:=false sim_gazebo:=false sim_ignition:=false headless_mode:=false @@ -109,9 +109,9 @@