Skip to content

Commit 8a60e1e

Browse files
Suppress child link warning in DetachableJoint (#3231) (#3235)
(cherry picked from commit ff0a34d) Signed-off-by: Carlos Agüero <caguero@osrfoundation.org> Co-authored-by: Carlos Agüero <caguero@openrobotics.org>
1 parent b44e793 commit 8a60e1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/systems/detachable_joint/DetachableJoint.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ void DetachableJoint::PreUpdate(
334334
igndbg << "Attaching entity: " << this->detachableJointEntity
335335
<< std::endl;
336336
}
337-
else
337+
else if (!this->suppressChildWarning)
338338
{
339339
ignwarn << "Child Link " << this->childLinkName
340340
<< " could not be found.\n";

0 commit comments

Comments
 (0)