Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fbw): add flight controls system for the A380 (#7598)
* First prototype * feat(fbw): add A380 FBW WASM * export aileron lvars * disable in ground mode * Added spoiler panels * feat(efcs): add first version of PRIM * feat(fbw): add PRIM client data * fix(fbw): invert hyd switches, rename PRIM lvars * feat(efcs): add prim bus and client data * feat(efcs): add PRIM discrete output assignment * feat(efcs): add initial master PRIM selection logic and output logic * refactor(fbw): remove some no longer needed lvars * fix(fbw): use PRIM bus struct for client data * feat(ailerons): read FBW commands for all ailerons * feat(hyd): add A380 Elevator system * feat(hyd): A380 rudder system * fix(hyd): invert rudder command * fix(hyd): remove erroneous 100 factor from rudder * added ailerons EHA actuators * forcing EHA in elec mode when active * feat(athr): add ATHR 4 engines compatability * feat(efcs): more adjustments to PRIM, add data to PRIM bus * feat(efcs): add control surface position input * feat(efcs): add speedbrakes, adjust gnd splr logic * fix(hyd): swap incorrect outward vs inward actuator position index * feat(efcs): add initial aileron, elevator and THS servoing logic * feat(efcs): add initial rudder servoing logic * feat(efcs): add 3rd RA, assign correct RAs to PRIMs * updated test profile * temporarily comment flight controls tests * outward aileron panels tests * more outward panel tests * Update mod.rs * fix eha power supply * add actuators debug info * finished aileron panels tests * Update mod.rs * spoilers ebha * added spoilers * feat(hyd): add elevator EHAs * fix(efcs): don't negate spoiler EBHA enable * feat(hyd): add rudder EBHAs * feat(hyd): use correct max deflections for elevator and ailerons * fix(efcs): remove no longer need 1/3 factor of lateral normal law, add IRDC bus input provision to PRIM * fix rudder pressure source * Update ailerons.rs * removed unused spoiler vars * fix(efcs): move look2_pbin after merge * rudder actuator to real specs * elevator travel * elevator flow and force data to 20 tons max load * elevator surfaces updated * fixed rudder flow * Update mod.rs * chore(hyd): add rudder actuator description, improve elevator description * fuck * yooo * compiles except tests * revert to o1 * ingame tuning * Update linear_actuator.rs * Update linear_actuator.rs * Update linear_actuator.rs * Update linear_actuator.rs * Update linear_actuator.rs * feat(efcs): add control surface status/pos computation * aileron/spoilers tuning * flow reduction for 380 actuators * faster core hyds simpler hyd solve loop * accumulator params now generic * more edp punch * test margin * update edps * Update linear_actuator.rs removed console output * clippy * refactor(fbw): rename x_fbw to fbw_x to better group folders * refactor(fbw): move common files to own folder * refactor(fbw): update include paths for common folder * refactor(fbw): change fadec inih include path to common dir * fix(fbw): use correct watch paths for igniter * fix(fbw): make a320 and a380 build.sh executable * fix(fdr2csv): update paths to changed directories * fix(fbw): remove unneeded change of include paths Co-authored-by: davydecorps <[email protected]>
- Loading branch information