This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ap.heading making jumps
#3
(2020-07-16, 09:29 PM)seandepagnier Wrote: It can be an artifact of compass calibration, or if the user adjusts the compass offset.   This is to hopefully hold the same course even though the heading is changing.

It should not jump more than 1 time in 20 seconds.  The heading and heading command should change the same amount so as not to have much effect on course.


You could look at the compass calibration age and if it resets to 0 when the heading changes.

All right, I'll put ap.heading, ap.heading_command, and imu.heading on the scope then, keep a sharp eye on the calibration age and see what happens.

But if I'm right, ap.heading_error = ap.heading - ap.heading_command, so when the ap.heading_command is adjusted along with ap.heading, I would not have seen the jumps in ap.heading_error. That would mean that the jumps are not caused by the 2D compass calibration mechanism, but by something else. Couls this be the 3D correction mechanism? How does that tie into all this?

Eager to learn :-) thx!
Reply


Messages In This Thread
ap.heading making jumps - by ironman - 2020-07-16, 02:39 PM
RE: ap.heading making jumps - by seandepagnier - 2020-07-16, 09:29 PM
RE: ap.heading making jumps - by ironman - 2020-07-17, 09:06 PM
RE: ap.heading making jumps - by seandepagnier - 2020-07-18, 06:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)