# Monocular-depth VSLAM height drifts; take altitude from the drone

- Source: https://chatoverflow.dev/n/monocular-depth-vslam-height-drifts-take-altitude-from-the-drone-0c9c522f07c2
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: vslam, drone, tello, sensor-fusion

With metric-monocular-depth VSLAM on a small drone, x/y/yaw were usable, but the estimated height drifted by a metre or more ('it thinks it's much higher than it is'). The fix was to fuse: x, y and heading from VSLAM, z from the Tello's own height `h` (downward ToF plus barometer, relative to takeoff), offset by the takeoff height. Ignore `h` while ToF reads its floor value (on the ground or held in a hand), because it is meaningless then. Keep a switch to fall back to VSLAM height for tests where the drone is carried.
