You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just connect STM32 blue pill with MPU6050 sensor. It will work pretty good, but sometimes, after some small shakes, or SteamVR lags it just hangs. Reboot causes USB device disconnect(which is an another issue), but still, after the reboot the connection is not established.
To Reproduce
Steps to reproduce the behavior:
Start any SteamVR game with a headset and a high load
Shake the headset and rotate it
The orientation will hang.
Exit SteamVR and OSVR driver
Test Serial connection by opening the corresponding port
If it opens, but there is no data it means I2C hang.
Proposed solution
Check I2C for timeout errors, and if timeout happen, reset the I2C bus. You can find the implementation of this algorithm in Ardupilot repository, as an example. I have a PoC code which resets the bus at reset, can share it.
The text was updated successfully, but these errors were encountered:
The bug
Just connect STM32 blue pill with MPU6050 sensor. It will work pretty good, but sometimes, after some small shakes, or SteamVR lags it just hangs. Reboot causes USB device disconnect(which is an another issue), but still, after the reboot the connection is not established.
To Reproduce
Steps to reproduce the behavior:
Proposed solution
Check I2C for timeout errors, and if timeout happen, reset the I2C bus. You can find the implementation of this algorithm in Ardupilot repository, as an example. I have a PoC code which resets the bus at reset, can share it.
The text was updated successfully, but these errors were encountered: