holoscan::interpolate
holoscan::interpolate
Interpolate between two 2D rotations
Overload 2
Overload 3
Overload 4
Interpolate between two 2D rotations.
Due to the nature of rotations this function is problematic if the two rotations are about 180 degrees apart. In that case small deviations in the input may have large deviations in the output.
Returns: Interpolated rotation.
Template parameters
K
Scalar type.
Parameters
p
Interpolation parameter (0.0 returns a, 1.0 returns b).
a
First rotation.
b
Second rotation.