Manuscript Offprint
arXiv:2611.09272Task-Driven Closed-Loop Design Optimization of Passively Morphing Quadrotors for Contact-Mediated Narrow Gap Traversal
Etor Arza¹, Luca Girardi², Gabriel Maquignaz², Javier Paez¹, Stefan Leutenegger², Stefano Mintchev³, and Kostas Alexis¹
Abstract—Aerial robots operating in cluttered environments may encounter openings narrower than their nominal width. Existing passively morphing drones reduce their width upon traversal, but they typically involve human-made designs, which can struggle to find the right balance among folding ratio, flight efficiency, and control tracking performance. We introduce a closed-loop design method that jointly optimizes quadrotor geometry and the torque-deflection response of two passively folding arms driven by the success rate in simulation for contact-mediated gap traversal. An optimization algorithm samples candidate designs that are evaluated in a contact-based simulation of the traversal task, where the task success rate is used as a feedback signal to sample progressively better designs over time. The resulting prototype passively reduces its width from 31.3 to 14.1 cm and traverses a 15 cm wide opening at a 2 m/s reference speed. It also tolerates gap approach-angle errors of up to 30° and folds through a 40 cm long confined passage. Compared to a rigid twin, the soft configuration adds only 2 mm of position RMSE and less than 1% electrical power during contact-free flight. These results show that task-driven closed-loop design optimization can produce passively morphing airframes that are compact under contact, tolerant to approach error, and effectively rigid during nominal flight.
I. INTRODUCTION
The width of an aerial robot can impose a hard limit on the environments it can access. In cluttered indoor, industrial, and natural settings, an otherwise traversable route may contain openings narrower than the vehicle's nominal width. Rigid quadrotors can reduce their projected cross-section through aggressive attitude maneuvers [1], [2], but the opening must still exceed the vehicle's minimum projected dimension. Moreover, successful traversal requires accurate perception, state estimation, and timing, making this strategy difficult to deploy reliably in real-world settings.
Morphing aerial robots can overcome this geometric limitation by temporarily reducing their width. For instance, actuated morphologies [3]–[5] can decrease width on demand, but increase system complexity through additional servomotors and adaptive control strategies. Thrust-triggered quadrotor arm folding through passive joints [6], [7] can achieve large and rapid shape changes, but requires invertible thrust and limiting maneuverability to avoid unintentionally triggering the passive joints. Contact-mediated passively reconfigurable designs are therefore particularly attractive as
they leverage contact with the environment to initiate and maintain shape change [8]–[12] without requiring additional actuators or invertible thrust. However, the geometry and compliance of these existing designs are not specifically optimized for the traversal task, where the trade-off between in-flight rigidity (and consequently tracking accuracy and power consumption) and the maximum achievable squeeze is not specifically addressed. Aerial robots that achieve contact-mediated in-flight narrow-gap traversal only pass through gaps up to 29% narrower than the drone's span [8]–[10].
A well-designed passively morphing quadrotor must remain effectively rigid under rotor loads during nominal flight and simultaneously easily reduce its width when the opening applies contact forces. After traversal, it must restore the nominal flight configuration. A design that is too flexible can deform during normal flight, leading to worse control, while a stiffer structure can be difficult to compress through the gap. When airframe geometry and compliance are selected by hand, it is particularly difficult to identify which combinations best enable both successful gap traversal and good nominal flight control performance. Previous works show contact-mediated narrow-gap traversal is possible but generally propose a planar quadrotor architecture and compliance guided by engineering intuition. To the best of our knowledge, no prior work has jointly optimized airframe geometry and compliance directly driven by closed-loop performance over the complete narrow-gap traversal and recovery task.
In this work, we introduce a task-driven closed-loop design optimization approach for soft quadrotors, optimized for narrow-gap traversal. Figure 1 summarizes the proposed closed-loop design optimization pipeline and the resulting vehicle's key capabilities. We jointly optimize a 22-parameter quadrotor geometry and the programmable nonlinear torque deflection response of two passively folding side arms directly for traversal success. The compliant response is achieved using elastic rolling cam (ERC) joints [13], whose cam profiles can be synthesized to produce nonlinear restoring torque as a function of the bending angle. This nonlinearity can be tuned to allow airframes to remain rigid near the nominal configuration, while bending with low effort after contact. A black-box optimizer evaluates candidate designs using GPU-parallel contact simulation with a nonlinear model predictive controller (NMPC) whose model parameters are instantiated analytically from each candidate morphology. Control-authority and joint-realizability repair procedures modify infeasible candidates before evaluation,
¹Department of Engineering Cybernetics, Norwegian University of Science and Technology (NTNU), Trondheim, Norway. Corresponding author: Etor Arza, etora@ntnu.no ²Mobile Robotics Lab, Department of Mechanical and Process Engineering, ETH Zurich, Zurich, Switzerland. ³Agricultural Robotics, University of Bonn, Bonn, Germany.

Fig. 1. Task-driven closed-loop design optimization of passively morphing quadrotors for contact-mediated narrow-gap traversal. (a) Physical prototype in extended and folded configurations, with width reduced from 31.3 to 14.1 cm. (b) Airframe capabilities: contact-induced arm folding enables traversal through a long tube and narrow openings, including angled approaches. (c) Airframe geometry and passive joint responses are jointly optimized using simulated gap-traversal success rate, with repairs for control authority and joint realizability, followed by fabrication and real-world validation.
ensuring that the search considers only manufacturable designs that retain at least 95% of the acceleration capabilities (maximal angular acceleration in roll, pitch, and yaw, in addition to thrust to weight) of a planar reference design in + configuration that shares Morphy's arm length and propulsion system [9]. The proposed approach allows the complete contact → folding → recovery sequence to select a task-adapted design, without relying on geometric or mechanical proxy objectives. An ablation study shows that this joint optimization is key, as optimizing geometry or joint compliance alone produces designs that fail at narrow gaps, whereas optimizing both together produces a design that traverses gaps 52% narrower than its nominal width. The complete pipeline produces a flight-ready design in about 18 h on a single laptop GPU. The accompanying video is available at https://youtu.be/xGkEt16-vCA. The code is available at https://github.com/ntnu-arl/soft-quadrotor-optimization.
The main contributions of this work are:
-
A closed-loop design optimization method that jointly optimizes the geometry and passive joint compliance of a morphing quadrotor directly from simulated gap-traversal success rate.
-
A real-world prototype that passively folds from a 31.3 to a 14.1 cm width, and traverses a 15 cm-wide opening (52% narrower than its unfolded width) and a 40 cm-long, 22.5 cm-diameter tube (28% narrower).
-
Successful traversal of a 20 cm gap (36% narrower) with approach angle errors of up to 30°, demonstrating tolerance to misaligned contact.
-
Compliance-mediated passive morphing that adds only 2 mm of position RMSE and less than 1% electrical power relative to a rigid twin in nominal flight.
Figure 1c summarizes the optimization pipeline. The optimization algorithm samples a real valued vector of 22 geometry parameters and 4 joint response parameters that represent a candidate design to be evaluated. The sampled design is not necessarily realizable, so in a first step, we repair the candidate design 1) to ensure good control authority (an angular acceleration capability and thrust-to-weight) close to those of a planar reference design and 2) to ensure physically realizable joint responses. Repairing a design involves finding the closest possible design that meets the criteria above. The repaired design is evaluated on the gap-traversal task in GPU-parallel simulation using a nonlinear model predictive controller (NMPC). Its success rate over a fixed set of gap widths is returned to the optimization algorithm, which provides the next candidate design. After optimization, the best design is modeled in CAD, 3D printed, assembled, and tested in the real world. In the rest of this section, we explain this pipeline in more detail.
A. Elastic Rolling Cam Joints
An elastic rolling cam (ERC) joint is a passive joint with a single degree of freedom and a programmable torque-
(a) ERC joint response

(b) Geometry parameterization
Fig. 2. (a) Requested (dashed) and repaired (solid) ERC restoring-torque response parameterized by . (b) Geometry parameters on the optimized airframe.
deflection response [13]. It consists of two spring-loaded cams that roll against each other, with interlocking teeth that prevent slip. As the joint bends, the cam profiles alter the spring extension and the joint's moment arm, producing a restoring torque that depends on the joint deflection . The cam geometry thus defines the passive nonlinear elastic response without requiring a dedicated actuator. Through inverse design, cam profiles can be generated from a desired torque-deflection curve, as long as the resulting geometry is convex and the spring stroke and energy limits are satisfied [13].
For each side arm, the self-collision angle defines the maximum admissible folding angle before the arm collides with another part of the airframe. We parameterize the target torque-deflection response of each ERC joint with four variables that define a piecewise-linear profile over the folding range (Figure 2a). The parameter is the torque reached at the end of a short initial stiff segment, is the torque at an intermediate point placed at an angle proportional to , and is the torque just before the maximum bending angle . Deflections outside of this range are blocked with a stiff response.
Not every desired torque response can be obtained with an ERC joint (there are energy, cam convexity and spring stroke constraints) [13]. Therefore, a joint-response repair procedure maps a requested (desired) torque response to the closest physically realizable (repaired) response . We additionally require the response torque to reach, within the first degree of deflection, at least 110% of the maximum torque that the arm's rotor can exert about the joint axis at full thrust. This 10% margin keeps the arm rigid under rotor loads during nominal flight. The repaired response is implemented as a restoring-torque lookup table in simulation.
B. Soft Airframe with Programmable Joints
The robot morphology is a quadrotor in + configuration with two rigid arms (front, back) and two soft side arms. Each side arm consists of a short base segment and an outer segment that carries the motor and is connected through a passive ERC joint. Each candidate design is encoded as a real valued vector , where contains the 22 airframe-geometry parameters and the four scalars that define the torque-deflection requested as explained before.
The geometry parameters are listed in Table I with each component mapped affinely from to its listed physical range (see Figure 2b for
TABLE I
GEOMETRY PARAMETER RANGES AND OPTIMIZED VALUES.
| Variables | Parameter | Symbols | Range | Optimized |
|---|---|---|---|---|
| Front/Back arm length | [5, 15] cm | 8.51 / 8.99 | ||
| Left/Right arm length | [5, 15] cm | 8.89 / 8.98 | ||
| Front/Back propeller roll | [-45, 45]° | 0.42 / 0.44 | ||
| Front/Back propeller pitch | [-45, 45]° | 16.57 / 17.21 | ||
| Front/Back propeller yaw | [-45, 45]° | 0.00 / 0.00 | ||
| Joint axis roll | [-30, 30]° | -24.15 / 30.00 | ||
| Joint axis pitch | [-45, 45]° | 37.02 / 37.73 | ||
| Joint axis yaw | [-5, 5]° | 1.39 / 3.85 | ||
| Left/Right propeller roll | [-45, 45]° | 22.47 / -28.51 | ||
| Left/Right propeller pitch | [-45, 45]° | -19.55 / -21.36 | ||
| Left/Right propeller yaw | [-45, 45]° | 0.00 / 0.00 |
an illustration). These geometry parameters also determine the position and orientation of the axis about which each side arm folds. We limit the allowed joint axis orientations so that contact forces from the gap edges act primarily in the direction that bends each side arm about its joint axis, causing it to fold. Large forces acting in other directions would bend or twist the joint in ways it is not designed to accommodate, making folding less reliable and increasing the risk of arm dislocation. The optimized column reports the repaired geometry used in simulation and hardware. Rotating a propeller about its own thrust axis does not change its thrust or drag torque. We therefore map each propeller orientation to an equivalent canonical orientation with the same thrust direction and the yaw angle closest to zero, which is why all propeller yaw angles in Table I are zero.
C. Control Authority Repair
In this work, we define control authority as the maximal angular acceleration and vertical thrust acceleration that the vehicle can achieve while compensating for gravity. We repair candidates with insufficient control authority by solving for the smallest parameter change that restores the required acceleration capabilities relative to a reference planar design. Specifically, we require the repaired design to retain at least 95% of the reference design's maximum vertical thrust acceleration (with zero lateral force and torque), denoted as , positive and negative roll ( ) and pitch ( ) angular accelerations while compensating gravity, and positive and negative yaw angular accelerations ( ). Each capability is satisfied by motor forces acting through the allocation matrix . Denoting the reference capability values by , we formulate the repair as
where are the minimum and maximum motor forces.
D. Gap-Traversal Task
We evaluate the candidate designs in Isaac Lab [14] with GPU-parallel rigid-body physics at 500 Hz and control at 100 Hz. Each of the 100 parallel environments contains a wall with a rectangular gap, with gap widths evenly spaced over [0.15, 0.25] m. The 25 cm upper bound is set just below Morphy's 25.2 cm nominal width [9]. The lower end of the

Fig. 3. Repeated evaluation of four designs with 400 trials per gap width. Left: success probability. Right: mean maximum tilt during the first 0.2 seconds after traversal among successful trials where success exceeds 30%.
gap size is above the 12 cm minimum folded width (set by the 5 cm-wide electronics cage and each side arm's 2 cm fixed base segment and 1 cm-thick folding segment per side).
In each episode, the vehicle starts in hover 2 m in front of the wall and tracks a reference that crosses the gap center at a forward speed of 2.0 m/s and ends in hover 1 m behind the wall. The side arms contact the gap edges and fold, the vehicle squeezes through, and the arms re-extend under their elastic response. An episode is a success if the vehicle reaches 0.6 m beyond the wall with a speed below 0.25 m/s and with both arms re-extended to within from the nominal configuration. It is a crash if the vehicle is blocked by the wall, exceeds the attitude-error limits, leaves the flight volume, or stalls inside the gap, and a timeout if it fails to succeed in 2.5 s. To encourage safe traversal, attitude errors above near the gap count as a crash during optimization even when the vehicle could recover.
The goal of the optimization is to find a design that has a high traversal success rate at every gap width. Estimating success rate accurately would be computationally costly, with 400 rollouts per gap width for example requiring approximately 9 hours per design. We therefore maximize a cheaper proxy, calculated as the percentage of successful episodes over the 100 environments with one rollout per width, which takes about 80 s per design.
To check whether optimization using this proxy selects designs with high traversal success rates, we take the designs selected after 200, 400, and 800 optimization evaluations and then reevaluate them alongside the best of 50 random designs using 400 rollouts per width and no attitude termination, as shown in Figure 3. As optimization progresses, the success rate across gap widths increases and mean maximum tilt decreases (we use the word tilt to refer to the angle between the body vertical axis and the world vertical axis).
E. NMPC controller
Every design is flown by the same NMPC controller, with the model analytically defined from the candidate geometry. The state collects position, velocity, attitude quaternion, body rates, and the four rotor speeds; the input are commanded motor forces. The dynamics are
(2)
where denotes quaternion multiplication, is the total mass, is the body-to-world rotation matrix, is the world-frame gravity vector, is the vector of actual motor forces, is the rotor thrust coefficient relating rotor speed to thrust (), is the first-order motor time constant, and the allocation matrix , mass , and inertia are computed from the geometry parameters with the arms in their extended configuration. Note that the NMPC model neglects the short-lived change in allocation matrix and inertia caused by ERC arm deflection during gap traversal, since this deflection is not measured and the arms quickly extend back after traversal. The NMPC solves
subject to the dynamics in Equation (2), with residual containing errors in position, velocity, attitude rotation-vector, and body rates, plus input magnitude and input-change penalties, where the body-rate error uses a zero reference. We use a prediction horizon of 0.5 s and solve it with the real-time iteration scheme of sequential quadratic programming in acados [15].
The diagonal entries of W are the weights in Table II, with triples ordered as x, y, z and scalar input weights repeated for each motor. We use two weight sets: a flight set for gap approach and a recovery set for stabilization. During
TABLE II: NMPC WEIGHTS.
| Flight | Recovery | |
|---|---|---|
| (0.05,30,10) | (2,2,10) | |
| (0.30,4,15) | (3,3,5) | |
| (4,2,2) | (4,2,2) | |
| (1,1,0.5) | (1,0.5,0.5) | |
| u | 0.12 | 0.12 |
| 35 | 80 |
flight, the position weight along y is 30, compared with 0.05 along x, to prioritize lateral alignment with the gap center. Recovery reduces the lateral position weight to 2, and increases the input-change penalty from 35 to 80 to avoid extreme motor commands that destabilize the drone. The terminal residual contains only the first four residual groups, and is twice the corresponding diagonal block of W.
For the real-world experiments, we further tuned some of the parameters. In simulation, motor revolutions per second (rps) were limited between 83 and 400 rps, as we experimentally verified that a first-order motor model fit the real motors well in this range. For real-world experiments, we increased the lower bound to 200 rps and used during flight and 80 during recovery (up from in simulation). These parameters showed smoother motor actions and a better recovery after contact in the real drone.
F. Optimization Strategy
The optimization algorithm maximizes the success rate of the candidate airframes with a fixed budget of 800 evaluations in two steps. Each evaluation involves running the full repair-synthesize-simulate pipeline of Figure 1c. As in previous work on performance based multirotor optimization [16], we first use Bayesian optimization (BO) [17] for 400 eval-

Fig. 4. Simulation optimization results. (a) Candidate success rates (gray), best-so-far curve (black), and BO-CMA-ES transition (dotted) over the 800 evaluations. Optimized airframe (b) maximally folded and (c) overlaid with its extended configuration in top view; folding reduces its width from 31.3 to 14.1 cm (55%). (d) Requested and repaired left/right ERC restoring-torque responses; positive is the folding direction and negative is blocked.
uations, where the first 50 are space filling initialization samples. BO serves as a global exploration algorithm and is suitable for low-budget noisy optimization. Then, covariance matrix adaptation evolution strategy (CMA-ES) [18] performs local refinement around the best solution found by BO for another 400 evaluations.
III. EVALUATION STUDIES
A. Simulation
We ran the optimization pipeline described in Section II-F. Each candidate is evaluated on the success rate over 100 parallel rollouts with gap widths evenly spaced in [0.15, 0.25] m. Evaluating a design takes s (mean standard deviation over all 800 designs), and the complete optimization finished in about 18 h on a single laptop GPU (NVIDIA RTX 4080).
Figure 4a shows the success rate of each candidate and the best success rate found so far. The task is hard for random designs: the best of the 50 space-filling samples that initialize BO succeeds in only 15% of its rollouts. BO identifies a promising region and raises the best success rate to 56%. The subsequent local refinement with CMA-ES nearly halves the failure rate, and the final design reaches a success rate of 79% (21% classified crashes, no timeouts) . Many candidates in the CMA-ES phase obtain a high success rate, which indicates that the best design lies in a consistent well-performing region of the design space.
Figure 2b shows the optimized airframe in its extended configuration, and Table I reports its complete repaired geometry. The airframe has approximate bilateral symmetry in its overall shape, where angular-acceleration capabilities differ by at most 0.24% across roll, pitch, and yaw. We did not enforce bilateral symmetry in the parameterization, but the optimization still converged to an approximately symmetric design, likely due to symmetric control-authority constraints and because symmetric arm folding may facilitate gap traversal by minimizing yaw disturbances with a symmetric arm contact on the gap.
The obtained joint response has low requested restoring torques through most of the folding range (yield torque Nm and intermediate torque Nm at 83% of the travel), followed by a rise to Nm near the end of travel (Figure 4d). The left and right repaired responses are intentionally different despite sharing the same requested profile because the rigidity constraint is evaluated
independently for each arm. The two side propellers rotate in the same direction, so the propeller drag torque opposes the thrust-induced joint moment on the left arm but reinforces it on the right. For the optimized design, the resulting right-arm rigidity bound is about twice the left-arm bound (0.116 versus 0.057 Nm), producing the distinct repaired curves in Figure 4d. In successful simulated crossings, the arms remain extended before contact, fold while constrained by the gap, and re-extend after clearing it. We build this design (Figure 1a) and use it in the real-world experiments in the remainder of this section.
1 ) Ablation Study
We repeated the optimization of Section II-F with 800 evaluations on two reduced design spaces. The geometry-only variant optimizes g with rigid side arms. The soft-joint-only variant fixes the airframe to a planar quadrotor and optimizes and the

Fig. 5. Success probability for the best designs optimized over the full and reduced design spaces.
bending axes of the soft joints. Figure 5 shows the success probability per gap width. Optimizing the geometry or the soft joints alone yields designs that fail at the narrower gaps. Only when we optimize both together do we obtain a design that succeeds even at gaps 52% narrower than its nominal width, whereas prior contact-mediated designs pass gaps at most 29% narrower than their span [8]–[10].
2 ) Effect of the Optimization Seed
We repeated the optimization with three additional seeds, for a total of four runs with 800 candidate evaluations each. The best designs from the four runs have similar arm lengths and orientations (see top of Figure 6). The repaired joint responses are similar across seeds for each arm, with a consistent difference between the left and right arms due to the rigidity constraints discussed above for the optimized design in Figure 4d. The top left design (white) is used in the physical experiments.
B. Real-World Experiments
1 ) Gap Traversal
We flew the vehicle in a motion-capture arena, where the motion-capture pose estimates are streamed to the onboard flight controller, and the NMPC described in Section II runs onboard. The experiment involves a wall with a cm rectangular opening and a reference that crosses the gap
The 21% of crashes result solely from exceeding the strict attitude-error limit near the gap: if allowed to continue, every affected rollout recovers and meets the success conditions.

Fig. 6. Best designs from four optimization runs with different seeds. Top: render of folded airframes. Below: geometry parameters and restoring torque. Colored lines show the parameters of the best found airframe for each seed (color matches render above), while gray lines show all evaluated airframes.
center at 2 m/s and ends in hover behind the wall. We report traversal positions relative to the gap center, where . The opening is less than half of the 31.3 cm rest (nominal) width of the vehicle and only slightly wider than its 14.1 cm fully folded width. Therefore, the vehicle must fold almost completely to pass the gap in level flight. For comparison, Morphy [9], which uses the same propulsion system and a similar platform size, squeezes only from 25.2 to 22 cm.
Figure 7 shows a traversal through this opening (video at 1:48). The vehicle approaches in level flight (frame A) and reaches the gap well-centered: over the final half meter before contact, its maximum lateral deviation from the commanded crossing line is 5 mm and its mean forward speed is 2.07 m/s against the 2 m/s reference. On contact, the gap edges fold both side arms, and the constrained squeeze rotates the vehicle to a peak tilt of 94° within 0.11 s of the crossing (frames B–D). The vehicle slides down and bends the arms further (frames D–F). The arms re-extend under their elastic response after the wall traversal (frames G and beyond). The drone then recovers, and the vertical position reaches m while the controller prioritizes attitude recovery, and the tilt returns below 10° within 2.2 s of the crossing.
2) Traversal Through a Confined Tube
The wall experiment applies contact at a single plane, after which the arms are free to re-extend. We further test the mechanical capability of the drone by replacing the wall with a transparent cylindrical tube aligned with the flight direction. The tube is 40 cm long and 22.5 cm in diameter: its diameter is 72% of the vehicle's 31.3 cm extended width. For this experiment, the origin is at the center of the tube entrance. The vehicle tracks the same 2 m/s

Fig. 7. Traversal of a 15 × 20 cm opening. Top: video frames of the crossing. Bottom: logged gap-relative position, velocity, tilt, and rotor speeds. Dotted vertical lines mark the frame instants.
crossing-speed reference towards the entrance of the tube, after which we add a fixed 0.25 s coast interval in which all four motors are commanded at 200 rps during the tube traversal. The recovery NMPC then resumes. This prevents the controller from fighting the tube constraint while the drone travels through the tube with the arms folded.
Figure 8 shows the traversal (video at 2:14). Over the final half meter before the tube entrance, the maximum lateral deviation of the vehicle from the tube axis is 4 mm and its mean forward speed is 2.03 m/s. Contact with the entrance folds both side arms (frames A–B), and the tube holds them folded as the vehicle passes through (frames C–E). The vehicle center travels from the entrance to the exit in 0.30 s (area marked in yellow in the figure). Once clear of the tube, the arms re-extend under their elastic response (frames F–G) and the recovery NMPC recovers from the resulting motion. During recovery, the vehicle reaches a peak tilt of 92° and reaches m relative to the entrance center before stabilizing.
3) Robustness and Approach Angle
In a real deployment, the drone would rarely approach the gap perfectly aligned, yet prior morphing-airframe traversal experiments report only normally aligned approaches and do not test tolerance to approach-angle error [3]–[9], [13]. In this experiment we further test the robot-and-controller solution
TABLE III
FAILURES OVER 20 CONSECUTIVE TRAVERSALS PER APPROACH ANGLE.
| Approach angle | 0° | 10° | 20° | 30° | 35° |
|---|---|---|---|---|---|
| Arm dislocation | 0 | 0 | 0 | 1 | 3 |
| Loss of control | 0 | 0 | 0 | 0 | 0 |
| Altitude loss | 0 | 0 | 0 | 0 | 1 |
| Max. altitude loss [m] | 0.50 | 0.50 | 0.51 | 0.49 | 0.96 |

Fig. 8. Traversal of a 40 cm-long, 22.5 cm-diameter tube. Top: video frames of the traversal. Bottom: entrance-relative position, velocity, tilt, and rotor speeds. The origin is at the tube entrance center where x = y = z = 0. Dotted vertical lines mark the frame instants, and shading marks the interval in which the vehicle is inside the tube.
which at design time only encountered aligned gap traversal, and test its robustness to gap orientation misalignment by repeating the traversal of a 20 cm-wide opening with the reference path rotated about the gap center by , and , keeping the vehicle, the controller, and the 2 m/s crossing reference speed unchanged (Figure 9, video at 2:44). The drone flies 20 consecutive traversals at each angle.
The drone geometry provides an ideal upper bound on the admissible approach angle. Consider the fully folded drone as a strip of width aligned with its flight path, and approximate the opening as a plane, so that the two sides of the strip cross the wall plane apart at an approach angle . Geometric passage through an opening of width requires , giving for cm and cm.
An angled approach breaks the symmetry of the contact: the leading arm touches its gap edge first, and the edge forces act along the flight direction rather than along the folding direction. As a consequence, the contact impulse produces an increasingly large rotational disturbance. The median peak
| Approach angle | 0° | 10° | 20° | 30° | 35° |
|---|---|---|---|---|---|
| Arm dislocation | 0 | 0 | 0 | 1 | 3 |
| Loss of control | 0 | 0 | 0 | 0 | 0 |
| Altitude loss | 0 | 0 | 0 | 0 | 1 |
| 0° | 10° | 20° | 30° | 35° |
|---|---|---|---|---|
| 0.0 s | ||||
| 0.1 s | ||||
| 0.2 s |

Real-time video of all traversals: https://youtu.be/TLzvmtZQMrI
Fig. 9. Traversal of a 20 cm opening at approach angles of 0–35°. Top: high-speed camera frames. Bottom: top view of the trajectory and boxplots over 20 traversals per angle of the peak angular velocity and of the altitude loss on successful traversals.
angular velocity within 0.2s of the crossing grows with the approach angle, from 10.5 rad/s at normal incidence, to 16.0 rad/s at , and to 22.7 rad/s at (Figure 9).
The leading side arm dislocated on contact with the wall in 1 of 20 traversals at and 3 of 20 at (Table III). In all other traversals, the vehicle recovered to hover without loss of control, with a median altitude loss between 0.28 and 0.41 m at each angle. We count a drop of more than half of the 1.58 m gap-center height as an altitude-loss failure, which occurred once, with 0.96 m at . At , the vehicle did not complete a successful traversal in multiple attempts. Gap traversal is therefore robust on traversals up to , which nears the ideal limit of . Essentially, up to , the system does not fail due to body design or control issues and only experiences mechatronic problems of arm dislocation owing to its prototype realization through 3D printing and other manufacturing limitations. At an approach angle of , mechanical issues are more frequent, while one altitude loss-based failure is encountered.
C. Soft Airframe in Nominal Free-Flight
In this experiment, we quantify the cost of the compliance in nominal contact-free flight, in terms of tracking accuracy and power consumption. We compare the optimized vehicle against a rigid twin: the identical airframe with the two elastic side joints replaced by rigid connections of the same geometry and with the same weight. Both configurations fly a 2.4 m-diameter circular trajectory at 1.5 m/s for 5 min per flight. Each configuration flew three flights with the same three battery packs (six flights in total), with the same NMPC in both cases.

Rigid Soft Morphy A - B C
Fig. 10. Nominal-flight cost of the passive joints on a 2.4-m-diameter circular trajectory at 1.5 m/s. Left: position error for soft-arm and rigid-arm flights and Morphy [9]. Right: battery voltage during the six 250 s comparison windows, where line color identifies the arm configuration and line style identifies the battery pack.
Figure 10 shows tracking error and battery voltage over time. The soft arms increase position RMSE from to cm. Both configurations track considerably better than Morphy [9], whose position RMSE is cm. Flights took off at different states of charge, so to make discharge rates comparable, each voltage trace was aligned to start at 15.96 V and cut to a shared 250 s window. With soft arms, the mean electrical power (about 106 W) is 0.4–0.9% higher than with rigid arms, and the final voltage differs by at most 0.022 V. Thus, the compliance that enables traversal of 15 cm gaps costs only 2 mm of additional position RMSE and less than one percent of additional electrical power in nominal flight.
D. Sim2real Transfer
We further assess sim2real transfer by comparing the maximum angular velocity and tilt during the first 0.2s after crossing a 20 cm gap in 50 simulated and 50 real-world traversals (Figure 11). For the final optimized design, the simulation used for optimization underestimates the median maximum angular velocity by 15% and tilt by 42%. We attribute this mainly to differences in mass, inertia, and motor response, as the vehicle is 20% heavier than the simulated one, its roll, pitch and yaw inertias differ by 13%, 18% and 10% respectively, and its motors respond to speed commands with a delay of about 14 ms that the simulation does not model. Repeating the 50 simulated traversals with the mass and inertia of the built vehicle and with motor responses fitted to the real rotor-speed logs reduces these gaps to 6% and 4% (higher-fidelity simulation in Figure 11). Despite the discrepancy in the modeled dynamics during optimization, the proposed methodology guided the discovery of an effective design for gap traversal. More accurate simulation could potentially enable designs to achieve even better real-world performance.
IV. CONCLUSIONS
In this work, we jointly optimized quadrotor geometry and passive joint response for gap-traversal success in closed-loop simulation. The proposed method jointly selects geometry and softness directly based on the vehicle's ability to cross a gap and recover flight in simulation with an NMPC controller. After optimization in simulation, we built a physical prototype that reduces its width from 31.3 to

Fig. 11. Left: maximum angular velocity norm. Right: maximum tilt. Both are measured over the first 0.2 s after crossing the gap plane at a 20 cm opening.
14.1 cm and traverses a cm gap. It can also pass through a 40 cm-long tube and recover after approach-angle errors up to at a 20 cm opening. In nominal flight, passive joints increase position RMSE by 2 mm and electrical power by less than 1% relative to a rigid twin. More broadly, this work shows that closed-loop design optimization can produce airframe designs that fold passively to pass through tight gaps, while keeping nominal tracking accuracy and power consumption close to those of a rigid airframe.
REFERENCES
[1] D. Falanga, E. Mueggler, M. Faessler, and D. Scaramuzza, “Aggressive quadrotor flight through narrow gaps with onboard sensing and computing using active vision,” in Proc. IEEE Int. Conf. Robot. Autom., 2017, pp. 5774–5781.
[2] G. Loianno, C. Brunner, G. McGrath, and V. Kumar, “Estimation, control, and planning for aggressive flight with a small quadrotor with a single camera and IMU,” IEEE Robot. Autom. Lett., vol. 2, no. 2, pp. 404–411, 2017.
[3] V. Rivière, A. Manecy, and S. Viollet, “Agile robotic fliers: A morphing-based approach,” Soft Robot., vol. 5, no. 5, pp. 541–553, 2018.
[4] D. Falanga, K. Kleber, S. Mintchev, D. Floreano, and D. Scaramuzza, “The foldable drone: A morphing quadrotor that can squeeze and fly,” IEEE Robot. Autom. Lett., vol. 4, no. 2, pp. 209–216, 2019.
[5] M. Zhao, T. Anzai, F. Shi, X. Chen, K. Okada, and M. Inaba, “Design, modeling, and control of an aerial robot DRAGON: A dual-rotor-embedded multilink robot with the ability of multi-degree-of-freedom aerial transformation,” IEEE Robot. Autom. Lett., vol. 3, no. 2, pp. 1176–1183, 2018.
[6] N. Bucki and M. W. Mueller, “Design and control of a passively morphing quadcopter,” in Proc. IEEE Int. Conf. Robot. Autom., 2019, pp. 9116–9122.
[7] N. Bucki, J. Tang, and M. W. Mueller, “Design and control of a midair-reconfigurable quadcopter using unactuated hinges,” IEEE Trans. Robot., vol. 39, no. 1, pp. 539–557, 2023.
[8] K. Patnaik, S. Mishra, S. M. Rezayat Sorkhabadi, and W. Zhang, “Design and control of SQUEEZE: A spring-augmented quadrotor for interactions with the environment to squeeze-and-fly,” in Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst., 2020, pp. 1364–1370.
[9] P. De Petris, M. Nissov, and K. Alexis, “Morphy: A compliant and morphologically aware flying robot,” Adv. Intell. Syst., vol. 7, no. 7, p. 2400493, 2025.
[10] L. Girardi, G. Maquignaz, and S. Mintchev, “Bioinspired soft quadrotors jointly unlock agility, squeezeability, and collision resilience,” arXiv preprint arXiv:2511.05426, 2025.
[11] A. Fabris, S. Kirchgeorg, and S. Mintchev, “A soft drone with multi-modal mobility for the exploration of confined spaces,” in Proc. IEEE Int. Symp. Safety, Secur., Rescue Robot., 2021, pp. 48–54.
[12] A. Fabris, E. Aucone, and S. Mintchev, “Crash 2 squash: An autonomous drone for the traversal of narrow passageways,” Adv. Intell. Syst., vol. 4, no. 11, p. 2200113, 2022.
[13] R. Wu, L. Girardi, and S. Mintchev, “Encoding mechanical intelligence using ultraprogrammable joints,” Sci. Adv., vol. 11, no. 17, p. eadv2052, 2025.
[14] M. Mittal et al., “Orbit: A unified simulation framework for interactive robot learning environments,” IEEE Robot. Autom. Lett., vol. 8, no. 6, pp. 3740–3747, 2023.
[15] R. Verschueren et al., “acados—a modular open-source framework for fast embedded optimal control,” Math. Program. Comput., vol. 14, no. 1, pp. 147–183, 2022.
[16] E. Arza, W. Rehberg, P. Weiss, M. Kulkarni, and K. Alexis, “Performance-guided task-specific optimization for multirotor design,” arXiv preprint arXiv:2510.04724, 2025.
[17] M. Balandat et al., “BoTorch: A framework for efficient Monte-Carlo Bayesian optimization,” in Proc. Adv. Neural Inf. Process. Syst., vol. 33, 2020, pp. 21 524–21 538.
[18] N. Hansen and A. Ostermeier, “Completely derandomized self-adaptation in evolution strategies,” Evol. Comput., vol. 9, no. 2, pp. 159–195, 2001.