From 4e0584441bba244c33fb1ed19ecb70f7e256424d Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Mon, 6 May 2024 23:01:31 +0000 Subject: [PATCH] clean up Signed-off-by: Ian Chen --- include/gz/physics/Joint.hh | 7 ++++--- include/gz/physics/detail/Joint.hh | 10 ---------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/include/gz/physics/Joint.hh b/include/gz/physics/Joint.hh index 45d593e99..85e5005e3 100644 --- a/include/gz/physics/Joint.hh +++ b/include/gz/physics/Joint.hh @@ -657,7 +657,8 @@ namespace gz class GZ_PHYSICS_VISIBLE SetFixedJointWeldChildToParentFeature : public virtual Feature { - /// \brief The Joint API for setting the transform from the joint's parent + /// \brief The Joint API for setting whether to weld a fixed joint's child + /// link to the parent link. public: template class Joint : public virtual Feature::Joint { @@ -673,8 +674,8 @@ namespace gz public: void SetWeldChildToParent(bool _weldChildToParent); }; - /// \private The implementation API for setting the joint childtransform from the - /// parent + /// \private The implementation API for setting whether to weld the fixed + /// joint's child link to the parent link. public: template class Implementation : public virtual Feature::Implementation { diff --git a/include/gz/physics/detail/Joint.hh b/include/gz/physics/detail/Joint.hh index f46325584..f762b0db1 100644 --- a/include/gz/physics/detail/Joint.hh +++ b/include/gz/physics/detail/Joint.hh @@ -272,16 +272,6 @@ namespace gz this->template Interface() ->SetFixedJointWeldChildToParent(this->identity, _weldChildToParent); } - -/* ///////////////////////////////////////////////// - template - auto GetFixedJointWeldChildToParentFeature::Joint:: - GetWeldChildToParent() const -> bool - { - return this->template Interface() - ->GetFixedJointWeldChildToParent(this->identity); - } -*/ } }