mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-10 06:59:54 +08:00
979c01cd7c
Make it possible to set the command vector from the stabilization INDI controller, when STABILIZATION_INDI_COMMANDS array is defined. The benefit is a simpler configuration of the control_laws section of the airframe file when using INDI. Be careful that with this, a "correct" failsafe_value is needed for the commands, since it is the value applied in KILL mode. Some special keywords (e.g. MOTOR_STOP) are added to help avoiding mistakes. Backward compatible if STABILIZATION_INDI_COMMANDS is not defined. - add example airframe - add special names for command failsafe values: - MOTOR_STOP = MIN_PPRZ = -9600 - MAX_PPRZ = 9600 - MOTOR_IDLE = 0