diff --git a/spot_description/launch/description.launch.py b/spot_description/launch/description.launch.py index bd1ea47b5..0398d0a75 100644 --- a/spot_description/launch/description.launch.py +++ b/spot_description/launch/description.launch.py @@ -39,6 +39,12 @@ def generate_launch_description() -> launch.LaunchDescription: choices=["True", "true", "False", "false"], description="Flag to enable putting frames at the feet", ), + DeclareLaunchArgument( + name="gripperless", + default_value="False", + choices=["True", "true", "False", "false"], + description="Flag to remove the gripper from the arm model", + ), DeclareLaunchArgument( "tf_prefix", default_value='""', description="Apply namespace prefix to robot links and joints" ), @@ -56,6 +62,8 @@ def generate_launch_description() -> launch.LaunchDescription: LaunchConfiguration("arm"), " feet:=", LaunchConfiguration("feet"), + " gripperless:=", + LaunchConfiguration("gripperless"), " tf_prefix:=", LaunchConfiguration("tf_prefix"), ] diff --git a/spot_description/urdf/spot_arm_macro.urdf b/spot_description/urdf/spot_arm_macro.urdf index e8ae971a8..f7e7aa923 100644 --- a/spot_description/urdf/spot_arm_macro.urdf +++ b/spot_description/urdf/spot_arm_macro.urdf @@ -201,44 +201,51 @@ upper="1.83259571459404613236" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +