← All posts

Drone Tracking With ROS 2 and Gazebo

Using acoustic localization and stereo vision to turn a drone detection into continued observation.

A drone detection becomes more useful when the system can keep watching the aircraft as it moves. I’m developing that capability by connecting acoustic localization on the ground to a camera-equipped observer drone. We built the experiment in ROS 2 and Gazebo, with AI agents carrying out the specialist development.

The observer uses an acoustic cue to find the target, then follows it with the help of stereo vision. The recording below shows the complete run in simulation. The camera views belong to the observer; the map shows both aircraft moving through the scene.

The observer finds and follows its targetThe complete acoustic-guided following experiment, in simulation.

From a fixed detection to a moving viewpoint

Adding an observer that can move extends the acoustic tracking system’s reach. The microphones give it somewhere to look, and the observer can travel with the target to maintain a useful camera view. I want an initial detection to lead to continued contact with the same aircraft.

Acoustic localization and stereo vision contribute together. In this run, the observer keeps following through a gap in acoustic observations because it can still see the target. Sound remains active throughout. The value of the combination is continuity: the observer has another source of information when the ground microphones cannot supply a useful target location.

How the observer finds and follows the target
Ground microphones guide an airborne observer The target drone’s sound reaches ground microphones. Their location cue directs the camera-equipped observer toward the target. The observer finds and follows it with its cameras while sound continues contributing when available. Find and follow Sound Where to look Camera-equippedobserver Target drone Ground microphones Ground microphones guide an airborne observer The target drone’s sound reaches ground microphones. Their location cue directs the camera-equipped observer toward the target. The observer finds and follows it with its cameras while sound continues contributing when available. Where to look Find and follow Sound Ground microphones Camera-equippedobserver Target drone
Ground microphones point the observer toward the target. Its cameras help it keep the target in view.

Developing the robotics in simulation

ROS 2 and Gazebo give us a working setting for developing the drone-tracking design. Both aircraft move through the simulation, and the observer acts on simulated sound and its own camera views. That lets us examine how a sensing decision changes the aircraft’s behaviour over a complete pursuit.

For an autonomous-observer project, that is a useful development capability. We can change the design and examine the resulting behaviour in the same scenario. AI agents make it practical for me to develop the robotics software and the experiment together, with the functioning follower providing a concrete basis for further work.

Drone Tracking With ROS 2 and Gazebo
0:00
1:46