Skip to content

Commit e802cc4

Browse files
committed
Skip execution of Cartesian trajectory
... which fails anyway, because it starts from an invalid pose
1 parent ea7efd3 commit e802cc4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/move_group_interface/src/move_group_interface_tutorial.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ int main(int argc, char** argv)
309309
// Visualize the plan in RViz
310310
visual_tools.deleteAllMarkers();
311311
visual_tools.publishText(text_pose, "Cartesian Path", rvt::WHITE, rvt::XLARGE);
312+
visual_tools.publishTrajectoryLine(trajectory, joint_model_group);
312313
visual_tools.publishPath(waypoints, rvt::LIME_GREEN, rvt::SMALL);
313314
for (std::size_t i = 0; i < waypoints.size(); ++i)
314315
visual_tools.publishAxisLabeled(waypoints[i], "pt" + std::to_string(i), rvt::SMALL);
@@ -320,8 +321,8 @@ int main(int argc, char** argv)
320321
// the trajectory manually, as described `here <https://groups.google.com/forum/#!topic/moveit-users/MOoFxy2exT4>`_.
321322
// Pull requests are welcome.
322323
//
323-
// You can execute a trajectory like this.
324-
move_group_interface.execute(trajectory);
324+
// You can execute a trajectory like this:
325+
// move_group_interface.execute(trajectory);
325326

326327
// Adding objects to the environment
327328
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)