Skip to content

Commit

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

* Removes redundant line

(cherry picked from commit f20265a)
  • Loading branch information
TSNoble authored and mergify[bot] committed Nov 16, 2024
1 parent e82f715 commit 50febf0
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 50febf0

Please sign in to comment.