Show EOL distros: 

pr2_common_actions: joint_trajectory_action_tools | joint_trajectory_generator | pr2_arm_move_ik | pr2_common_action_msgs | pr2_tilt_laser_interface | pr2_tuck_arms_action

Package Summary

joint_trajectory_generator action takes in a trajectory specified by a number of joint positions, and it generates a new smooth trajectory through these joint positions.

pr2_common_actions: joint_trajectory_action_tools | joint_trajectory_generator | pr2_arm_move_ik | pr2_common_action_msgs | pr2_tilt_laser_interface | pr2_tuck_arms_action

Package Summary

joint_trajectory_generator action takes in a trajectory specified by a number of joint positions, and it generates a new smooth trajectory through these joint positions.

pr2_common_actions: joint_trajectory_action_tools | joint_trajectory_generator | pr2_arm_move_ik | pr2_common_action_msgs | pr2_tilt_laser_interface | pr2_tuck_arms_action

Package Summary

joint_trajectory_generator action takes in a trajectory specified by a number of joint positions, and it generates a new smooth trajectory through these joint positions.

pr2_common_actions: joint_trajectory_action_tools | joint_trajectory_generator | pr2_arm_move_ik | pr2_common_action_msgs | pr2_tilt_laser_interface | pr2_tuck_arms_action

Package Summary

joint_trajectory_generator action takes in a trajectory specified by a number of joint positions, and it generates a new smooth trajectory through these joint positions.

trapezoid.png

  • Image source: Herman Bruyninckx, Motion Interpolation

joint_trajectory_generator

joint_trajectory_generator action takes in a trajectory specified by a number of joint positions, and it generates a new smooth trajectory through these joint positions. The smooth trajectory is created by limiting the joint velocity and acceleration to specified maximal values. The generated trajectory can have a longer duration than the input trajectory if the input trajectory could only be executed with joint velocities and accelerations that exceed the specified maximal values. The generated trajectory will however never have a shorter duration than the input trajectory.

The action sends its output to the joint_trajectory_action, to execute the smooth trajectory it generated.

Action Goal

joint_trajectory_generator/goal (pr2_controllers_msgs/JointTrajectoryGoal)
  • The goal contains the 'rough' trajectory that is only specified by a sequence of desired joint positions.

Action Result

joint_trajectory_generator/result (pr2_controllers_msgs/JointTrajectoryResult)
  • The result indicates if the trajectory was executed successfully.

Actions Called

joint_trajectory_action (joint_trajectory_action)
  • This action moves the arm to a joint configuration.

Parameters

~max_acc (float64)
  • The maximum allowed acceleration of a joint. The generated trajectory will never make a joint accelerate faster than this value.
~/max_vel (float64)
  • The maximum allowed velocity of a joint. The generated trajectory will never make a joint move faster than this value.
robot_description (string)
  • The urdf robot description. This is used to know if a joint is continuous or rotational.

Wiki: joint_trajectory_generator (last edited 2010-06-21 18:55:19 by BhaskaraMarthi)