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.- Parameters:
- other
JointTrajectoryPoint The
JointTrajectoryPointto be merged.
- other
- Returns:
JointTrajectoryPointA
JointTrajectoryPointwith values for all included joints.
- Raises:
ValueErrorIf the
JointTrajectoryPointor the otherJointTrajectoryPointdoes not specify joint names for all joint values.
Notes
Caution:
joint_namesmay be rearranged.