MRPT
2.0.4
|
#include <gtest/gtest.h>
#include <mrpt/poses/CRobot2DPoseEstimator.h>
#include <mrpt/system/datetime.h>
Go to the source code of this file.
Functions | |
TEST (CRobot2DPoseEstimator, defaultCtor) | |
TEST (CRobot2DPoseEstimator, extrapolateRobotPose) | |
TEST (CRobot2DPoseEstimator, integrateOdometryAndLocalization) | |
TEST | ( | CRobot2DPoseEstimator | , |
defaultCtor | |||
) |
Definition at line 14 of file CRobot2DPoseEstimator_unittest.cpp.
References mrpt::poses::CRobot2DPoseEstimator::getCurrentEstimate(), and ok.
TEST | ( | CRobot2DPoseEstimator | , |
extrapolateRobotPose | |||
) |
Definition at line 26 of file CRobot2DPoseEstimator_unittest.cpp.
References mrpt::DEG2RAD(), EXPECT_NEAR(), mrpt::poses::CRobot2DPoseEstimator::extrapolateRobotPose(), mrpt::math::TTwist2D::omega, mrpt::math::TPose2D::phi, mrpt::math::TTwist2D::vx, mrpt::math::TTwist2D::vy, mrpt::math::TPose2D::x, and mrpt::math::TPose2D::y.
TEST | ( | CRobot2DPoseEstimator | , |
integrateOdometryAndLocalization | |||
) |
Definition at line 48 of file CRobot2DPoseEstimator_unittest.cpp.
References mrpt::DEG2RAD(), EXPECT_NEAR(), EXPECT_TRUE(), mrpt::poses::CRobot2DPoseEstimator::getCurrentEstimate(), mrpt::poses::CRobot2DPoseEstimator::TOptions::max_localiz_age, mrpt::poses::CRobot2DPoseEstimator::TOptions::max_odometry_age, mrpt::Clock::now(), ok, mrpt::math::TTwist2D::omega, mrpt::poses::CRobot2DPoseEstimator::params, mrpt::math::TPose2D::phi, mrpt::poses::CRobot2DPoseEstimator::processUpdateNewOdometry(), mrpt::poses::CRobot2DPoseEstimator::processUpdateNewPoseLocalization(), mrpt::poses::CRobot2DPoseEstimator::reset(), mrpt::system::timestampAdd(), mrpt::math::TTwist2D::vx, mrpt::math::TTwist2D::vy, mrpt::math::TPose2D::x, and mrpt::math::TPose2D::y.
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |