Quad takes off fine, flies GUIDED, flips at t≈50 s every flight (in). Same crash in 20+ runs.
Removing all 8 LiftDrag plugins: no flip at all, but then can’t climb (takeoff timeout).
Multiplying to climb (×2/×4/×8) doesn’t work - no lift.
Measured via JSP after un-nesting rotors: worst per-rotor ω = +615.2, +614.5, −50.8, −615.0 → rotor 2 torque collapses from 4.07 N to −50.8 → real torque imbalance 2.081 N·m vs capacity 0.247 N·m (8× over) - cp/cma/area knob math can’t bound it below capacity.
Even with terrain failsafe disabled → same flip (terrain cascade only kills it AFTER fail).
Suspect: LiftDrag redistribution of per-blade torque under attitude rate (chirp) breaks rotor model physics.
Questions:
Anyone seen gz LiftDrag with per-blade ω collapse NOT recoverable by area/cma?
Is there a way to cap the LiftDrag redistribution per-blade (force cap) so this doesn’t flip?
Or is our rotor model fundamentally incompatible with how LiftDrag.cc computes attack angle (vel = LinVel + AngVel×cpWorld)?
Model sits nested iris_ab (un-nested for JSP measurement); upstream model copied from ardupilot_gazebo.
Any LiftDrag-tuning insight would be appreciated!
Hello @Soumyajit_Hui, are you seeing an issue with the stock iris model in the repo, or a modified version / custom copter?
I have not seen the behaviour you’re describing in the stock iris model. Could you provide more detail about your tests so that we can replicate the behaviour. Logs would also be helpful.
Hi @rhys Custom iris_ab derived from stock iris_with_standoffs — added down-camera (1920×1080/60Hz/70°), front-camera (1280×720/30Hz), and a single-ray LiDAR→MAVLink median chain. Rotors un-nested to top scope for JSP access (model-file only).
Stack: ArduCopter-4.7.1 + gz-sim8, GPS disabled → AHRS_EKF_TYPE=3, EK3_IMU_MASK=1, RNGFND1_TYPE=10 median. OF via native AP MAVLink OPTICAL_FLOW.
Flip signature (20+ runs, identical): flip in CRUISE window 47–62s, spread 800, PDes 410°/s, Actual ±180°. Judatsamax LiftDrag as benign: instrumented LiftDrag.cc with 491k rows: α sd 0.0095 rad, F mean 3.43N sd 0.46; LiftDrag-geometry-scale halves measured imbalance (2.081→0.164 N·m below capacity 0.247) yet flip persists unchanged — so LiftDrag not the choke. Scale/pacing/p Nibles rejected mathematically.
Also: flip persists with terrain failsafe fully disabled; AHRS=3 verified BIN PARM every run; run tests/run_m2t3.sh reproduces.
Logs available: results/m2t27_instr/ (BIN + plugin JSONL + metrics CSV + launch script). Questions: have you seen AP-side PDes spikes of 410°/s with 0.4s plant lag causing asymmetric-saturation flips in SITL even with clean LiftDrag math?
@Soumyajit_Hui, I don’t think the issue lies with the aerodynamics model used in the simulation. It seems you are testing an optical flow controller, so I would focus on the control loop and estimator (parameter choices, actual update rates and latency in EKF, etc).
I do not have a lot of experience configuring and running the optical flow model, so cannot offer a detailed guide on where to start trouble shooting your set up. Some of the other devs with more experience on optical flow may be able to offer some advice.