What can I help you with?
NVIDIA Holoscan SDK v3.4.0

Template Function holoscan::slerp_interpolate(K, const Pose3&, const Pose3&)

template<typename K>
Pose3<K> holoscan::slerp_interpolate(K p, const Pose3<K> &a, const Pose3<K> &b)

Spherical linear interpolation between two 3D poses.

This uses the formula a^(1-p) * b^p where a and b are matrix transformations. This can be simplified into a * (a^-1 * b)^p

Template Parameters

K – Scalar type.

Parameters
  • p – Interpolation parameter (0.0 returns a, 1.0 returns b).

  • a – First pose.

  • b – Second pose.

Returns

Interpolated pose using matrix exponentiation.

Previous Template Function holoscan::slerp_interpolate(K, const Pose2<K>&, const Pose2<K>&)
Next Function holoscan::static_handle_signal
© Copyright 2022-2025, NVIDIA. Last updated on Jul 1, 2025.