In the open class 175 we pick up the robot current state as following :
// Get Current State
moveit::core::RobotStatePtr current_state_arm = move_group_arm.getCurrentState(10);
then we set the joint positions in radians, this is all clear.
but then we go to a ‘pregrasp position’ by setting up a Pose. we enter new values here.
The question is, how can i get a Pose from the getCurrentState command? I want to be able to get the current position from the robot as a Pose so i can work from there.