699 Commits

Author SHA1 Message Date
Levi Gillis
ee3ec61d4a Added Power saving options 2021-12-28 10:51:06 +01:00
Boronare
cd66415aa1 unify internalCalibration and startCalibration 2021-12-25 09:54:09 +09:00
Boronare
e93f1c701d recover mahony filter and set as option 2021-12-25 09:52:03 +09:00
Boronare
932ca57b4a Move magnetometer calculation issue files to lib 2021-12-24 23:49:32 +09:00
Boronare
c17a7416c8 change 9250 motionapps to 41 2021-12-24 13:04:57 +09:00
Boronare
d64a438185 unhandled conflicts 2021-12-24 02:46:52 +09:00
Yury
1bf7562a5e Re-enable O2 again 2021-12-23 14:06:27 +03:00
Eiren Rain
afa6531a3a Merge pull request #58 from Levi--G/test
Small changes for testing
2021-12-19 19:39:39 +03:00
Levi Gillis
12ee2589a8 Force disable leds on ESP01 => prevents I2C from working 2021-12-19 17:32:54 +01:00
Levi Gillis
216dcd7b59 Clear console of rubbish when resetting esp 2021-12-19 17:22:01 +01:00
Levi Gillis
df2e0e5d8d Fixed typo 2021-12-19 16:28:47 +01:00
Levi Gillis
0dc020e4b0 Re-enable MCP+internal battery measurement 2021-12-19 16:23:10 +01:00
Boronare
70546ce23e unhandled conflicts 2021-12-19 12:00:56 +09:00
Boronare
3b8b71fdd7 Merge branch 'dmpfusion' into combine-deiteris 2021-12-19 11:10:13 +09:00
Boronare
d6264e1692 Merge remote-tracking branch 'LETS-BEE/main' into dmpfusion 2021-12-19 11:06:59 +09:00
Boronare
8e9654a51c Merge remote-tracking branch 'deiteris/improved-mag' into combine-deiteris 2021-12-19 10:52:59 +09:00
Boronare
2c2922cfa2 Merge branch 'SlimeVR:main' into dmpfusion 2021-12-19 09:38:38 +09:00
Boronare
814208ff27 Merge branch 'SlimeVR:main' into main 2021-12-19 09:38:31 +09:00
Eiren Rain
4f1b550a45 Minor fixes 2021-12-19 02:05:22 +02:00
Eiren Rain
8cf91ac809 Small sensor factory cleanup, added license headers 2021-12-18 22:25:00 +02:00
Eiren Rain
67c4a0f335 Merge pull request #57 from Vyolex/sensor-fix
Fix crash when primary IMU isn't found
2021-12-18 23:19:39 +03:00
Vyolex
b886880f3f Fix crash when no primary imu is found 2021-12-18 21:04:10 +01:00
Eiren Rain
f1ee207997 Merge pull request #56 from deiteris/use-defines
Use preprocessor macro for "serialDebug"
2021-12-18 22:24:07 +03:00
Yury
18be29d2c9 Use preprocessor macro for "serialDebug" 2021-12-18 22:15:43 +03:00
Eiren Rain
bb26bddd80 Refactor battery monitoring, fix merge conflicts 2021-12-18 21:05:04 +02:00
Eiren Rain
bdf9498f6e Merge pull request #42 from Levi--G/main
ESP-01 support + VCC Monitor
2021-12-18 21:14:48 +03:00
Eiren Rain
650f5289bd Merge branch 'test' into main 2021-12-18 21:14:21 +03:00
Eiren Rain
17396f49b9 Merge pull request #50 from Vyolex/main
Refactor of sensors
2021-12-18 21:11:22 +03:00
Boronare
b35ccedb0e Merge branch 'SlimeVR:main' into dmpfusion 2021-12-18 13:28:07 +09:00
Boronare
87c45144ab remove unused 2021-12-18 12:54:23 +09:00
Boronare
fdc66524e5 mpu9250 : fix second sensor-calibration collision 2021-12-18 12:38:05 +09:00
Boronare
90b918fed5 remove unused variables 2021-12-18 11:46:11 +09:00
Boronare
376d3c42d2 support Second MPU 2021-12-18 11:43:32 +09:00
Boronare
d6b1236f6a MPU9250 : dmp quaternion + DCM based correction 2021-12-18 09:56:29 +09:00
Boronare
a6aeaf64da make MPU9250 Available 2021-12-18 09:48:59 +09:00
Eiren Rain
bada0b712d Merge pull request #54 from deiteris/o2-gcc
Revert -O2 optimization
2021-12-17 23:13:52 +03:00
Yury
4b4407dc00 Revert "Enable -O2 optimization option"
This reverts commit 94b2a5791b.
2021-12-17 23:09:30 +03:00
Levi Gillis
c792bed763 Fix for MCP ADC not displaying correct voltage 2021-12-17 16:21:36 +01:00
Yury
8a63f14122 Use constexpr instead of macro to allow compile-time "gscale" calculation 2021-12-17 12:09:06 +03:00
Yury
ffb1d37830 Add forgotten adjustments array 2021-12-17 11:37:38 +03:00
Yury
a79a909c40 Use define condition instead of if for calibration matrix 2021-12-17 11:36:53 +03:00
Yury
90ed57f620 Improve magnetometer operation
* Enable mag in 16-bit 100hz continuous reading mode and apply 16-bit scaling factor
* Set up magnetometer as MPU9250 I2C slave to avoid conflicts with second MPU
* Read factory sensitivity adjustments and apply to scaling
2021-12-17 11:36:17 +03:00
Yury
43726acd9e Rate limit polling frequency to "samplingRateInMillis" (10ms = 100hz) 2021-12-17 11:29:42 +03:00
Yury
e6938ecac2 Use inverse square root to speed up calculations 2021-12-17 11:28:54 +03:00
Yury
acd7b1aadb Move mahony out of sensor for unification 2021-12-17 11:27:51 +03:00
Boronare
e0b9278853 Merge branch 'SlimeVR:main' into main 2021-12-17 12:48:06 +09:00
Vyolex
dd4555f5d8 Merge branch 'SlimeVR:main' into main 2021-12-16 22:12:38 +01:00
Eiren Rain
1da9694546 Merge pull request #52 from deiteris/o2-gcc
Enable -O2 optimization option
2021-12-16 20:25:47 +03:00
Eiren Rain
ea775b59e0 Merge pull request #51 from deiteris/mpu-fifo
Improve DMP FIFO packet reader
2021-12-16 19:46:58 +03:00
Yury
9503ab9763 Improve DMP FIFO packet reader 2021-12-16 15:14:53 +03:00