@@ -152,9 +152,11 @@ int main(int argc, char** argv)
152
152
visual_tools.trigger ();
153
153
visual_tools.prompt (" Press 'next' in the RvizVisualToolsGui window to continue the demo" );
154
154
155
- // Finally, to execute the trajectory stored in my_plan, you could use the following method call:
155
+ // Finally, to execute the trajectory stored in my_plan, you could use the following method call.
156
156
// Note that this can lead to problems if the robot moved in the meanwhile.
157
- // move_group_interface.execute(my_plan);
157
+ // This tutorial does not actually move the robot, so this line is commented out
158
+
159
+ /* move_group_interface.execute(my_plan); */
158
160
159
161
// Moving to a pose goal
160
162
// ^^^^^^^^^^^^^^^^^^^^^
@@ -163,8 +165,9 @@ int main(int argc, char** argv)
163
165
// the following is a more robust combination of the two-step plan+execute pattern shown above
164
166
// and should be preferred. Note that the pose goal we had set earlier is still active,
165
167
// so the robot will try to move to that goal.
168
+ // This tutorial does not actually move the robot, so this line is commented out
166
169
167
- // move_group_interface.move();
170
+ /* move_group_interface.move(); */
168
171
169
172
// Planning to a joint-space goal
170
173
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -320,8 +323,9 @@ int main(int argc, char** argv)
320
323
// the trajectory manually, as described `here <https://groups.google.com/forum/#!topic/moveit-users/MOoFxy2exT4>`_.
321
324
// Pull requests are welcome.
322
325
//
323
- // You can execute a trajectory like this.
324
- move_group_interface.execute (trajectory);
326
+ // You can execute a trajectory like this. This tutorial does not actually move the robot, so this line is commented out
327
+
328
+ /* move_group_interface.execute(trajectory); */
325
329
326
330
// Adding objects to the environment
327
331
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments