# REFLEX: A Learned On-Board Reflex for Robust Autonomous Collision Recovery of Soft Quadrotors

Robotics.world

> Collision-resilient airframes let quadrotors survive crashes, but surviving an impact is not the same as flying again. After a high-speed wall strike, the vehicle's velocity reverses within tens of…

**arXiv**: 2610.15867 · Preprint · not peer-reviewed

**Published**: 2026-10-11

**Authors**: Jakob Hermeler, Luca Girardi, Gabriel Maquignaz, Stefan Leutenegger, Stefano Mintchev

## In plain words

Collision-resilient airframes let quadrotors survive crashes, but surviving an impact is not the same as flying again. After a high-speed wall strike, the vehicle's velocity reverses within tens of milliseconds and the inertial sensors briefly saturate, causing the stock PX4 estimator's innovation gate to reject valid external velocity measurements for seconds.

## AI summary

## Overview

**Research area:** Robotics — aerial robotics, collision-resilient quadrotor design, learned control, and onboard state estimation.

**Technical level:** Advanced. The paper assumes familiarity with PX4 flight stacks, Kalman-filter innovation gating, reinforcement learning (PPO, actor–critic), and rigid-body flight dynamics.

**Scope:** A single-paper study introducing REFLEX, a PX4 flight mode that uses a learned proprioceptive recurrent policy to stabilize a soft, collision-resilient quadrotor after high-speed wall impacts and then hands control back to the stock autopilot, evaluated in hardware against a matched stock baseline.

## What This Paper Is About

Collision-resilient airframes let quadrotors survive crashes, but surviving an impact is not the same as flying again. After a high-speed wall strike, the vehicle's velocity reverses within tens of milliseconds and the inertial sensors briefly saturate, causing the stock PX4 estimator's innovation gate to reject valid external velocity measurements for seconds. The controller then flies on a near-zero velocity estimate while the vehicle is actually rebounding, so autonomous recovery fails. The paper's goal is to stabilize the vehicle and restore autonomous position control during exactly the window in which the translational estimate is unusable, using only onboard computation, no contact sensors, and no companion computer.

## Key Contributions

1. **Experimental characterization of the failure.** The authors show on real hardware that stock PX4 recovers most 3 m/s impacts but almost none at 5 m/s, and trace the cause to the estimator's innovation gate rejecting valid external velocity measurements after impact, not to structural damage.
2. **The REFLEX recovery architecture.** A flight mode combining three stages: a proprioceptive recurrent policy that commands collective thrust and body rates (CTBR) without any position, velocity, heading, or altitude estimate; an in-flight reinitialization of the translational estimate 0.30 s after engagement; and a consistency-gated handback to the stock autopilot.
3. **Simulation training anchored in real collisions.** A PPO-trained policy with an asymmetric actor–critic setup, whose training episodes are seeded from post-impact states measured in 47 real collisions (1306 states), and which transfers zero-shot to hardware.
4. **Comparative hardware validation.** 22 REFLEX and 14 baseline impacts at a commanded 5 m/s, plus an 11-versus-15 trial tier at 3 m/s, plus a separate exploratory 6 m/s demonstration — with reported recovery rates, estimation errors, spatial envelopes, and onboard computational cost.

## Main Findings

- **Large recovery-rate gap at 5 m/s:** REFLEX recovered 19 of 22 impacts (86%) at 5.03 ± 0.09 m/s, versus 1 of 14 (7%) for the matched stock autopilot at 5.10 ± 0.10 m/s.
- **Consecutive recoveries in one flight:** The final 15 trials were all successful within a single uninterrupted flight, at impact speeds of 4.89–5.13 m/s and intervals of roughly 21 s, with no landing, flight-controller restart, hardware repair, or pilot intervention during recovery.
- **Smaller advantage at lower speed:** At 3.22 ± 0.05 m/s REFLEX recovered 9 of 11 (82%), compared with 10 of 15 (67%) for the baseline at 3.21 ± 0.13 m/s — consistent with the stock stack already coping at lower speeds. This tier included eight consecutive recoveries in one flight at a 16 s cadence.
- **Baseline rejection is the mechanism:** Every 5 m/s baseline trial rejected the external velocity feed for at least 1 s after impact, several for up to 2 s. At 5 m/s, gate settings a median of 3.4 times the flown value (up to ten times) would have been needed to accept the measurements.
- **Acceptance alone is insufficient:** In the two 5 m/s baseline trials where reversal measurements were accepted, the velocity estimate still failed to reconverge within the first 1.5 s, and median velocity errors stayed above 4 m/s. This motivates discrete reinitialization rather than tuning the gate.
- **Estimation improves markedly:** Median velocity error over 0.05–1.5 s after impact was 0.75 m/s for REFLEX versus 5.2 m/s for the baseline. Median time from impact to handback was 0.74 s, and to settling at the retreat position 2.5 s.
- **Rotational sensing survives impact:** Median gravity-direction error was 5° in the first second versus below 2° before impact, with no sustained tilt drift. Gyroscope rates agreed with motion-capture-derived rates (medians of 210 and 211 °/s, per-axis correlation around 0.9), while height stayed within decimeters — the separation that makes proprioceptive stabilization viable.
- **Recovery is spatially compact:** Median maximum wall distance from impact to settling was 2.5 m (range 2.5–3.2 m) for analyzed REFLEX recoveries; the single settled baseline trial reached 6.0 m. Median full-episode bounding volume was 14.5 m³ versus at least 164 m³ for baseline trials.
- **Drift envelope:** All policy-controlled segments of the 15-recovery flight occupied a 2.2 × 1.4 × 1.5 m region in front of the wall; per-trial minimum post-impact height was 1.07 ± 0.32 m, with a lowest floor clearance of 0.3 m.
- **Exploratory 6 m/s results:** A separate flight recovered in two of two attempts, at 6.02 and 6.05 m/s, which the authors state exceeds the previously reported velocity for autonomous wall-collision recovery by 64%. These trials are not included in the comparative statistics.
- **Onboard cost is small:** A REFLEX cycle averages 6.76 µs and peaks at 642 µs, under 7% of the 10 ms period of the 100 Hz policy loop; a stock rate-controller cycle takes 8.43 µs and an EKF2 update 181–210 µs. The hosting work queue uses 2.7% of the CPU, an upper bound on REFLEX's share.
- **All three 5 m/s failures happened after handback:** In one, the reinitialized velocity was within 0.3 m/s of motion capture at handback but rejection had already resumed; in another, the autopilot switched estimator instances and the retreat drove the vehicle toward the wall; in the third, the gate missed a vertical-velocity error where the estimator indicated a slight descent while the vehicle climbed at 2.5 m/s.

## Methodology in Plain English

The team started by instrumenting the problem: they flew a soft, ring-shaped quadrotor (0.371 kg, a 216 mm-diameter woven glass-fiber ring, Pixracer Pro running PX4 v1.17) into a rigid wooden wall under motion capture, at controlled speeds, and logged what actually went wrong. That logging exercise identified the core issue — the autopilot's estimator distrusts the external velocity measurements right after an impact, and its own inertial-only prediction stays wrong for seconds.

From the same 47 real collisions they extracted 1306 post-impact states, sampled 30 to 300 ms after impact in 10 ms steps. Those states became the starting points for reinforcement-learning episodes in simulation. The soft frame was modeled in Isaac Sim as 24 rigid bodies joined by 48 spring–damper joints, fitted against an existing finite-element model, with ports of the PX4 rate controller and mixer, a synthetic IMU with the stock filters and measurement limits, motor lag, and actuator delay (spin-up and spin-down constants of 31 and 20 ms; 3 to 9 ms delay). The collision itself was not simulated — reality supplied it.

The policy sees 13 numbers: body-frame specific force, filtered body rates, estimated body-frame gravity direction, and its own previous action. It deliberately does not see position, velocity, heading, or altitude. The network is small — Dense(13→32, tanh), a single GRU-32 layer, Dense(32→4, linear), 6916 parameters — and runs at 100 Hz, outputting collective thrust plus three body-rate commands straight to the stock rate loop, bypassing position and attitude control. Training used PPO with a recurrent actor and a non-recurrent critic that also saw privileged information (true kinematics, injected attitude-error magnitude, randomization parameters); only the actor is deployed. Seventy percent of episodes start from measured post-impact states; the other 30% use synthetic states with tilts up to 120° and rates up to 2500 °/s, beyond the 2000 °/s gyroscope limit, with additional randomization of noise, frame oscillations, and physical parameters. The reward favors level attitude, low rates, and low speed, with penalties on action changes and deviation from hover thrust, plus a termination penalty.

Onboard, the recovery mode does three things in sequence: it stabilizes with the policy; at 0.30 s it reinitializes velocity, height, and horizontal position in a single filter update (rejecting aiding samples older than 0.50 s and resetting velocity to zero with 1.5 m/s standard deviation if nothing is available), deliberately excluding attitude to keep the policy's gravity input continuous; and it hands back to OFFBOARD only when the velocity innovation test ratio is below 2.5, tilt is under 20°, and roll–pitch rate norm is under 3.0 rad/s, all held continuously for 0.1 s within a 0.5–1.5 s window. A separate re-divergence check triggers repeat reinitialization if the innovation ratio exceeds 2.5 for 0.3 s, at most three times.

## Why This Matters

**Impact on research.** The paper reframes collision recovery as an *estimation* problem as much as a control problem. Prior recovery work at 2.0, 2.58, 3.5, and 3.7 m/s generally assumed valid, externally aided state estimates; this work explicitly operates in the regime where they are invalid, and shows that simply loosening the estimator gate does not fix it. It also establishes a hardware benchmark at roughly 5 m/s with 15 consecutive recoveries, and demonstrates that a 6916-parameter recurrent policy can run inside a flight controller's real-time budget while the surrounding estimator is failing.

**Real-world applications:**

- Inspection of cluttered industrial interiors, underground spaces, and other GPS-denied environments where glass and transparent obstacles defeat avoidance.
- Search and rescue in poor visibility, where fast flight is needed to cover range and contact with obstacles is a realistic expectation rather than an anomaly.
- Forest and canopy monitoring, where branches are numerous, thin, and hard to detect reliably.
- Any PX4-based platform that already carries a collision-tolerant frame and would benefit from a fallback layer beneath its avoidance stack, without adding a companion computer or contact sensors.

**Industry relevance.** The implementation is a PX4 flight mode, runs on a Pixracer Pro, and requires no extra hardware — a low barrier to adoption for commercial and research platforms already in the PX4 ecosystem. The measured compute cost (642 µs worst case against a 10 ms loop) is the kind of number practitioners need to judge whether a learned module can coexist with existing estimator and control workloads.

## Future Directions

- **Continued estimator monitoring after handback.** All three 5 m/s failures occurred after release, and passing the gate did not guarantee continued accuracy. Extending the re-divergence detector beyond handback is named as a priority.
- **A vertical-state consistency check.** The gate checks velocity innovation across all three axes but not height consistency; one failure involved an undetected vertical-velocity error. Adding an explicit vertical check is identified as an open item.
- **Better estimators versus learned control.** The paper does not separate how much performance estimator improvements alone could deliver from how much the learned policy contributes relative to a classical recovery controller using the same reinitialization and handback logic.
- **Direct exteroceptive inputs to the policy.** Retraining with optical flow and a downward rangefinder fed straight to the policy — rather than only through the estimator — is proposed to reduce drift for tighter spaces.
- **Broader collision regimes.** Oblique and glancing impacts, other surfaces and platforms, alternative aiding modalities, and onboard proprioceptive triggering all remain untested; the current evaluation uses near-frontal impacts on one flat rigid wall with motion-capture aiding and an external position-based trigger.
- **Joint design of frame stiffness and controller.** Because compliance shapes both survival and the distribution of post-impact states, co-optimizing the two is raised as a further direction.

## Target Audience

Robotics researchers and graduate students working on aerial vehicle recovery, collision tolerance, and learned control; embedded and autopilot engineers interested in deploying small neural policies within real-time flight-controller budgets; and practitioners building PX4-based platforms for cluttered or GPS-denied inspection who want a recovery fallback that does not require additional sensing hardware. Readers without background in Kalman filtering or reinforcement learning will find the estimation and training sections demanding, though the problem statement and experimental results are accessible on their own.

## Authors’ abstract

Collision-resilient airframes allow quadrotors to survive impacts, but do not ensure autonomous post-collision recovery. Innovation gating in stock onboard estimators often rejects valid external velocity measurements after high-speed impacts, compromising recovery. We present REFLEX, a collision-recovery flight mode that runs entirely on the flight controller, requiring neither contact sensors nor a companion computer. Its proprioceptive recurrent policy stabilizes the…

[The full abstract on arXiv](https://arxiv.org/abs/2610.15867)

[Read the original paper](https://arxiv.org/abs/2610.15867)

## Related papers

- [Task-Driven Closed-Loop Design Optimization of Passively Morphing Quadrotors for Contact-Mediated Narrow Gap Traversal](https://robotics.world/paper/task-driven-closed-loop-design-optimization-of-passively-morphing-2611.09272) 2026-11-06 · cs.RO · Also by Gabriel Maquignaz, Luca Girardi +2
- [RAGNAROK: Radar-Aided Gravity-Normalized Alignment for Robust Open Keyframe-based Radar-Visual-Kinematic-Inertial SLAM](https://robotics.world/paper/ragnarok-radar-aided-gravity-normalized-alignment-for-robust-open-2610.11531) 2026-10-08 · cs.RO · Also by Stefan Leutenegger
- [GOFusion: Real-Time Gaussian-Occupancy Submap Fusion for Fisher-Informed Autonomous Robot Navigation](https://robotics.world/paper/gofusion-real-time-gaussian-occupancy-submap-fusion-for-fisher-informed-2610.25261) 2026-10-18 · cs.RO · Also by Stefan Leutenegger
- [SpotlessGS: Relightable 3D Gaussian Splatting under Dynamic Illumination for Robotic Perception](https://robotics.world/paper/spotlessgs-relightable-3d-gaussian-splatting-under-dynamic-illumination-2608.14713) 2026-08-11 · cs.RO · Also by Stefan Leutenegger
- [Recova: Agent-Guided Failure Recovery for Autonomous Robotic Manipulation](https://robotics.world/paper/recova-agent-guided-failure-recovery-for-autonomous-robotic-manipulation-2610.01178) 2026-10-01 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/reflex-a-learned-on-board-reflex-for-robust-autonomous-collision-2610.15867
