Add Madgwick type aliases.

This commit is contained in:
2019-08-06 23:30:33 -07:00
parent ce21bbd38a
commit 85833c354d
3 changed files with 19 additions and 4 deletions

8
include/wrmath/filter.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef __WRMATH_FILTER_H
#define __WRMATH_FILTER_H
#include <wrmath/filter/madgwick.h>
#endif __WRMATH_FILTER_H

View File

@@ -98,6 +98,13 @@ private:
};
/// Madgwickd is a shorthand alias for a Madgwick<double>.
typedef Madgwick<double> Madgwickd;
/// Madgwickf is a shorthand alias for a Madgwick<float>.
typedef Madgwick<float> Madgwickf;
} // namespace filter
} // namespace wr