9 Commits

Author SHA1 Message Date
Gautier Hattenberger
ce7fe4c23f [control] rework the stabilization for rotorcraft (#3248)
Introducing several changes to the control stask for the stabilization:
- new structures: stabilization, stab (att and/or rates) and thrust (vector)
- more functional approach: stabilization receives the stab and thrust
  setpoints from guidance and fill command vector at the end
- modes and sub-modes are redefined (split stab and guidance modes),
  some AP modes are removed (FLIP and MODULE)
- RC read functions are removed and replaced by ABI bindings, one for
  each part (AP, stab, guidance_h, guidance_v) with dedicated functions
- transition ratio (float in [0-1]) replace transition_percentage (int)
- the AP_MODULE mode is replaced by generated autopilot
- the ABI hack for guidance indi is not needed anymore
- AP generator supports a new 'store' attribute to use return values of
  functions
- cleaning of the stabilization API (for setter functions)
2024-05-21 17:01:38 +02:00
Gautier Hattenberger
4ae40567ed [hitl] rewrite support for hardware in the loop simulation (#3146)
- old way (based on ins_vectornav) is not supported anymore
- directly send sensor data and receive commands with a dedicated link
- examples with USB link for better results
- update sphinx documentation
- compilation in a single build
2023-10-31 14:48:55 +01:00
Gautier Hattenberger
04ad9f6097 Fix small errors (#3006)
* [gvf] fix mode name

* [stab] fix typo and factorize files in stab modules
2023-03-07 14:13:49 +01:00
Gautier Hattenberger
d02ec5ba98 [modules] update modules XML for proper dependcies and tasks 2021-07-27 13:34:23 +02:00
Gautier Hattenberger
e4d9e10492 [modules][ocaml] implement module dependency (#2669)
- support depends, conflicts and provides nodes, all under a 'dep' node
- autoload are kept for now and are not moved yet
- modules are updated for new dep format
- it is now required that module's name and filename are the same
2021-03-16 17:47:34 +01:00
Michal Podhradsky
74f8b74624 First shot towards a separate HITL target (#2062)
* First shot towards a separate HITL target

* Changes in HITL - still doesn't compile

* Added makefile selection

* HITL target works for fixedwing and rotorcraft - still needs cleanup and TLC

* Removed info messages from compilation process
2017-06-13 13:39:10 -07:00
Michal Podhradsky
861986abae Vectornav as AHRS, minor fix in the float_euler stabilization settings (#2013) 2017-02-16 14:53:48 -08:00
Ewoud Smeur
1707c0059f Fix for buidling indi_rate (#1993)
With this commit, you can only use indi rate, when you are using
stabilization indi or indi_simple.

Also fixing spelling of stabilization
2017-01-30 22:43:56 +01:00
Gautier Hattenberger
3048259ea8 [modules] convert GNC susystems to modules for rotorcraft 2017-01-10 21:11:11 +01:00