Add Madgwick type aliases.
This commit is contained in:
8
include/wrmath/filter.h
Normal file
8
include/wrmath/filter.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef __WRMATH_FILTER_H
|
||||
#define __WRMATH_FILTER_H
|
||||
|
||||
|
||||
#include <wrmath/filter/madgwick.h>
|
||||
|
||||
|
||||
#endif __WRMATH_FILTER_H
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user