Program Listing for File ImuTransformer.h
↰ Return to documentation for file (include/mola_imu_preintegration/ImuTransformer.h)
/* _
_ __ ___ ___ | | __ _
| '_ ` _ \ / _ \| |/ _` | Modular Optimization framework for
| | | | | | (_) | | (_| | Localization and mApping (MOLA)
|_| |_| |_|\___/|_|\__,_| https://github.com/MOLAorg/mola
Copyright (C) 2018-2025 Jose Luis Blanco, University of Almeria,
and individual contributors.
SPDX-License-Identifier: GPL-3.0
See LICENSE for full license information.
Closed-source licenses available upon request, for this odometry package
alone or in combination with the complete SLAM system.
*/
#pragma once
#include <mrpt/math/TPoint3D.h>
#include <mrpt/obs/obs_frwds.h>
namespace mola
{
class ImuTransformer
{
public:
ImuTransformer() = default;
mrpt::obs::CObservationIMU process(const mrpt::obs::CObservationIMU& raw_imu);
private:
double last_stamp_ = 0;
mrpt::math::TVector3D last_ang_vel_body_;
};
} // namespace mola