Skip to content

Commit

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

* Fixes flaky RobotState test

* Removes redundant line

(cherry picked from commit f20265a)

# Conflicts:
#	moveit_core/robot_state/test/robot_state_test.cpp

* Update robot_state_test.cpp

---------

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 375e07e commit c6a38fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moveit_core/robot_state/test/robot_state_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ 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 c6a38fa

Please sign in to comment.