JointTrajectoryPoint.merge

JointTrajectoryPoint.merge(other)[source]

Merge the JointTrajectoryPoint with another JointTrajectoryPoint in place along joint names. The other JointTrajectoryPoint takes precedence over this JointTrajectoryPoint in case a joint value is present in both.

Note

Caution: joint_names may be rearranged.

Parameters

other (JointTrajectoryPoint) – The JointTrajectoryPoint to be merged.

Raises

ValueError – If the JointTrajectoryPoint or the other JointTrajectoryPoint does not specify joint names for all joint values.