Hi all,
I am using moveit's move_group_interface in C++ to generate a trajectory between two NamedTargets for Youbot. Everything works fine including visualization in RViz. However, on repeated execution, the trajectories look slightly different for the same set of targets. So, my question is: Is there any way one can save a trajectory so that it can be reused later on? I have tried saving the "plan.trajectory_", but it doesn't seem to work. Details of current setup is given below.
Robot: Youbot
Planner: OMPL/RRTkConfigDefault
Interface: moveit/move_group_interface in C++
Logic/Sequence Used:
- Set Start State to Current State
- Set a Named Target
- Visualize the plan in Rviz
- Execute the plan
Thanks
Originally posted by ani on ROS Answers with karma: 11 on 2017-09-20
Post score: 1