Go to the documentation of this file.
13 #include <CTraitsTest.h>
14 #include <gtest/gtest.h>
16 template class mrpt::CTraitsTest<mrpt::poses::CPose3DInterpolator>;
34 1. + 3., 2. + 4., 3. + 5.,
DEG2RAD(30.0 + 20.0),
42 const TPose3D interp_good(
46 .0, (
CPose3D(interp_good).getHomogeneousMatrixVal<CMatrixDouble44>() -
CONTAINER::Scalar sum(const CONTAINER &v)
Computes the sum of all the elements.
mrpt::system::TTimeStamp secondsToTimestamp(const double nSeconds)
Transform a time interval (in seconds) into TTimeStamp (e.g.
mrpt::system::TTimeStamp now()
A shortcut for system::getCurrentTime.
pose_t & interpolate(mrpt::system::TTimeStamp t, pose_t &out_interp, bool &out_valid_interp) const
Returns the pose at a given time, or interpolates using splines if there is not an exact match.
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
This class stores a time-stamped trajectory in SE(3) (CPose3D poses).
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1,...
void insert(mrpt::system::TTimeStamp t, const pose_t &p)
Inserts a new pose in the sequence.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).
CMatrixFixedNumeric< double, 4, 4 > CMatrixDouble44
TEST(CPose3DInterpolator, interp)
double DEG2RAD(const double x)
Degrees to radians.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |