File tree Expand file tree Collapse file tree 4 files changed +270
-67
lines changed Expand file tree Collapse file tree 4 files changed +270
-67
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,24 @@ bool imuIsEnabled();
16
16
void imuInit (uint8_t addr, TwoWire *theWire);
17
17
void imuCalibrate (unsigned long calibrationTime);
18
18
19
- bool imuPeriodic ();
19
+ void imuPeriodic ();
20
+ bool imuDataReady ();
20
21
21
- float gyroGetAngleX ();
22
- float gyroGetRateX ();
22
+ float imuGetAccelX ();
23
+ float imuGetAccelY ();
24
+ float imuGetAccelZ ();
23
25
24
- float gyroGetAngleY ();
25
- float gyroGetRateY ();
26
+ float imuGetGyroRateX ();
27
+ float imuGetGyroRateY ();
28
+ float imuGetGyroRateZ ();
26
29
27
- float gyroGetAngleZ ();
28
- float gyroGetRateZ ();
30
+ float imuGetRoll ();
31
+ float imuGetPitch ();
32
+ float imuGetYaw ();
33
+
34
+ void imuResetRoll ();
35
+ void imuResetPitch ();
36
+ void imuResetYaw ();
29
37
30
38
void gyroReset ();
31
39
Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ lib_deps =
12
12
Wire
13
13
adafruit/Adafruit LSM6DS@^4.7.0
14
14
adafruit/Adafruit BusIO@^1.14.1
15
- adafruit/Adafruit Unified Sensor@^1.1.9
15
+ adafruit/Adafruit Unified Sensor@^1.1.9
16
+ arduino-libraries/Madgwick@^1.2.0
You can’t perform that action at this time.
0 commit comments