From 27198c5f89209223d50c04d259cae4131b7b6894 Mon Sep 17 00:00:00 2001 From: Mabel Zhang Date: Tue, 31 Oct 2023 17:54:33 -0400 Subject: [PATCH] exclude comment lines from doxygen snippet Signed-off-by: Mabel Zhang --- src/systems/apply_joint_force/ApplyJointForce.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/systems/apply_joint_force/ApplyJointForce.cc b/src/systems/apply_joint_force/ApplyJointForce.cc index 734eb22a61..19add069df 100644 --- a/src/systems/apply_joint_force/ApplyJointForce.cc +++ b/src/systems/apply_joint_force/ApplyJointForce.cc @@ -42,24 +42,24 @@ class gz::sim::systems::ApplyJointForcePrivate /// \brief Gazebo communication node. public: transport::Node node; - //! [jointEntityDeclaration] /// \brief Joint Entity + //! [jointEntityDeclaration] public: Entity jointEntity; //! [jointEntityDeclaration] /// \brief Joint name public: std::string jointName; - //! [forceDeclaration] /// \brief Commanded joint force + //! [forceDeclaration] public: double jointForceCmd; //! [forceDeclaration] /// \brief mutex to protect jointForceCmd public: std::mutex jointForceCmdMutex; - //! [modelDeclaration] /// \brief Model interface + //! [modelDeclaration] public: Model model{kNullEntity}; //! [modelDeclaration] }; @@ -138,8 +138,8 @@ void ApplyJointForce::PreUpdate(const UpdateInfo &_info, << "s]. System may not work properly." << std::endl; } - //! [findJoint] // If the joint hasn't been identified yet, look for it + //! [findJoint] if (this->dataPtr->jointEntity == kNullEntity) { this->dataPtr->jointEntity = @@ -154,8 +154,8 @@ void ApplyJointForce::PreUpdate(const UpdateInfo &_info, if (_info.paused) return; - //! [jointForceComponent] // Update joint force + //! [jointForceComponent] auto force = _ecm.Component( this->dataPtr->jointEntity); //! [jointForceComponent]