JointTrajectoryPoint.merged
- JointTrajectoryPoint.merged(other)[source]
Get a new
JointTrajectoryPointwith thisJointTrajectoryPointmerged with anotherJointTrajectoryPoint. The otherJointTrajectoryPointtakes precedence over thisJointTrajectoryPointin case a joint value is present in both.Note
Caution:
joint_namesmay be rearranged.- Parameters
other (
JointTrajectoryPoint) – TheJointTrajectoryPointto be merged.- Returns
JointTrajectoryPoint– AJointTrajectoryPointwith values for all included joints.- Raises
ValueError – If the
JointTrajectoryPointor the otherJointTrajectoryPointdoes not specify joint names for all joint values.