How to pass a JointTrajectory ?
Hello! I want to pass a joint Trajectory form my Motion Planning Response to FollowJointTrajectoryGoal. How can I make it. They both have the member trajectory_msgs/JointTrajectory, how can I pass the JointTrajectory.
I just found the DisplayTrajectory has a method to pass the parameter, but FollowJointTrajectoryGoal didn't.
moveit_msgs::DisplayTrajectory display_trajectory;
display_trajectory.trajectory.push_back(response.trajectory);