Set how to deal with invalid rotation-angles.

  • If True the compass will always (silently) use the last valid rotation-angle in case the correct angle could not be determined.

  • If False (the default), a warning will be issued in case the angle could not be determined, and a red border will be drawn around the compass to indicate that it might not point in the right direction.


val (bool) – ignore invalid rotation angles.