27 #include <shared_mutex>
31 #include <Eigen/Geometry>
33 #include <SimoxUtility/math/pose/interpolate.h>
51 template <
typename MessageType>
75 const auto posePreIt = poseNextIt - 1;
77 const auto& posePre = *posePreIt;
78 const auto& poseNext = *poseNextIt;
81 const float t =
static_cast<float>(
timestamp - posePre.timestamp) /
82 (poseNext.timestamp - posePre.timestamp);