We planned to do a 40Km test flight this weekend.
We used APM 2.78
We setup a circular mission of aprox 2km and set the mission to do it 20 times.
Everything looked fine until the 12th lap. Plane started to clime and headed in wrong direction. Eventually I took it off auto and landed the plane.
We saw a few funny readings, Alt was constant on 98.33 even through the plane had landed.
Attached is the tlog file.
Failsafe was not set.
In the kmz file we saw that in the first and 12th lap apm went into failsafe for a short while then back to auto. On the 12th lap when apm when back into auto mode, some information was not updated there after.
If you graph alt_vfr_t_r v/s alt_gps_raw_int_t
alt_vfr show alt of around 100m until 14:15 from there it is a fixed line. Compare to the alt_gps one can see that plane increase altitude to about 300m before I changed modes to stabilize. The same time the plane was going 90 degrees off course.
Is the a possible bug when the apm goes in and out of auto mode because of failsafe?