28 #ifndef CORELIB_INCLUDE_RTABMAP_CORE_IMUFILTER_H_ 29 #define CORELIB_INCLUDE_RTABMAP_CORE_IMUFILTER_H_ 32 #include <Eigen/Geometry> 51 double gx,
double gy,
double gz,
52 double ax,
double ay,
double az,
56 virtual void getOrientation(
double & qx,
double & qy,
double & qz,
double & qw)
const = 0;
57 virtual void reset(
double qx = 0.0,
double qy = 0.0,
double qz = 0.0,
double qw = 1.0) = 0;
68 double gx,
double gy,
double gz,
69 double ax,
double ay,
double az,
static IMUFilter * create(const ParametersMap ¶meters=ParametersMap())
std::map< std::string, std::string > ParametersMap
IMUFilter(const ParametersMap ¶meters=ParametersMap())
void update(double gx, double gy, double gz, double ax, double ay, double az, double stamp)
virtual void reset(double qx=0.0, double qy=0.0, double qz=0.0, double qw=1.0)=0
virtual IMUFilter::Type type() const =0
virtual void updateImpl(double gx, double gy, double gz, double ax, double ay, double az, double dt)=0
virtual void parseParameters(const ParametersMap ¶meters)
virtual void getOrientation(double &qx, double &qy, double &qz, double &qw) const =0