Open ana-dav opened 4 years ago
Probably needs an initial calibration since the phone won't always be mounted strictly vertically or horizontally.
Apart from that I'm not sure how useful this really is. You are supposed to look at the road when driving through a bend, not on your smartphone.
Add the lean angle for motorcycles during navigation mode. SensorManager might be the solution.