Skip to content

Commit 47495cf

Browse files
committed
Minor update in EmptyContact::updateGlobalVertices
- Add Doxygen comments - Avoid "unused parameter" warnings with keeping Doxygen comments
1 parent 4c27024 commit 47495cf

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

include/ForceColl/Contact.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,11 @@ class EmptyContact : public Contact
157157
return "Empty";
158158
}
159159

160-
/** \brief Do nothing because EmptyContact does not have any vertices. */
161-
inline virtual void updateGlobalVertices(const sva::PTransformd & pose) override {}
160+
/** \brief Update graspMat_ and vertexWithRidgeList_ according to the input pose.
161+
162+
Do nothing because EmptyContact does not have any vertices.
163+
*/
164+
virtual void updateGlobalVertices(const sva::PTransformd & pose) override;
162165
};
163166

164167
/** \brief Surface contact. */

src/Contact.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ EmptyContact::EmptyContact(const mc_rtc::Configuration & mcRtcConfig)
168168
{
169169
}
170170

171+
void EmptyContact::updateGlobalVertices(const sva::PTransformd & // pose
172+
)
173+
{
174+
}
175+
171176
void SurfaceContact::loadVerticesMap(const mc_rtc::Configuration & mcRtcConfig)
172177
{
173178
for(const auto & verticesConfig : mcRtcConfig)

0 commit comments

Comments
 (0)