JointTrajectoryPoint.max_difference
- JointTrajectoryPoint.max_difference(other)[source]
Returns the maximum difference to another Configuration’s joint values.
- Parameters:
- other
Configuration
The configuration to compare to.
- other
- Returns:
- float
The maximum absolute difference.
Examples
>>> c1 = Configuration.from_revolute_values([1, 0, 3]) >>> c2 = Configuration.from_revolute_values([1, 2 * pi, 4]) >>> c1.max_difference(c2) 1.0