hemanthrajv / flutter_compass

MIT License
102 stars 188 forks source link

Compass is influenced by device roll #33

Open olenirwing opened 4 years ago

olenirwing commented 4 years ago

I'm testing this plugin and it doesn't seem to work properly. I expect the compass to point north even when the device is tilted to left or right. However when the device is tilted to the left and right, the compass is off. I guess this is caused by the roll (see image) is influencing the calculation, which it shouldn't, if I understand correctly.

pitch-roll-yaw

Am I misunderstanding something?

lukepighetti commented 4 years ago

This package doesn't work in landscape mode on Android. It does work in portrait mode.

gabeschine commented 4 years ago

FYI this should now be fixed.