8 #ifndef yocs_math_toolkit_SOPHUS_INTERPOLATERS_HPP_ 9 #define yocs_math_toolkit_SOPHUS_INTERPOLATERS_HPP_ 15 #include <ecl/exceptions/standard_exception.hpp> 16 #include <ecl/linear_algebra.hpp> 19 #include <sophus/se3.hpp> 20 #include <sophus/se2.hpp> 21 #include <sophus/so2.hpp> 22 #include <sophus/so3.hpp> 52 template <
typename Group>
58 Group T_b_rel_a = T_b*T_a.inverse();
59 tangent = Group::log(T_b_rel_a);
66 typename Group::Tangent
tangent;
78 class PlanarInterpolator {
97 class SlidingInterpolator {
99 SlidingInterpolator(
const Sophus::SE3f&
T_a,
const Sophus::SE3f& T_b);
104 Sophus::SE3f
T_a, T_b;
Standard exception type, provides code location and error string.
Interpolator(const Group &T_a, const Group &T_b)
Group operator()(const double &t)