"It all comes down in solving the camera pointing algorithm in the reverse order, as Lucas suggested. Within this algorithm there are three variables:
1. Own (GPS) position, altitude
2. Target position, altitude
3. Pant tilt X and Y values. X…"
"These guys are doing it already for quite some years now as far as I know: http://magnetsystems.net/
They provide the coordinates not only of the crosshair location but from every pixel of the video window. An impressing technology called video…"
"Hi Andrew, Bill,
Thanks for the reply.
However, it looks to me that the null_offsets() routine is used to continually adjust the compass offsets in the long run.
What I’m actually looking for is the code that executes the compass calibration…"
I’m trying to locate the code (within the APM, Arduplane or Arducopter files) that a) initiates and b) performs, the compass calibration routine but I had no luck so far. Can you please provide some…"