JointTrajectoryPoint.merge
-
JointTrajectoryPoint.
merge
(other)[source] Merge the
JointTrajectoryPoint
with anotherJointTrajectoryPoint
in place along joint names. The otherJointTrajectoryPoint
takes precedence over thisJointTrajectoryPoint
in case a joint value is present in both.Note
Caution:
joint_names
may be rearranged.- Parameters
other (
JointTrajectoryPoint
) – TheJointTrajectoryPoint
to be merged.- Raises
ValueError – If the
JointTrajectoryPoint
or the otherJointTrajectoryPoint
does not specify joint names for all joint values.