Yes. A drone can be flown indoors without GPS, and that is normally the correct way to configure it. Satellite signals are unreliable indoors, so a pilot can use manual attitude control while the flight controller stabilizes orientation and altitude. To hold position or fly an autonomous route, the aircraft needs another reference, such as optical flow with a range sensor, visual-inertial odometry, motion capture, UWB, external vision, or LiDAR-based navigation.
Why GPS is the wrong reference indoors
Satellite navigation depends on receiving clean signals from satellites above the aircraft. Roofs, walls and metal structures attenuate those signals, while reflections from windows and walls create multipath errors. A receiver may briefly show satellites or an apparently good dilution-of-precision value even though the reported position is moving.
As an Amazon Associate I earn from qualifying purchases.
ArduPilot’s indoor guidance is deliberately blunt: “GPS does not work indoors and needs to be disabled (no exceptions).” The same guidance warns that a receiver can appear locked while its position drifts by many metres or, in severe multipath conditions, by thousands of metres. A flight controller that trusts that estimate can try to correct toward a false location, producing an unexpected acceleration or an unsafe automatic maneuver.
Switching off GPS use is therefore more than a way to avoid a warning message. It prevents the estimator from blending a bad global measurement into its position solution. Keep the receiver physically installed if you need it outdoors, but configure the indoor flight mode and estimator so that GPS is not selected as the navigation source.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
What a drone can and cannot do without GPS
GPS is not required for the motors to turn or for a pilot to control attitude. Gyroscopes and accelerometers let the flight controller stabilize roll, pitch and yaw. A barometer can provide a rough altitude reference, and a downward range sensor can provide more consistent height near the floor. Those sensors do not, by themselves, tell the aircraft where it is over the floor.
Without a horizontal position or velocity reference, the aircraft will drift as small sensor biases and air currents accumulate. A pilot can counter that drift with the sticks, but releasing the sticks does not create a true stationary hover. Position hold, waypoint missions and other autonomous functions require a valid local or global position estimate.
Indoor capability is consequently a question of the flight mode and sensors, not simply whether the GPS antenna is connected. A small quadcopter in a clear room may be perfectly controllable in manual mode. The same aircraft will need an additional navigation source before it can reliably hold a point or follow a mapped path.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsIndoor navigation options compared
| Method | What it measures | Best use | Main requirements | Important limitations |
|---|---|---|---|---|
| Optical flow plus range sensor | Two-dimensional motion over the floor, scaled by measured height | Low-cost hover and slow movement in small indoor spaces | Downward camera, downward distance sensor, textured and illuminated surface | Weak over plain, reflective, transparent or dark floors; usable height is limited by the sensor specification |
| Visual-inertial odometry (VIO) | Local three-dimensional pose and velocity from cameras combined with an IMU | Rooms and buildings where no tracking infrastructure can be installed | Suitable camera view, processing capacity, calibration and visible features | Can lose tracking with poor lighting, motion blur, repetitive or featureless scenes; drift is possible |
| Motion capture | External cameras measure a tracked vehicle’s three-dimensional pose in a local frame | Research, testing and other high-control laboratories | Installed cameras or tracking sensors, calibrated volume and coverage | Infrastructure is expensive, space-bound and vulnerable to occlusion |
| UWB or another external-position feed | Local radio-based distance or position measurements supplied by anchors and tags | Larger indoor areas needing a repeatable local coordinate system | Anchors, an airborne tag and flight-controller integration | Deployment and calibration take work; positioning does not provide obstacle avoidance |
| LiDAR or LiDAR-inertial odometry | Distances to surfaces, sometimes combined with inertial data for mapping and pose | Texture-poor spaces or mapping applications | Appropriate LiDAR, mounting, processing and integration | More payload, cost and integration complexity than basic optical flow |
No single option is universally best. The right choice depends on whether you need only a steadier hover, local three-dimensional movement, a precisely instrumented test volume, or operation across a larger building.
Optical flow: the economical indoor solution
An optical-flow module points a camera at the surface below the drone and tracks how visual features move from frame to frame. That image motion is a two-dimensional velocity measurement. A downward distance sensor supplies the scale: the same apparent pixel movement represents a different ground speed at different heights.
PX4 describes optical flow as a cost-conscious choice for aircraft that will fly only indoors without GPS. Its documentation identifies modules such as PX4Flow and ARK Flow as examples of this hardware class. The exact model is less important than having a synchronized downward camera, a usable range measurement and firmware support for the sensor.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Where optical flow works well
- Floors with visible texture, edges or patterns give the camera features to follow.
- Even, adequate illumination keeps those features visible at the camera’s exposure and frame rate.
- Slow translations and hover are easier than fast turns or aggressive acceleration, which can create blur and overwhelm the tracker.
- The range sensor must remain within its specified operating height and surface-reflection limits.
Common optical-flow failure cases
- A plain, glossy, transparent or very dark floor provides little reliable texture or produces reflections instead of ground motion.
- Low light, flickering light and shadows can make the tracked features disappear.
- Carpet, grating or a floor with repeating patterns can produce ambiguous motion.
- Flying too high for the range sensor, or outside its minimum distance, removes the scale needed to turn image motion into velocity.
Optical flow does not create a map of the room. It tells the estimator how the aircraft is moving relative to the surface currently below it. It is therefore strongest for indoor-only stabilization in a known, visually suitable area, not for navigating between rooms or remembering a location after takeoff.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Visual-inertial odometry for local three-dimensional movement
Visual-inertial odometry combines camera-derived visual odometry with measurements from the inertial measurement unit. The estimator uses changes in visible scene features together with gyro and accelerometer data to calculate a local three-dimensional pose and velocity. Because the reference is local rather than satellite-based, the coordinate frame can start inside a building.
A VIO system can support movement in more directions than a floor-facing optical-flow camera. Forward-facing or stereo cameras can observe walls, furniture and other features while the aircraft moves through a room. Depth-capable cameras can add geometric information, and some systems can feed an external-vision estimate directly to the flight controller.
Conditions VIO needs
- Distinct, stable visual features such as corners, edges and textured surfaces.
- Enough light for the camera to expose those features without excessive noise or blur.
- Camera and IMU calibration, rigid mounting and time synchronization.
- Enough onboard computing capacity to run the odometry pipeline at a useful update rate.
Why VIO can lose its reference
Featureless corridors, blank walls, darkness, reflective surfaces and rapidly changing illumination can leave the camera with too few reliable points. Fast motion can cause blur before the next frame is processed. Repetitive scenes can produce incorrect matches. Even when tracking remains active, small errors accumulate as drift, so a local estimate should not be treated as an indefinitely accurate global coordinate.
There is no single accuracy number that applies to every VIO camera, algorithm, speed, lighting condition and room. Evaluate the complete camera, compute and estimator combination in the actual space where it will fly rather than relying on a generic specification.
Recommended Free Tools
Motion capture for controlled indoor spaces
Motion-capture systems place infrared cameras or other tracking cameras around a room. Markers or a trackable body on the drone are observed from multiple viewpoints, and the system sends a three-dimensional pose in a calibrated local coordinate frame to the aircraft or its companion computer.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
This approach is common in research laboratories, test halls and production environments where repeatability matters more than portability. The external system can provide a stable reference without depending on the floor texture or on the drone’s own camera processing.
Infrastructure and coverage considerations
- The cameras must be mounted, calibrated and arranged to cover the complete flight volume.
- Structural columns, equipment or another aircraft can occlude the markers from some viewpoints.
- The coordinate frame, update rate, latency and axis conventions must be matched to the flight controller’s external-navigation interface.
- Moving the system or changing the room requires recalibration.
Motion capture supplies pose; it does not automatically detect walls, people or other obstacles. Add a separate obstacle-sensing and operational-safety plan when the aircraft will move autonomously.
UWB and other external-navigation feeds
Ultra-wideband systems use fixed anchors and a tag on the aircraft to estimate local position or distances. The resulting position can be sent to the flight controller as an external-navigation measurement. Other installations use external vision, tracking cameras or LiDAR-based systems for the same purpose.
UWB can cover a larger area than a single downward optical-flow sensor and does not depend on visible floor texture. It still requires anchor placement, surveyed or calibrated geometry, radio integration and a tag that meets the system’s update and latency requirements. Radio positioning alone does not tell the drone that a wall, cable or person is in its path, so obstacle sensing remains a separate function.
ArduPilot documents optical flow, external navigation and motion capture as non-GPS sources. For position-controlled operation, the estimator must be configured to accept the chosen source and to reject stale or invalid measurements. In ArduPilot 4.7 and later, the firmware can automatically save and restore the EKF origin for non-GPS navigation; behavior can change with firmware releases, so verify the feature in the documentation for the version installed on the aircraft.
LiDAR and LiDAR-inertial odometry
LiDAR measures distance to surfaces rather than relying on visible texture. A scanning or depth-capable system can support local mapping and pose estimation in areas where cameras have little to see, such as dim rooms or uniform walls. Combining LiDAR with inertial data can make the estimate more robust during short periods of weak visual information.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
The trade-off is practical: LiDAR adds payload, power demand, cost, mounting constraints and software integration. A single downward rangefinder is useful for altitude control but is not the same as a full LiDAR-odometry system. Confirm what the selected sensor actually outputs before designing the navigation architecture.
Free tools Windows power users keep installed
One-click scans. No signup required.
How to configure a drone for indoor flight
Use this sequence for a new aircraft or whenever you change the navigation sensor. The names of parameters and screens differ between firmware versions, so use the setup documentation for the exact flight-controller release rather than copying values from an unrelated build.
- Define the required behavior. Decide whether you need only manual attitude control, altitude assistance, a stationary hover, local position hold or autonomous movement. This determines whether an additional horizontal reference is necessary.
- Disable GPS as an indoor navigation source. Do not select GPS merely because the receiver reports satellites. Prevent the estimator and flight modes from accepting the indoor GPS solution, and remove any automatic behavior that assumes a valid global position.
- Install one primary non-GPS source. Mount the optical-flow camera and range sensor with a clear downward view, or install and calibrate the VIO, motion-capture, UWB or LiDAR system. Keep the sensor rigid relative to the flight-controller body axes.
- Calibrate and verify timing. Complete the sensor’s orientation, scale, camera and IMU calibration procedures. Check that timestamps, coordinate axes and measurement units agree between the external system and the flight controller.
- Configure the estimator. Select the chosen source for horizontal velocity or position, set the available altitude source, and confirm that the estimator reports healthy innovation and measurement status before enabling position modes.
- Set failsafes for the indoor environment. A return-to-home action that depends on a global position is not an indoor recovery plan. Choose a response that leaves the pilot able to take over, and ensure loss of optical flow, VIO, external vision or range data does not trigger an unexpected climb or flight toward a nonexistent home point.
- Test at low height in a clear area. Arm with propeller clearance, lift only a small distance, and observe whether the reported velocity and attitude remain stable. Move slowly in each direction, pause, and check whether the aircraft stops drifting when the reference is available.
- Test loss and recovery of the reference. Briefly cover the optical-flow view, move out of the VIO feature field, or interrupt the external feed under controlled conditions. Confirm the warning, mode change and manual takeover behavior before flying near people, equipment or ceilings.
Flight modes and automatic functions that may be unavailable
PX4 notes that automatic modes such as Mission, Return and Land require a global position estimate. If the aircraft has only attitude and altitude stabilization, the pilot may need to fly manually or use a limited assist mode. A valid local position from optical flow, VIO, motion capture or another external source can enable some position-controlled behavior, but the mode must support that source and the estimator must be healthy.
Do not assume that a mode named “hold,” “return” or “land” has the same requirements on every firmware platform. Read the mode’s documented prerequisites for the installed version. In particular, a local indoor origin is not automatically equivalent to a geographic home position, and a controller cannot navigate back to a launch point it never measured.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Can a drone hover indoors without GPS?
It can hover under pilot supervision using attitude stabilization and careful stick inputs. A barometer or range sensor can help maintain height, but horizontal drift remains and the pilot must correct it.
For hands-off position hold, use a valid horizontal reference. Optical flow with a range sensor is usually the simplest choice for a small, slow aircraft over a suitable floor. VIO is more flexible when the aircraft must move through a room and the scene has adequate visual features. Motion capture, UWB or external vision are better when the operating volume is instrumented or when repeatable local coordinates matter.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Troubleshooting indoor navigation
The aircraft drifts immediately after takeoff
- Check that GPS is not being fused and that the selected indoor source is actually reporting data.
- For optical flow, inspect lighting, floor texture, camera focus and the distance-sensor reading.
- For VIO, look for feature loss, motion blur, poor calibration or an obstructed camera.
- For external systems, verify anchor or camera coverage, coordinate frames, timestamps and communication latency.
Position hold works briefly, then wanders
Short-term success followed by drift can indicate accumulated VIO error, intermittent optical-flow measurements, a range sensor leaving its valid height window or an external feed that is dropping packets. Review estimator health logs and test at lower speed with a stable reference surface before changing gains.
The aircraft changes mode or triggers a failsafe indoors
Read the exact failsafe message and identify which measurement became invalid. A global-position requirement, loss of range data, rejected external-navigation measurements or an estimator timeout can all produce a mode change. Configure the response for manual recovery and repeat the test at low altitude in an unobstructed area.
Altitude is unstable even though horizontal tracking is good
Horizontal optical flow does not measure height. Check the barometer, downward range sensor, mounting angle and surface reflectivity. A rangefinder that is outside its specified operating distance can supply intermittent or implausible altitude data, especially over absorbent, transparent or highly reflective surfaces.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Accuracy, range and expectations
Indoor-navigation performance is determined by the complete system and environment: sensor quality, mounting, calibration, lighting, floor and wall texture, speed, height, processing latency, radio coverage and estimator settings all matter. There is no authoritative accuracy, range or success-rate figure that transfers across indoor environments for every method.
Use a measured test plan instead of a universal promise. Mark a local reference, fly repeatable straight lines and holds at the intended speed and height, record estimator status, and deliberately test the lighting and surfaces found in the real operating area. Record the conditions with each result; changing the floor or camera exposure can change the outcome without any firmware change.
Indoor preflight checklist
- GPS use is disabled for the indoor mode; a satellite count or low reported HDOP is not treated as proof of a valid position.
- The selected non-GPS source is calibrated, mounted securely and visible to the estimator.
- Optical flow has a textured, illuminated surface and the range sensor is within its specified height and reflectivity limits.
- VIO cameras have adequate light, visible features, correct calibration and enough processing headroom.
- Motion-capture, UWB or external-vision coverage includes the entire planned flight volume and uses the correct local coordinate frame.
- Estimator health, sensor freshness and failsafe behavior have been checked before enabling position modes.
- Mission, return and other global-position-dependent behaviors are disabled or replaced with an indoor-appropriate recovery plan unless a valid external or global position is intentionally supplied.
- The first test is at low altitude, away from people and fragile equipment, with immediate manual takeover available.
Choosing the right replacement for GPS
Choose optical flow plus a range sensor when the goal is an affordable hover or slow indoor movement over a known floor. Choose VIO when the drone must move through varied rooms without installing anchors and the environment offers reliable visual features. Choose motion capture for a calibrated laboratory where repeatability and external pose control justify permanent infrastructure. Choose UWB or another external-position feed for a larger local area that can support anchors and integration. Choose LiDAR-based navigation when visual texture is poor and the added payload and complexity are acceptable.
The central design rule is simple: manual flight can work with inertial and altitude sensing alone, while position hold and autonomy require a trustworthy local reference. Disable indoor GPS, select one suitable alternative, verify the estimator and failsafes, and prove the behavior at low altitude before expanding the flight envelope.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

