mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-29 02:38:07 +08:00
rotorcraft guidance vertical: include generated airframe before checking SUPERVISION_MIN_MOTOR
This commit is contained in:
@@ -24,6 +24,9 @@
|
|||||||
|
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
|
|
||||||
|
#include "generated/airframe.h"
|
||||||
|
#include "firmwares/rotorcraft/guidance/guidance_v_ref.h"
|
||||||
|
|
||||||
/** Supervision default bounds
|
/** Supervision default bounds
|
||||||
* In case Asctec controllers are used without supervision
|
* In case Asctec controllers are used without supervision
|
||||||
* Used in control and adaptation filter
|
* Used in control and adaptation filter
|
||||||
@@ -35,7 +38,6 @@
|
|||||||
#define SUPERVISION_MAX_MOTOR 200
|
#define SUPERVISION_MAX_MOTOR 200
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "firmwares/rotorcraft/guidance/guidance_v_ref.h"
|
|
||||||
#include "firmwares/rotorcraft/guidance/guidance_v_adpt.h"
|
#include "firmwares/rotorcraft/guidance/guidance_v_adpt.h"
|
||||||
|
|
||||||
#define GUIDANCE_V_MODE_KILL 0
|
#define GUIDANCE_V_MODE_KILL 0
|
||||||
|
|||||||
Reference in New Issue
Block a user