How can I execute a moveit_msgs::RobotTrajectory that I have on file?
I am trying to execute a RobotTrajectory on a MoveGroup that I have predefined. I have tried stuff like
group.execute(myRobotTrajectory)
and
trajectory_execution_manager::TrajectoryExecutionManager::push(myRobotTrajectory);
trajectory_execution_manager::TrajectoryExecutionManager::execute();
and
move_group::MoveGroupExecuteTrajectoryAction(myRobotTrajectory);
I think the last one is the closest, but it says that the action isn't recognized. Any tips?