From f62c5a85e26c9e9c7e0cc02c11a30fab5ab6a0cf Mon Sep 17 00:00:00 2001 From: AdamPettinger Date: Fri, 28 May 2021 10:14:14 -0600 Subject: [PATCH] Change comment style on move/execute example commands --- .../src/move_group_interface_tutorial.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/move_group_interface/src/move_group_interface_tutorial.cpp b/doc/move_group_interface/src/move_group_interface_tutorial.cpp index 6d81543b4..d0f2f400d 100644 --- a/doc/move_group_interface/src/move_group_interface_tutorial.cpp +++ b/doc/move_group_interface/src/move_group_interface_tutorial.cpp @@ -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 // ^^^^^^^^^^^^^^^^^^^^^ @@ -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 // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -320,8 +323,9 @@ int main(int argc, char** argv) // the trajectory manually, as described `here `_. // 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 // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^