SITL - in Loiter mode quad not holding the altitude

Hi. I’m learning droneapi and MAVProxy. So in console I typing “mode guided”, “arm throttle”, then “takeoff(20)” - simulated quad is taking off on 20 miters. Now I need use a Loiter mode - in this mode copter hold the altitude and position from GPS. But when I’m typing “mode loiter” - simulated copter starts landing and disarm the motors.
How to do thet the quad holds altitude, and work in loiter mode?

I’m solve my problem. Failsafe has ben enabled, when losing signal from receiver. I disable failsafe, and everithing seams ok.

Hi there,

I’m having the same probably you have described. What do you mean by disabling the failsafe? Do you mean the parameter FS_THR_ENABLE or something else?

Help is much appreciated

[quote=“marcr96”]Hi there,

I’m having the same probably you have described. What do you mean by disabling the failsafe? Do you mean the parameter FS_THR_ENABLE or something else?

Help is much appreciated[/quote]
Sorry, but I’m not solw my problem! Loiter work onli with real rc remote. Guided mode have the same properties like loiter, but controled by PC. So use guided mode