mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-20 19:36:19 +08:00
[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)
This commit is contained in:
committed by
GitHub
parent
f41c32a4bf
commit
ce7fe4c23f
@@ -19,9 +19,11 @@
|
||||
<header>
|
||||
<file name="ctrl_module_outerloop_demo.h"/>
|
||||
</header>
|
||||
<init fun="ctrl_module_init()"/>
|
||||
|
||||
<makefile>
|
||||
<file name="ctrl_module_outerloop_demo.c"/>
|
||||
<test firmware="rotorcraft"/>
|
||||
</makefile>
|
||||
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user