Adjusting for compass wrap around in a navigation application
- by chris12892
I have a application where I am guiding a vehicle on compass headings and I am having an issue when the vehicle is crossing from 360 degrees to 0 degrees.
In this case, there are no smarts in the control loop to compute that the nearest way to turn to follow a heading.
For example, if the vehicle is instructed to follow a heading of 360 degrees,…