Three overlapping systems create stable hovering: GPS for horizontal position, barometer for altitude, and optical flow for low-altitude position refinement.
GPS position hold: the drone continuously compares its GPS coordinates to the target hover position and applies micro-corrections through the motors to cancel drift. In good GPS conditions, the drone holds within 1-2 meters in moderate wind with no pilot input.
Barometric altitude hold: air pressure decreases predictably with altitude. The barometer provides altitude reference accurate to about 0.5-1 meter under normal conditions. Wind gusts near buildings cause pressure fluctuations that create momentary altitude oscillations.
Optical flow: the downward camera analyzes ground texture movement to measure horizontal velocity and position drift. Works best at low altitude (under 5-10m) over textured surfaces — the primary indoor positioning backup when GPS is unavailable.
Without GPS: the drone uses barometer for altitude and optical flow for limited position hold. In still air, it can hover indoors fairly well. In any wind, without GPS the drone drifts because there is no position fix to correct against. This explains why indoor hovering drifts more than outdoor GPS hovering.
Check DJI Stable Hovering Drones on Amazon