Gazebo fixes critical aerodynamics bug in AdvancedLiftDrag
Pitching moment calculations in Gazebo's AdvancedLiftDrag were completely broken until now...
The Gazebo team has rolled out a critical bug fix for its AdvancedLiftDrag plugin that was silently corrupting aerodynamic simulations for aircraft models. The issue (Issue #3695) stemmed from incorrect assignment logic in the pitching moment coefficient calculation where the sideslip contribution (`Cemb * beta`) was overwriting the alpha-based moment (`Cem0`, `Cema`, `CemaStall`) instead of accumulating with it. This caused parameters configured in SDF files to have no effect on simulations.
The fix changes the assignment to accumulation (from `Cem = ...` to `Cem += ...`), restoring the intended physics behavior. The patch is available in gz-sim versions 10.5.0, 9.6.0, and 8.15.0. While this corrects the simulation accuracy, Gazebo warns users that existing models may exhibit different aerodynamic behavior now that the physics are properly applied - necessitating re-testing of aircraft designs.
- Bug in Gazebo's AdvancedLiftDrag overwrote pitching moments with sideslip data due to incorrect assignment operator (`=` vs `+=`)
- Fix released in gz-sim 10.5.0/9.6.0/8.15.0; users must update and retest aircraft models
- Affected parameters (Cem0, Cema) now correctly influence simulations after being ignored in broken state
Why It Matters
Fixes fundamental physics errors in aerodynamics simulations that could lead to dangerous model behavior in flight testing