I want to first plan a cartesian trajectory, then display this trajectory (without executing it) and then finally execute it.
go_to_start_config(robot)
plan, fraction = plan_cartesian_path(robot, data)
display_trajectory(robot, plan)
execute_planned_trajectory(robot, plan)
It is quite similar to the move_group_python_interface.py, execpt I want the code to finished displaying the trajectory before actually executing it. Do I have to use a while loop or is there another method?
add a comment