What is the difference between "group.execute" and "group.move"?
I LOVE ROS
Hi, I have two options to move my robot with MoveIt:
Option 1
moveit::planning_interface::MoveGroupInterface::Plan plan;
kPyGlobals.move_group_end->setJointValueTarget( goals );
kPyGlobals.move_group_end->plan( plan );
kPyGlobals.move_group_end->execute( plan );
Option 2
kPyGlobals.move_group_end->setJointValueTarget( goals );
if ( syn == Synctype::SYNC )
kPyGlobals.move_group_end->move();
else if ( syn == Synctype::ASYNC )
kPyGlobals.move_group_end->asyncMove();
Normally I use option 1 because I want to use the created plan for later.
But what is the difference between these two options?
I am glad that you love ROS. What is your question?
what is the difference between these two options