Skip to content

Commit

Permalink
Fixes flaky RobotState test (#3105) (#3108)
Browse files Browse the repository at this point in the history
* Fixes flaky RobotState test

* Removes redundant line

(cherry picked from commit f20265a)

Co-authored-by: Tom Noble <[email protected]>
Co-authored-by: Sebastian Castro <[email protected]>
  • Loading branch information
3 people authored Nov 16, 2024
1 parent b094539 commit 90f8de0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moveit_core/robot_state/test/robot_state_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,8 @@ TEST_F(OneRobot, rigidlyConnectedParent)
EXPECT_EQ(robot_model_->getRigidlyConnectedParentLinkModel(link_b), link_a);

moveit::core::RobotState state(robot_model_);
state.setToDefaultValues();
state.updateLinkTransforms();

EXPECT_EQ(state.getRigidlyConnectedParentLinkModel("link_b"), link_a);

Expand Down

0 comments on commit 90f8de0

Please sign in to comment.