struct mrpt::slam::CMetricMapBuilderICP::TDist

Overview

Traveled distances from last map update / ICP-based localization.

struct TDist
{
    // fields

    double lin {0};
    double ang {0};
    mrpt::math::TPose2D last_update;

    // construction

    TDist();

    // methods

    void updateDistances(const mrpt::poses::CPose2D& p);
    void updatePose(const mrpt::poses::CPose2D& p);
};