struct mola::LidarOdometry::StatusSnapshot
Overview
What the getters and diagnostics report, refreshed at the end of each scan, so they never wait for state_mtx_, which is held for a whole scan (seconds during a global search or a map load).
struct StatusSnapshot { // fields std::optional<std::tuple<mrpt::poses::CPose3DPDFGaussian, mrpt::math::TTwist3D>> estimated_state; double icp_quality = .0; std::size_t icp_iterations = 0; bool icp_was_good = true; std::optional<mrpt::Clock::time_point> last_icp_timestamp; std::optional<mrpt::Clock::time_point> last_obs_timestamp; std::optional<mrpt::Clock::time_point> last_obs_reception_time; double scan_period_sec = .0; double average_process_time = .0; std::size_t local_map_layers = 0; std::size_t local_map_points = 0; Parameters::Diagnostics diagnostics_thresholds; };