The purpose of this library is to have a wrapper around the KDL::Trajectories in order to simplify the usage and the interface.
The repo contains also the ROS node trajectory_designed.
trajectory_designed is a ROS node which aim is to provide a simple tool to fast sketch Cartesian trajectories using interactive_markers in RVIZ:
The Cartesian trajectories available at the moment are:
- Minimum Jerk
- Semicircular in along the local planes XY, YZ and XZ
distal_link_goal(geometry_msgs::Pose): set a goal from outside
distal_link_segments(trajectory_utils/segmentTrj): store the data of each trajectory segment
distal_link_trj(trajectory_utils/CartesianTrj): store the complete trajectory
distal_link_trj_viz(nav_msgs/Path): used for visualization purposes
distal_link_getTrj(std_srvs/Empty): request publication of actual trajectory and segments
~base_link(string): frame in which the distal_frame is controlled
~distal_link(string): controlled frame
~dT(double): trajectory sample
\base_link -> \distal_link usually given by the robot_state_publisher node
MinJerk: creates a linear minimum jerk trajectory between the last pose and the actual pose of the marker of time TSemiCircular: creates a semicircular trajectory between the last pose and the actual pose of the marker of time T. Note that the actual pose of the marker has to lie on the local XY, YZ or ZX plane, if not the trajectory will not be created. TheReverseentry, if selected, change the path between the two possible semicirclesReset Marker Pose: sets the actual pose of the marker to the last oneReset Trajectory: permits to reset theLastadded trajectory orAllthe added trajectoriesGoal: permits to move to the set external goal using a minimum jerk trajectory of time T (with theMove to Goal in T [sec]entry), to remove the goal (with theRemove Goalentry) or to set the actual pose of the marker (with theSet Marker Poseentry)Restart Marker: will reset all the stored trajectories and the marker pose to the actual pose of thedistal_link(fromtf)

