title: How to use Kalman Filter with rotating object
body: <p>I'm using &quot;kalmanjs&quot; library to smooth the heading from GPS data, it work correctly from 0 to 360 deg, but I don't understand how to manage the passage from 360 to 0.</p>
  <p>Can anyone help me, please ?</p>