Set up the GPS sensor first (not covered here)

Phases

  1. Ascend (climb to specified altitude)
  2. Rotate (turn towards home)
  3. Fly home (fly towards takeoff point)
  4. Descend (hover within 5x5 m area of the launch point and slowly descend)
  5. Land (motors disarm upon ground impact)

Activate/Deactivate

  • Activated using specified switch; deactivate by disengaging the same switch
    • Set up in the “Modes” tab, for example like this: Untitled 15.png
  • Can be activated by failsafe; sticks need to be moved more than 30% after regaining radio link to deactivate
  • A specified number of satellites are required for GPS Rescue to work
    • Display the number of GPS satellites on the OSD

Setting up (Betaflight Configurator)

Most of the GPS Rescue set up is done in the “Failsafe” tab (only visible after enabling “Expert Mode” in the header)

  • Specify how the drone should behave immediately after failsafe (”Stage 1” lasts for a specified “guard time” to allow control link recovery)
    • Guard time for stage 2 activation after signal lost (seconds) set to 1.5
    • Center the roll, pitch and yaw sticks
    • Set throttle to hover throttle
    • Activate angle mode Untitled 1 7.png
  • Activate GPS Rescue under “Stage 2 - Settings”

This will active GPS Rescue upon failsafe i.e. loss of control (radio) link. For certain environments e.g. freestyle flying in a forest, this is not recommended (as GPS Rescue can do more damage than just disarming and dropping to the ground). Also, failsafe only applies to radio control loss and not video loss. In the event of video loss, you can manually activate GPS Rescue if a switch was set up.

SettingValueDescriptionNotes
Angle40Maximum tilt angle allowed during GPS RescueSmaller drones may need a higher angle in strong winds to achieve the desired return speed
Initial altitude (meters)50Minimum altitude above the takeoff point at which the drone returns
Descent distance (meters)30At what distance from home the drone starts to descend
Minimum distance to home (meters)Below this distance GPS Rescue can’t be activated
Ground speed (meters/second)10Note: in the CLI this value is in centimeters/second. Heading is more accurate at higher values
Throttle minimum1100Minimum throttle value used during GPS Rescue
Throttle maximum1600Maximum throttle value used during GPS Rescue
Throttle hover1280 (?)Hover throttle value used during GPS RescueAccurate value needed. Use “Throttle %” OSD element. Correct value should cause the quad to climb slightly
Ascend rate (meters/second)4Use a lower rate if using Li-ion or low C-rating pack
Descend rate (meters/second)1
Minimum satellites8GPS Rescue will not activate if fewer satellites are available
  • “Allow arming without fix” (enabled)
    • Note that GPS Rescue will not work if the drone is armed before a GPS fix (satellite lock)
  • Set “Altitude mode” to “Maximum altitude” (safest, but may be overly cautious)
  • Set “Sanity checks” to “Failsafe only”
    • Sanity checks (GPS connection, number of satellites, decreasing distance to home, etc.) are only performed when GPS Rescue is triggered by a failsafe, and not a switch
      • If any of the sanity checks (conditions) are not fulfilled, the drone will disarm
      • In Betaflight 4.4, there is now a limit of 20s of sanity failure even if all sanity checks are turned off

OSD

Useful information provided by GPS to display in the OSD: Gps sats, Altitude, Gps Lon, Gps Lat, Home Direction, Home Distance

Testing

Set up a failsafe mode in the “Modes” tab (fake control loss is safer than e.g. turning off radio)