ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
As the error states, you haven't declared move_group
or my_plan
. You do already have a MoveGroupInterface
but you called it group
(i.e., not move_group
). Just change the names to match.
As for the missing my_plan
, you can put a line before the move_group.plan(my_plan)
call like the following:
moveit::planning_interface::MoveGroupInterface::Plan my_plan;
You already probably found it but you can reference the tutorial here. The full tutorial code for the MoveGroupInterface can be found here.
Good luck!