# Revert to ALTHOLD if GPS Failure in LOITER

**URL:** <https://discuss.cubepilot.org/t/revert-to-althold-if-gps-failure-in-loiter/8358>\
**Category:** Cube Autopilot\
**Created:** [14 February 2022 20:03 UTC](https://discuss.cubepilot.org/t/revert-to-althold-if-gps-failure-in-loiter/8358 "2022-02-14T20:03:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![austin](https://discuss.cubepilot.org/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@austin](https://discuss.cubepilot.org/u/austin)\
**Post date:** [14 February 2022 20:03 UTC](https://discuss.cubepilot.org/t/revert-to-althold-if-gps-failure-in-loiter/8358/1 "2022-02-14T20:03:39Z")

</div>

Is there a way to have ardupilot swap to alt hold if the gps fails in loiter mode?

---

<div class="post-metadata">

**Author:** ![Alvin](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/alvin/32/1000_2.png) [@Alvin](https://discuss.cubepilot.org/u/Alvin)\
**Post date:** [16 February 2022 06:47 UTC](https://discuss.cubepilot.org/t/revert-to-althold-if-gps-failure-in-loiter/8358/2 "2022-02-16T06:47:21Z")

</div>

For software functionality problem, it is better to ask on Ardupilot forum, where more developers and users are there.

The answer for this question can be found on Ardupilot wiki  
[https://ardupilot.org/copter/docs/ekf-inav-failsafe.html#what-will-happen-when-the-failsafe-triggers](https://ardupilot.org/copter/docs/ekf-inav-failsafe.html#what-will-happen-when-the-failsafe-triggers)
