GapFlyt: Active Vision Based Minimalist Structure-less Gap Detection For Quadrotor Flight

Nitin J. Sanket, Chahat Deep Singh, Kanishka Ganguly, Cornelia Fermüller, Yiannis Aloimonos

Abstract

Autonomous navigation through unknown apertures is a critical capability for small-scale quadrotors. While conventional methods rely on dense 3D reconstruction, these are often computationally prohibitive for minimalist platforms. We present GapFlyt, a structure-less framework that utilizes active vision and a novel Temporally Stacked Spatial Parallax ($TS^2P$) algorithm to detect and traverse gaps of unknown shape and location. By identifying depth discrepancies through controlled motion, GapFlyt enables high-speed traversal (up to 2.5 m/s) with high precision, even in texture-poor environments where traditional SLAM fails.

Introduction

The challenge of flying through a window or a gap is a fundamental task for agile drones. Most current solutions involve building a detailed 3D map of the environment using SLAM or Structure-from-Motion (SfM). However, such "representation-first" approaches are often overkill for the specific task of gap traversal and impose heavy computational and power burdens. Inspired by the active vision strategies of flying insects, we propose a minimalist approach that prioritizes action-relevant perception over global mapping. The goal is to find and pass through a hole of unknown shape using only a monocular camera and an IMU.

Methodology

The GapFlyt system operates in two distinct phases: Detection and Traversal.

  1. Detection via Active Vision & $TS^2P$: To detect the gap, the quadrotor performs a "diagonal scan" (active movement). This creates optical flow. We introduce the Temporally Stacked Spatial Parallax ($TS^2P$) algorithm. By stacking optical flow magnitudes over multiple frames, the system identifies the depth discrepancy between the foreground (the wall) and the background (the scene behind the gap). FlowNet2 is used for robust flow estimation across various textures.
  2. Traversal via Visual Servoing: Once the gap is found, the system doesn't track the whole 3D scene. It simply tracks "foreground" and "background" labels. The controller calculates a "safest point" (the barycentric mean of the gap) and uses a PID-based visual servoing policy to align the drone's body center with that point as it moves forward.
Figure 2: The GapFlyt pipeline showing (a) the active vision scan for gap detection and (b) the subsequent traversal phase.

Experimental Setup and Results

The authors evaluated the system using a Parrot Bebop 2 drone equipped with an NVIDIA Jetson TX2. To test robustness, they created ten different environmental setups using various textures: "Bumpy" (crumpled paper), "Leaves" (magnolia foliage), "Newspaper," and "Low-Texture" (plain white foam-core).

Figure 4: Experimental setup illustrating the foreground wall with a gap and the background scene, used to validate the depth discrepancy detection.

Key Results

  • Success Rate: The system achieved an 85% success rate across 150 trials with various gap shapes.
  • Precision: It successfully navigated gaps with a minimum tolerance of just 5cm (the space between the drone's edge and the gap's edge).
  • Speed: Traversal was demonstrated at speeds up to 2.5 m/s.
  • Robustness: Unlike traditional SLAM, which often failed in low-texture environments, GapFlyt remained functional even on plain white walls, provided there were minimal scribbles for tracking.

Discussion and Future Work

GapFlyt demonstrates that complex 3D representations are not strictly necessary for high-speed obstacle avoidance and gap traversal. By coupling active perception with task-driven control, minimalist quadrotors can navigate challenging, unknown environments efficiently.

However, the current framework assumes a static environment; moving obstacles would likely confuse the parallax-based detection. Furthermore, as a monocular system, it lacks absolute scale. Future work aims to couple IMU data more tightly to estimate physical window size and to extend the system to more aggressive maneuvers, such as high-tilt rolls to fit through narrow slits.

Summary updated

Abstract

Although quadrotors, and aerial robots in general, are inherently active agents, their perceptual capabilities in literature so far have been mostly passive in nature. Researchers and practitioners today use traditional computer vision algorithms with the aim of building a representation of general applicability: a 3D reconstruction of the scene. Using this representation, planning tasks are constructed and accomplished to allow the quadrotor to demonstrate autonomous behavior. These methods are inefficient as they are not task driven and such methodologies are not utilized by flying insects and birds. Such agents have been solving the problem of navigation and complex control for ages without the need to build a 3D map and are highly task driven. In this paper, we propose this framework of bio-inspired perceptual design for quadrotors. We use this philosophy to design a minimalist sensori-motor framework for a quadrotor to fly though unknown gaps without a 3D reconstruction of the scene using only a monocular camera and onboard sensing. We successfully evaluate and demonstrate the proposed approach in many real-world experiments with different settings and window shapes, achieving a success rate of 85% at 2.5ms$^{-1}$ even with a minimum tolerance of just 5cm. To our knowledge, this is the first paper which addresses the problem of gap detection of an unknown shape and location with a monocular camera and onboard sensing.
BibTeX
@article{sanket2018gapflyt,
  author = {Nitin J. Sanket and Chahat Deep Singh and Kanishka Ganguly and Cornelia Fermüller and Yiannis Aloimonos},
  title = {{GapFlyt: Active Vision Based Minimalist Structure-less Gap Detection For Quadrotor Flight}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2018},
  doi = {10.1109/lra.2018.2843445},
}
Figure