5 Commits

Author SHA1 Message Date
Gautier Hattenberger 28ef30ed80 Nav rotorcraft rework (#2964)
This is a complete rework of the navigation for rotorcraft with the key features:

- all nav functions and interface in float
- nav function are registered (decoupling between nav API and implementation of standard pattern)
- submodes to specify if setpoint is a position (legacy), speed or accel (better integration of algorithms like GVF)
- guidance (H and V) is reorganized with default function to implement (run_pos, run_speed, run_accel) 
- guidance control (the old default PID) is separated from the guidance logic

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-03-02 22:15:23 +01:00
Gautier Hattenberger eef2792d39 [modules] move datalink from subsystems to modules 2021-11-13 00:48:14 +01:00
Fabien-B 87a0526f37 Fix flight plans (#2740)
* [Flightplans] Replace ">" by "@GT".

* [Flightplan] Replace "&&" by "@AND".

* Add GetPosHeight() macro.

* [FlightPlan] Replace "stateGetPositionEnu_f()->z" by the GetPosHeight() macro.
2021-06-28 13:20:55 +02:00
Fabien-B e9656391a2 Remove static sectors (#2701)
* [sectors] Remove static sectors.

* [sectors] Update conf.

* [sectors] Keep "type" in DTD and issue error.

* [generator] move inside sector functions out of NAV_C section

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2021-05-04 16:51:34 +02:00
Gautier Hattenberger 26559062f8 [imav] airframes and flight plans from IMAV2019 2019-10-08 15:08:17 +02:00