Skip to content

Commit c0eba93

Browse files
authored
Fix Bullet tutorial bug (#560) (#568)
1 parent e47dc6f commit c0eba93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/bullet_collision_checker/src/bullet_collision_checker_tutorial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ int main(int argc, char** argv)
220220
auto box = std::make_shared<shapes::Box>(BOX_SIZE, BOX_SIZE, BOX_SIZE);
221221
planning_scene->getWorldNonConst()->addToObject("box", box, box_pose);
222222

223-
robot_state::RobotState state = planning_scene->getCurrentStateNonConst();
223+
robot_state::RobotState& state = planning_scene->getCurrentStateNonConst();
224224
state.setToDefaultValues();
225225

226226
double joint2 = -0.785;

0 commit comments

Comments
 (0)