From bf84be6420ff7736d902c8abd0b0ba56083378e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Caron?= Date: Wed, 31 Jul 2024 10:51:59 +0200 Subject: [PATCH] Add an empty visual box to all virtual links See https://github.com/upkie/upkie_description/pull/19#issuecomment-2259933854 Fixes https://github.com/upkie/upkie_description/issues/20 --- urdf/upkie.urdf | 64 +++++++++++++++++++------- urdf/upkie_camera.urdf | 64 +++++++++++++++++++------- xacro/left_leg.xacro | 12 ++--- xacro/right_leg.xacro | 12 ++--- xacro/torso.xacro | 8 +--- xacro/upkie.xacro | 2 +- xacro/upkie_camera.xacro | 2 +- xacro/utils/virtual_link.xacro | 19 ++++++++ xacro/utils/virtual_link_inertia.xacro | 13 ------ 9 files changed, 125 insertions(+), 71 deletions(-) create mode 100644 xacro/utils/virtual_link.xacro delete mode 100644 xacro/utils/virtual_link_inertia.xacro diff --git a/urdf/upkie.urdf b/urdf/upkie.urdf index 16a15d1..ff22ce1 100644 --- a/urdf/upkie.urdf +++ b/urdf/upkie.urdf @@ -40,9 +40,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -74,9 +78,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -437,9 +445,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -532,9 +544,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -548,9 +564,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -861,9 +881,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -956,9 +980,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -972,9 +1000,13 @@ Conventions in this file are detailed in: - + + + + + + - diff --git a/urdf/upkie_camera.urdf b/urdf/upkie_camera.urdf index d52eef7..97623bf 100644 --- a/urdf/upkie_camera.urdf +++ b/urdf/upkie_camera.urdf @@ -40,9 +40,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -74,9 +78,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -461,9 +469,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -556,9 +568,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -572,9 +588,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -885,9 +905,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -980,9 +1004,13 @@ Conventions in this file are detailed in: - + + + + + + - @@ -996,9 +1024,13 @@ Conventions in this file are detailed in: - + + + + + + - diff --git a/xacro/left_leg.xacro b/xacro/left_leg.xacro index 3e79dd6..f0eee40 100644 --- a/xacro/left_leg.xacro +++ b/xacro/left_leg.xacro @@ -331,9 +331,7 @@ - - - + @@ -429,9 +427,7 @@ - - - + @@ -441,9 +437,7 @@ - - - + diff --git a/xacro/right_leg.xacro b/xacro/right_leg.xacro index e2bc4fb..6ab1a61 100644 --- a/xacro/right_leg.xacro +++ b/xacro/right_leg.xacro @@ -331,9 +331,7 @@ - - - + @@ -429,9 +427,7 @@ - - - + @@ -441,9 +437,7 @@ - - - + diff --git a/xacro/torso.xacro b/xacro/torso.xacro index 628ffb3..0e226f6 100644 --- a/xacro/torso.xacro +++ b/xacro/torso.xacro @@ -2,9 +2,7 @@ - - - + @@ -35,9 +33,7 @@ - - - + diff --git a/xacro/upkie.xacro b/xacro/upkie.xacro index da7189c..f984b07 100644 --- a/xacro/upkie.xacro +++ b/xacro/upkie.xacro @@ -15,7 +15,7 @@ Conventions in this file are detailed in: - + diff --git a/xacro/upkie_camera.xacro b/xacro/upkie_camera.xacro index 581e6fe..060ce08 100644 --- a/xacro/upkie_camera.xacro +++ b/xacro/upkie_camera.xacro @@ -15,7 +15,7 @@ Conventions in this file are detailed in: - + diff --git a/xacro/utils/virtual_link.xacro b/xacro/utils/virtual_link.xacro new file mode 100644 index 0000000..e6cf1d5 --- /dev/null +++ b/xacro/utils/virtual_link.xacro @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/xacro/utils/virtual_link_inertia.xacro b/xacro/utils/virtual_link_inertia.xacro deleted file mode 100644 index 796c830..0000000 --- a/xacro/utils/virtual_link_inertia.xacro +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - -