We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c63969c commit 36e0ba4Copy full SHA for 36e0ba4
src/MadgwickAHRS.h
@@ -41,6 +41,7 @@ class Madgwick{
41
public:
42
Madgwick(void);
43
void begin(float sampleFrequency) { invSampleFreq = 1.0f / sampleFrequency; }
44
+ void setBeta( float newBeta ) { beta = newBeta; }
45
void update(float gx, float gy, float gz, float ax, float ay, float az, float mx, float my, float mz);
46
void updateIMU(float gx, float gy, float gz, float ax, float ay, float az);
47
//float getPitch(){return atan2f(2.0f * q2 * q3 - 2.0f * q0 * q1, 2.0f * q0 * q0 + 2.0f * q3 * q3 - 1.0f);};
0 commit comments