Skip to content

Commit

Permalink
Don't assert when getting World frame info
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Jul 15, 2021
1 parent ef1012d commit 37d09ae
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dartsim/src/KinematicsFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ FrameData3d KinematicsFeatures::FrameDataRelativeToWorld(
{
FrameData3d data;

// The feature system should never send us the world ID.
if (_id.IsWorld())
{
ignerr << "Given a FrameID belonging to the world. This should not be "
<< "possible! Please report this bug!\n";
assert(false);
return data;
}

Expand Down

0 comments on commit 37d09ae

Please sign in to comment.