From f5d257167590159078f8647b61fe929e52643a29 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Sat, 6 Jul 2024 23:01:21 -0700 Subject: [PATCH] Define //joint_state in joint_state.sdf Include joint_state.sdf from model_state.sdf and state.sdf for //world/joint states. Signed-off-by: Steve Peters --- sdf/1.12/CMakeLists.txt | 1 + sdf/1.12/joint_state.sdf | 16 ++++++++++++++++ sdf/1.12/model_state.sdf | 16 +--------------- sdf/1.12/state.sdf | 2 ++ 4 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 sdf/1.12/joint_state.sdf diff --git a/sdf/1.12/CMakeLists.txt b/sdf/1.12/CMakeLists.txt index 08b4bf240..82d9ebf71 100644 --- a/sdf/1.12/CMakeLists.txt +++ b/sdf/1.12/CMakeLists.txt @@ -26,6 +26,7 @@ set (sdfs imu.sdf inertial.sdf joint.sdf + joint_state.sdf lidar.sdf light.sdf light_state.sdf diff --git a/sdf/1.12/joint_state.sdf b/sdf/1.12/joint_state.sdf new file mode 100644 index 000000000..60273b27f --- /dev/null +++ b/sdf/1.12/joint_state.sdf @@ -0,0 +1,16 @@ + + + Joint angle + + + Name of the joint + + + + + Index of the axis. + + + Angle of an axis + + diff --git a/sdf/1.12/model_state.sdf b/sdf/1.12/model_state.sdf index 9a021040d..e9905621b 100644 --- a/sdf/1.12/model_state.sdf +++ b/sdf/1.12/model_state.sdf @@ -6,21 +6,7 @@ Name of the model - - Joint angle - - - Name of the joint - - - - - Index of the axis. - - - Angle of an axis - - + A nested model state element diff --git a/sdf/1.12/state.sdf b/sdf/1.12/state.sdf index 6a13e28bf..412c83301 100644 --- a/sdf/1.12/state.sdf +++ b/sdf/1.12/state.sdf @@ -38,4 +38,6 @@ + +