pytransform3d.rotations.axis_angle_slerp#
- pytransform3d.rotations.axis_angle_slerp(start, end, t)[source]#
Spherical linear interpolation.
- Parameters:
- startarray-like, shape (4,)
Start axis of rotation and rotation angle: (x, y, z, angle)
- endarray-like, shape (4,)
Goal axis of rotation and rotation angle: (x, y, z, angle)
- tfloat in [0, 1]
Position between start and end
- Returns:
- aarray, shape (4,)
Interpolated axis of rotation and rotation angle: (x, y, z, angle)
See also
matrix_slerpSLERP for rotation matrices.
quaternion_slerpSLERP for quaternions.
rotor_slerpSLERP for rotors.
pytransform3d.transformations.pq_slerpSLERP for position + quaternion.