Sudden ascent of pixhawk quadcopter

Hi
I’m first time using pixhawk on my quadcopter.
Initailly tested in stabilize mode and alt hold.
My flying skill levels are just below average.

after sometime the copter gained height very quickly after which i was not able to pick the orientation of quad as i couldn’t see the quad clearly.
it started going away from me and very quickly. After some fiddling with stick i was able to get it into my vision but manged to crash land it.

I wanted to know why it gained height very quickly. Whether i made mistake while flying or something else happened.
Im attaching the logfile.
Any help is highly appreciated.

Thanks in Advance.

Ganu

Hey Ganu,

It looks like your using beta firmware, which is fine but being beta firmware there might be a few kinks. Also I noticed the offsets for your compass are way too high on the Z axis. Try flashing AC 3.1.5 and run compass claibration, you should get offsets along the lines of -150 ~ +150 and for the Z axis, -200 ~ +200 is okay.

-santiago