Skip to content

Commit

Permalink
Change comment style on move/execute example commands
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamPettinger committed Jun 9, 2021
1 parent 901ed80 commit 38c2509
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions doc/move_group_interface/src/move_group_interface_tutorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,11 @@ int main(int argc, char** argv)
visual_tools.trigger();
visual_tools.prompt("Press 'next' in the RvizVisualToolsGui window to continue the demo");

// Finally, to execute the trajectory stored in my_plan, you could use the following method call:
// Finally, to execute the trajectory stored in my_plan, you could use the following method call.
// Note that this can lead to problems if the robot moved in the meanwhile.
// move_group_interface.execute(my_plan);
// This tutorial does not actually move the robot, so this line is commented out

/* move_group_interface.execute(my_plan); */

// Moving to a pose goal
// ^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -163,8 +165,9 @@ int main(int argc, char** argv)
// the following is a more robust combination of the two-step plan+execute pattern shown above
// and should be preferred. Note that the pose goal we had set earlier is still active,
// so the robot will try to move to that goal.
// This tutorial does not actually move the robot, so this line is commented out

// move_group_interface.move();
/* move_group_interface.move(); */

// Planning to a joint-space goal
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -320,8 +323,9 @@ int main(int argc, char** argv)
// the trajectory manually, as described `here <https://groups.google.com/forum/#!topic/moveit-users/MOoFxy2exT4>`_.
// Pull requests are welcome.
//
// You can execute a trajectory like this.
move_group_interface.execute(trajectory);
// You can execute a trajectory like this. This tutorial does not actually move the robot, so this line is commented out

/* move_group_interface.execute(trajectory); */

// Adding objects to the environment
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 38c2509

Please sign in to comment.