> **Sokil documentation pack**
> Language: English
> Station software: 20261126_usb_cameras
> UI build: c6b2dc620
> Generated: 2026-11-26
> Generated by the Sokil ground station UI from the documentation it ships. Download it again after every software update - the pack describes the version it was generated from.

<a id="gps-denied-return"></a>

# Return home without GPS

**Summary:** On a drone with no camera the return position is dead-reckoned - cap the flight controller's return speed before you need it, and know how close it can land.

**Audience:** pilots

Open in the UI: http://10.1.1.30/help/guides/gps-denied-return

When GPS is lost, jammed or spoofed, Sokil can keep feeding the flight controller a position, so
the drone loiters, returns home and lands instead of dropping into an uncontrolled failsafe.

On a drone with **no navigation camera** that position is not measured - it is an estimate. That
is good enough to bring the drone home. It is not good enough to put it on a marked spot, and
how close it gets depends mostly on one flight-controller setting that is **yours to set**: the
speed it flies the return leg and arrives at home.

Sokil never lowers that speed for you. This page is the trade and the bench numbers to decide with.

<a id="gps-denied-return--when-this-applies"></a>

### When this applies

Only in one narrow case, and it is worth being strict about it:

- the drone has **no GPS it can trust** (lost, jammed or spoofed), **and**
- the drone has **no navigation camera** producing usable optical flow - it flies on barometer and
  GPS alone.

With a down-facing camera producing flow the position is measured rather than dead-reckoned, and
none of the speed advice below applies. With healthy GPS none of it applies either.

The flight controller must run the Sokil ArduPilot 4.7.1 or later
([Sokil's Betaflight and ArduPilot builds](fc-firmware.md#fc-firmware--ardupilot)): on any other firmware
navigation still runs but will not work correctly, and the OSD and Diagnostics warn.

The Sokil side is on the **Navigation** tab of [VTX settings](http://10.1.1.30/cam/vtx-settings) - admin cards on a tab
marked **Beta**, not yet flown - and it has to be configured and validated **before** you need it: the
**Set up > Navigation** card switched on (parameter `vtx_nav_enabled`) with the use left on **Backup when GPS is
lost**, **Fine-tune > Motion model > Hold position without any source** (parameter `vtx_nav_dr_bridge`) on, the
**Fine-tune > When GPS is lost** card switched on (parameter `vtx_gps_failover_enabled`) with **Bridge without
flow** (parameter `vtx_gps_failover_noflow`) on, and **Fine-tune > Navigation origin > Navigation origin
(lat,lon[,elevation])** (parameter `vtx_nav_origin`) written with the take-off point and the
field's elevation in meters above sea level before each flight (or **The UAV is here** in the menu
that opens when you tap or click the map, on the Map page or on the fly view's map, which asks for the field
elevation; the map says the point is set only once the flight controller has confirmed it). The elevation is where the aircraft's
heights above sea level start - the OSD's, and any waypoint given above sea level - and on a plane it also
keeps the airspeed correction right when no air pressure reading arrives. When the map is given no
elevation it assumes 200 m, and those heights are then off by the difference: enter the real elevation
when heights above sea level matter. With no GPS fix this tap sets the starting point; with a fix the camera trusts
it is refused, because the GPS sets the point itself; on iNav and Betaflight it is not offered. The origin is not kept across a restart, and the drone accepts
one **once per start-up**, so read it back: a value that differs from what you wrote means yours was
refused.

If an older Sokil ArduCopter reports ThrustNav, switch it off (`TNAV_ENABLE` 0): left
on and calibrated, it gives the flight controller a second position next to the one Sokil sends, and the flight
controller loses its position once the failover switches it over. 4.7.1-sokil and stock ArduPilot have no such setting.

<a id="gps-denied-return--why-a-fast-arrival-lands-badly"></a>

### Why a fast arrival lands badly

Without GPS the position is an estimate rather than a measurement. On a straight, steady return leg
that hardly matters. It matters at the end.

When the drone brakes out of a fast approach, it flies past home - so it "arrives" a long way from
where it believes it is, and then tries to correct from a position it does not really know. On the
bench that showed as the drone sailing well past home and, on the worst runs, wandering off instead
of coming down.

Approaching slowly avoids that, and the drone arrives where it thinks it is.

<a id="gps-denied-return--what-the-bench-measured"></a>

### What the bench measured

Two comparison flights on a camera-less, GPS-denied return, **one setup each**. The drone was flown
out to roughly **80 m** from home, GPS was then denied, and it came back and landed on the
dead-reckoned position alone - so read every distance below against that 80 m leg:

| Return setup                                     | Leftover speed at arrival | Furthest it strayed from home | Landed              | Wind             |
| ------------------------------------------------ | ------------------------- | ----------------------------- | ------------------- | ---------------- |
| Return speed capped to ~5 m/s                    | ~0.3 m/s                  | about 80 m                        | **about 45 m** from home | about 4 m/s          |
| Stock speed, landing settings tightened instead  | ~5 m/s                  | -                             | **about 60 m** from home | calmer than above |
| Stock speed, earlier runs                        | ~4 to 9 m/s               | roughly 250 to 300 m                  | did not settle near home | -           |

Two things to take from it:

- **The speed cap is what works.** It collapsed the leftover arrival speed, removed the runaway
  departure from home, and produced the best landing - in the *windiest* of the three conditions.
- **Landing settings alone are no substitute.** Descending faster and lower without capping the
  speed brought the overshoot straight back and landed the drone *further* out, in calmer air. A
  quick descent cannot rescue an arrival that has already overflown home.

One flight per setup is a small sample. It is enough to rank the two settings, which is what the
recommendation rests on; it is not enough to promise you the same landing accuracy.

<a id="gps-denied-return--set-the-return-speed"></a>

### Set the return speed

On the flight controller, cap the waypoint speed that return-to-home flies:

Use the column matching the names your FC reports. The 4.7 column uses meters instead of centimeters; the measurements below came from the older firmware.

| Setting | Older names (including older Sokil) | ArduPilot 4.7 / 4.7.1-sokil |
| --- | --- | --- |
| Waypoint speed, 5 m/s | `WPNAV_SPEED = 500` (cm/s) | `WP_SPD = 5` (m/s) |
| Acceleration, 2.5 m/s2 | `WPNAV_ACCEL = 250` (cm/s2) | `WP_ACC = 2.5` (m/s2) |
| Use waypoint speed for return | `RTL_SPEED = 0` | `RTL_SPEED_MS = 0` |

Leave the acceleration at the value above: a harder brake brings the overshoot back. The return leg uses the waypoint speed when its own speed is zero; the landing phase reads the waypoint speed directly. The older Sokil build has a unit-conversion issue with a nonzero `RTL_SPEED`, so keep it at zero. The 4.7.1-sokil branch uses the upstream 4.7 units and does not have that conversion issue; keeping `RTL_SPEED_MS = 0` still makes this recipe's speed cap apply to the return leg.

**The range cost is the whole trade, and it is yours.** A lower speed slows the entire return, so it
costs battery and time - and a drone that is far out when GPS fails may then not make it home at
all. On a long return, check your reserve covers the slower flight home, and cap it only as far as
your range budget allows. 5 m/s is where the measurement was taken; a higher cap gives range back at
a cost in arrival accuracy, because the overshoot grows quickly with the approach speed.

The waypoint speed (`WPNAV_SPEED` or `WP_SPD`) also governs your normal automatic missions, so decide whether you leave it capped or
keep a second parameter set for GPS-denied work.

<a id="gps-denied-return--shorten-the-time-near-the-ground"></a>

### Shorten the time near the ground

The last part of the descent drifts with the wind, because a camera-less drone has no absolute
position reference close to the ground. Less time hovering and descending means less drift:

| Setting | Older names (including older Sokil) | ArduPilot 4.7 / 4.7.1-sokil |
| --- | --- | --- |
| No hover above a drifting home point | `RTL_LOIT_TIME = 0` | `RTL_LOIT_TIME = 0` |
| Start the final descent at 2 m | `LAND_ALT_LOW = 200` (cm) | `LAND_ALT_LOW_M = 2` (m) |
| Final descent, 1 m/s | `LAND_SPEED = 100` (cm/s) | `LAND_SPD_MS = 1` (m/s) |
| Descent above the threshold, 1.5 m/s | `LAND_SPEED_HIGH = 150` (cm/s) | `LAND_SPD_HIGH_MS = 1.5` (m/s) |

> **Flown at 100 and 150, and secondary to the speed cap.** Sokil has flown these descent rates at
> **100 and at 150 cm/s** and both worked; 150 was enough, and nothing faster has ever been tried,
> so treat anything above 150 as untested. They also do not replace the speed cap - the simulation
> run that used them *without* it landed further from home. A faster or firmer touchdown can damage
> the airframe, so validate the final and higher-altitude descent speeds on your own drone before relying on
> them.

<a id="gps-denied-return--how-close-it-will-land"></a>

### How close it will land

Judge the result as a **share of the distance the drone came back from**, not in bare meters:

- the return leg itself tracks within roughly **ten percent of the distance flown**;
- the approach and descent add on the order of **tens of meters**, and that part is roughly the same
  however far the drone came back.

So the same error reads completely differently on different legs. Landing 200 m from home after a
20 km return is an excellent result; landing 200 m from home after a 100 m hop is a bad one. The
bench's landing about 45 m from home came at the end of an 80 m leg, which is more than half the distance flown - the
short leg is close to the worst case for this measure, because the approach-and-descent error barely
grows with range.

Plan the recovery on that basis: **keep the landing area clear**, and expect to walk to the drone
rather than watch it settle on a pad.

<a id="gps-denied-return--where-a-no-gps-landing-is-supported"></a>

### Where a no-GPS landing is supported

Two kinds of landing spot are **outside what Sokil supports today**:

- **Ground more than about 4.5 m above the take-off elevation, on a drone with no real downward
  rangefinder.** Without one the drone does not know how close that ground is, and it can fly the
  final meter with nothing steadying it.
- **Spots that rock the airframe by roughly 20 degrees or more on touchdown** - slopes, rubble,
  ruts, tussocks, anything that lets one leg take the weight well before the others. The landing can
  stall with the drone leaning, or tip it over.

These are not "expect worse accuracy" cases. They are unsupported. Pick open, level ground at
roughly the take-off elevation - level matters more than smooth, a flat gravel pad is fine and a
20 degree slope is not. Fitting a real downward rangefinder lifts the elevation restriction, because
the drone then measures its height over the ground it is actually landing on; it does **not** lift
the rocking restriction. And since the touchdown point drifts, the whole area the drone might come
down in has to be level and clear, not just the spot you aimed at.

<a id="gps-denied-return--after-touchdown-while-it-is-still-armed"></a>

### After touchdown, while it is still armed

A GPS-denied landing often ends with the drone on the ground but **still armed**. Its own
confirmation that it is down can lag the touchdown by anything from a couple of seconds to several
minutes, most of all after a drifted position estimate or a rocking touchdown.

Until it disarms, treat it as a drone that may fly again without warning:

- **Do not command it to move.** No "fly to here" on the map, no new waypoint, no re-takeoff. This
  is for **everyone connected to the drone, not just the pilot**: a click on a ground-station map
  goes out as a movement command even though nobody touched a mode switch.
- The reason: after a dead-reckoned return the position estimate on the ground can be hundreds of
  meters wrong, and can still be drifting. A movement command aimed through that estimate can make
  the armed drone take off again and chase a point that does not exist. On the bench that produced a
  fast, low departure - over about 25 m/s within a few meters of the ground.
- **If you need to hold it, use LOITER or POSHOLD.** Both let the landing finish. On the bench, a
  drone in the same state that departed under a movement command confirmed its landing within
  seconds under POSHOLD.
- Otherwise simply **wait for it to disarm**. After that, a next flight can be commanded normally.
- Once disarmed with a healthy GPS, the drone goes back to GPS on the ground and the OSD says
  "Sokil: GPS recovered - nav on GPS". Take off again only after it: while the GPS stays lost, or the
  RC GPS Disable switch is still on, the next flight starts on the estimate if companion navigation is ready.

With **When GPS is lost** (parameter `vtx_gps_failover_enabled`) enabled, a restart of the camera's
Sokil service while disarmed first leaves the flight controller on the source it was using, then
judges the GPS: once it has been good for 15 seconds (a 3D fix, the flight controller's satellite and
HDOP limits on a multirotor, not spoofed, not far from a fresh Starlink terminal fix) the flight controller is
sent to GPS; a GPS that stays bad moves it onto the camera's navigation as on any pad. A bad GPS is never
handed back just because the service restarted. Arming before that ends the check, and an armed restart
sends nothing. If the camera's navigation stops
providing an estimate on the ground, Sokil also requests GPS; a plane still ready for navigation
on the pad is kept on the estimate. Since 2026-10-13 that return goes only to a GPS that has been good for 3
seconds (a fix, not far from the Starlink terminal, not spoofed); otherwise the flight controller stays on the
estimate and the OSD says "Sokil: nav lost, GPS bad - FC kept on nav". A multirotor that landed on the camera's
navigation keeps its position through the disarm, so a re-arm in Loiter is not refused for a missing position.
A plane returns to GPS the same way, on the shared failover; if its flight controller does not agree within about 10 seconds with a steady GPS, the camera switches it back (the fixed-wing forced return) - unless live optical flow disagrees with the GPS.
Check navigation readiness before takeoff: a request to use GPS does not mean GPS is healthy.

For a plane on the pad, a weak 3D GPS fix alone does not trigger a switch once the FC has aligned. Keep using that GPS even with five satellites. This exception preserves the currently selected GPS only; returning from companion navigation still requires healthy GPS. Before alignment, Sokil can use the terminal when the FC cannot establish its starting position. A spoofed GPS is kept off: wait for a still Starlink terminal with its GNSS disabled to place the aircraft and HOME before arming. If position is not ready, fly MANUAL/FBWA only; Plane has no AltHold. After a takeoff from a spoofed pad, GPS is accepted again only while fresh terminal readings agree with it. If the terminal is lost, GPS does not return.

With the physical airspeed sensor model, a plane that landed on companion navigation retains its position through disarm and re-arm for about five minutes. Fresh still-terminal readings renew it. Once it expires, wait for a fresh still-terminal position before using position modes. Keep the pitot healthy and verify navigation readiness before the next takeoff; the ground hold ends when takeoff is detected. The experimental mode without an airspeed sensor does not provide this landing hold.

While disarmed, Sokil stops periodically repeating the companion source selection. Automatic
ground switches and their limited retries remain active, so the pilot's RC source switch does
not have unconditional priority.
One exception: if the flight controller reboots on the pad while Sokil holds it on the camera's
navigation, it comes back on its default (GPS) source, and Sokil puts it back on the camera's navigation
within about 10 seconds, once per reboot. A source the pilot chose with the RC switch after the reboot is left
alone; an RC switch already in the GPS position when the controller reboots is overridden once - flip it again
to take GPS.

**A barometer failure is not covered.** With no GPS the flight controller has no height but its
barometer. The **Baro height health** card on [VTX settings > Navigation](http://10.1.1.30/cam/vtx-settings?tab=navigation)
keeps the camera's own navigation on a sane height when the barometer drops out, sticks or jumps, but the
flight controller keeps flying on the failing barometer, and a barometer that drifts slowly is not
detected at all. A barometer fault on a return without GPS can still cost altitude.

<a id="gps-denied-return--before-you-rely-on-it"></a>

### Before you rely on it

Fly this as a planned test, not during a real GPS failure, and repeat it at the return distance you
actually fly - a result from a 100 m leg tells you very little about a 5 km one.

| Check                                                                   | Where                                |
| ----------------------------------------------------------------------- | ------------------------------------ |
| The flight controller runs the Sokil ArduPilot 4.7.1 or later - Diagnostics shows no navigation firmware warning | [Diagnostics](http://10.1.1.30/cam/diagnostics) |
| **Navigation** (parameter `vtx_nav_enabled`) and **Hold position without any source** (parameter `vtx_nav_dr_bridge`) on, **When GPS is lost** (parameter `vtx_gps_failover_enabled`) on | [VTX settings > Navigation](http://10.1.1.30/cam/vtx-settings?tab=navigation) |
| **Navigation origin (lat,lon[,elevation])** (parameter `vtx_nav_origin`) accepted for this flight, with your field's elevation - read it back and compare | [VTX settings > Navigation](http://10.1.1.30/cam/vtx-settings?tab=navigation&nav=tune#home) |
| The calibration drifts little on your own GPS flights (**Check current calibration**) | [VTX settings > Navigation > Set up > Nav calibration from logs](http://10.1.1.30/cam/vtx-settings?tab=navigation#calibration) |
| A multirotor: its accelerometer offset is measured, not 0 (**Save offset to the camera**) - without it nothing checks the motion model against the accelerometer, and in the simulator it landed harder | [VTX settings > Navigation > Set up > Nav calibration from logs](http://10.1.1.30/cam/vtx-settings?tab=navigation#calibration) |
| `WPNAV_SPEED` (cm/s) or `WP_SPD` (m/s) reads your chosen cap                                     | flight controller                    |
| `TNAV_ENABLE` reads 0 (older Sokil ArduCopter, if present)                         | flight controller                    |
| The navigation source switches when GPS is denied: the navigation icon turns to the eye, and the map's aircraft carries **On companion** | the fly view's navigation icon and map |
| The drone flies the return leg at the capped speed                      | map and telemetry                    |
| It arrives without overflying home, and comes down                      | watch it                             |
| Distance from home at touchdown, as a fraction of the leg               | measure on the ground                |

<a id="gps-denied-return--related-guides"></a>

### Related guides

For the optional tuning cards, see [Navigation - fine-tune](navigation-tuning.md#navigation-tuning).

- [RC switches in flight](rc-in-flight.md#rc-in-flight) - the switches you may need while this is
  happening.
- [Flight controller connection](flight-controller.md#flight-controller) - what else Sokil expects on the
  flight controller side.
- [Status and diagnostics](status-and-diagnostics.md#status-and-diagnostics) - where the navigation state and its
  warnings appear.
- [Sokil's Betaflight and ArduPilot builds](fc-firmware.md#fc-firmware) - what the flight controller's
  own firmware contributes here, and why navigation needs the Sokil ArduPilot 4.7.1 or later.
