commander: add check for VTOL airfame on fmu-v2 (#14633)

* commander: add check for VTOL airfame on fmu-v2

This adds a preflight check when a VTOL airframe is configured
on a fmu-v2 where VTOL is no longer included.

* commander: address code review comments
This commit is contained in:
Julian Oes
2020-04-15 21:20:42 +02:00
committed by GitHub
parent b761060c9b
commit d67ecc971c
4 changed files with 62 additions and 0 deletions
@@ -114,4 +114,5 @@ private:
const bool prearm);
static bool check_calibration(const char *param_template, const int32_t device_id);
static bool manualControlCheck(orb_advert_t *mavlink_log_pub, const bool report_fail);
static bool airframeCheck(orb_advert_t *mavlink_log_pub, const vehicle_status_s &status);
};