rvt / headtracker

Head Tracker using MPU6050/MPU9250 and ESP8266
BSD 3-Clause "New" or "Revised" License
33 stars 10 forks source link

I made a few changes to adapt to my hardware. #10

Open Zhaosn opened 9 months ago

Zhaosn commented 9 months ago

https://github.com/ElectronicCats/mpu6050/pull/78

Zhaosn commented 9 months ago

This line of code may not be needed, the opentrack I'm using jerks at 180/-180 values (or maybe it's because I haven't updated it for a while (23.1.0)) https://github.com/rvt/headtracker/blob/0115dee4848aaaeef590fff4827606a8cdb2ccf2/src/main.cpp#L422

Zhaosn commented 9 months ago

something wrong, need debug, sorry for disturb

Zhaosn commented 9 months ago

I must say that when I put the modified MPU6050.cpp into the example provided by the library (both 1.3.0 and 0.5.0 work) it completes the calibration very quickly. But as soon as it is in this project it does not converge at all. And I have absolutely no clue why this is happening!? Theoretically the calibration for gravity doesn't change anything?????