SlimeVR / SlimeVR-Tracker-ESP

SlimeVR tracker firmware for ESP32/ESP8266 and different IMUs
Apache License 2.0
798 stars 274 forks source link

MPU-6050 No-DMP mode #291

Closed furrycoding closed 1 day ago

furrycoding commented 9 months ago

Adds a new type of sensor that uses MPU-6050, but without the DMP(sensor fusion in software)

Uses the same sensor fusion as BMI160

furrycoding commented 9 months ago

TODO: Verify that rest detection for TCAL actually works(MPUs accel/gyro tend to be quite noisy)

I need to find clean way to modify rest detection config however

furrycoding commented 9 months ago

Tested tracker with the last commit for a few hours - TCAL seems to work!

Now to figure out how to deal with conflicts lol

furrycoding commented 6 months ago

Rebased the branch to 0.4.0 Doing some testing right now, but eveything seems to be working well

furrycoding commented 6 months ago

Having some weird issues with TCAL I think on some MPUs the accel noise might increase with temperature Meaning past some temperature it could stop detecting rest Need to fine-tune the accel threshold

wb1016 commented 4 months ago

works on ESP8266 and ESP32C3. one thing i would suggest to change is display name of IMU. asdfasdfsfadsdafasdcasdf

furrycoding commented 3 months ago

one thing i would suggest to change is display name of IMU. asdfasdfsfadsdafasdcasdf

Would need to add a new IMU type in the server, SolarXR, and finally in the UI. I do agree that it'd be nice to know what mode the MPU is in, but using the IMU type for this would require too many changes

furrycoding commented 3 months ago

Rebased onto latest main

unlogisch04 commented 1 week ago

I'm not sure if there is still need for this PR, as the softfusion branch has a MPU6050 with softfusion available.

furrycoding commented 1 day ago

This branch still has temperature calibration, which sfusion currently lacks. However, that'll soon likely change. So there's no point in this PR anymore. (However the branch itself has some use)