Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed May 6, 2024
1 parent 894a348 commit 4e05844
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
7 changes: 4 additions & 3 deletions include/gz/physics/Joint.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <typename PolicyT, typename FeaturesT>
class Joint : public virtual Feature::Joint<PolicyT, FeaturesT>
{
Expand All @@ -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 <typename PolicyT>
class Implementation : public virtual Feature::Implementation<PolicyT>
{
Expand Down
10 changes: 0 additions & 10 deletions include/gz/physics/detail/Joint.hh
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,6 @@ namespace gz
this->template Interface<SetFixedJointWeldChildToParentFeature>()
->SetFixedJointWeldChildToParent(this->identity, _weldChildToParent);
}

/* /////////////////////////////////////////////////
template <typename PolicyT, typename FeaturesT>
auto GetFixedJointWeldChildToParentFeature::Joint<PolicyT, FeaturesT>::
GetWeldChildToParent() const -> bool
{
return this->template Interface<GetFixedJointWeldChildToParentFeature>()
->GetFixedJointWeldChildToParent(this->identity);
}
*/
}
}

Expand Down

0 comments on commit 4e05844

Please sign in to comment.