32 #ifdef RTABMAP_MADGWICK 40 int type = Parameters::defaultKpDetectorStrategy();
47 #ifndef RTABMAP_MADGWICK 50 UWARN(
"Madgwick filter cannot be used as RTAB-Map is not built with the option enabled. Complementary filter is used instead.");
58 #ifdef RTABMAP_MADGWICK 73 double gx,
double gy,
double gz,
74 double ax,
double ay,
double az,
85 previousStamp_ = stamp;
static bool parse(const ParametersMap ¶meters, const std::string &key, bool &value)
static IMUFilter * create(const ParametersMap ¶meters=ParametersMap())
std::map< std::string, std::string > ParametersMap
void update(double gx, double gy, double gz, double ax, double ay, double az, double stamp)
virtual IMUFilter::Type type() const =0
virtual void updateImpl(double gx, double gy, double gz, double ax, double ay, double az, double dt)=0
ULogger class and convenient macros.