Skip to content

Commit f20265a

Browse files
authored
Fixes flaky RobotState test (#3105)
* Fixes flaky RobotState test * Removes redundant line
1 parent ce78cc4 commit f20265a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

moveit_core/robot_state/test/robot_state_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,8 @@ TEST_F(OneRobot, rigidlyConnectedParent)
781781
EXPECT_EQ(robot_model_->getRigidlyConnectedParentLinkModel(link_b), link_a);
782782

783783
moveit::core::RobotState state(robot_model_);
784+
state.setToDefaultValues();
785+
state.updateLinkTransforms();
784786

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

0 commit comments

Comments
 (0)