2 min read

Navigation

Autonomous

Autonomous drones use computer vision, SLAM, and AI for navigation. These systems can be attacked through sensor spoofing and adversarial inputs.

Autonomous Navigation Systems

Visual Navigation

  • Optical flow (position hold)
  • SLAM (mapping)
  • Obstacle avoidance
  • Landing detection

Attack Vectors

  • Camera blinding
  • Pattern spoofing
  • Adversarial patches
  • Sensor flooding

Vision System Attacks

Visual navigation is a sensor fusion problem, and the attacks follow from that: you are not breaking the algorithm, you are giving it a world that is not there. Five patterns cover most of the published work, and each one maps to a different failure mode in the flight controller.

  • IR blinding. The downward-facing sensors on DJI airframes and many indoor drones use IR or time-of-flight illumination. Saturating that band makes the sensor report no return, which typically fails altitude hold rather than producing a clean error - the aircraft holds its last believed height.
  • Optical-flow confusion. A moving pattern under the aircraft gives the flow sensor a velocity reading it did not earn, and position-hold integrates that into drift. Textured surfaces and conveyor-like motion are the classic setups.
  • Obstacle-detection spoofing. An artificial obstacle ahead stops the aircraft early; masking a real one lets it continue into it. Both are the same attack with the sign flipped, and both depend on the sensor's field of view rather than on the algorithm.
  • Landing-marker spoofing. Precision landing trusts a fiducial marker (AprilTag or ArUco) on the ground. Planting a matching marker moves the touchdown point, which is a landing-site attack rather than a navigation one.
  • SLAM manipulation. Modifying visual features to break loop closure makes the map drift, and a drifted map is a route change without a single command being sent.

Reproducing It in SITL

None of the above needs an airframe to study: PX4 and ArduPilot both ship software-in-the-loop simulation, and the vision pipeline is the same code in simulation and on hardware. The one thing to get right in 2026 is the stack. roslaunch px4 mavros_posix_sitl.launch is a ROS 1 invocation; ROS 1 Noetic reached end of life in May 2025, and PX4's supported bridge is ROS 2 over uXRCE-DDS. MAVROS still exists, but it is no longer the maintained path.

px4-sitl-ros2.sh
git clone https://github.com/PX4/PX4-Autopilot.git --recursive
cd PX4-Autopilot
make px4_sitl gz_x500

# second shell: the ROS 2 bridge (PX4 v1.15+, ROS 2 Jazzy)
MicroXRCEAgent udp4 -p 8888

# third shell: confirm the bridge is carrying vehicle state
ros2 topic echo /fmu/out/vehicle_local_position

ArduPilot's equivalent is sim_vehicle.py -v ArduCopter --console --map from a ardupilot checkout. In either simulator you can replay a recorded sensor stream, inject a synthetic optical-flow topic, or feed the vision stack a video file, which is how an adversarial-patch result becomes reproducible instead of a claim.