diff --git a/src/AutoPilotPlugins/PX4/AirframeComponent.cc b/src/AutoPilotPlugins/PX4/AirframeComponent.cc index a50cbe0615c59808d9728061cf14693aa6704170..120304bd10843defcc3dbfe0ed59d05e35e55839 100644 --- a/src/AutoPilotPlugins/PX4/AirframeComponent.cc +++ b/src/AutoPilotPlugins/PX4/AirframeComponent.cc @@ -30,6 +30,9 @@ /// @brief Parameters which signal a change in setupComplete state static const char* triggerParams[] = { "SYS_AUTOSTART", NULL }; +#if 0 +// Broken by latest mavlink module changes. Not used yet. Comment out for now. +// Discussing mavlink fix. struct mavType { int type; const char* description; @@ -66,11 +69,15 @@ static const struct mavType mavTypeInfo[] = { { MAV_TYPE_GIMBAL, "Gimbal" }, }; static size_t cMavTypes = sizeof(mavTypeInfo) / sizeof(mavTypeInfo[0]); +#endif AirframeComponent::AirframeComponent(UASInterface* uas, AutoPilotPlugin* autopilot, QObject* parent) : PX4Component(uas, autopilot, parent), _name(tr("Airframe")) { +#if 0 + // Broken by latest mavlink module changes. Not used yet. Comment out for now. + // Discussing mavlink fix. Q_UNUSED(mavTypeInfo); // Keeping this around for later use // Validate that our mavTypeInfo array hasn't gotten out of sync @@ -112,6 +119,7 @@ AirframeComponent::AirframeComponent(UASInterface* uas, AutoPilotPlugin* autopil for (size_t i=0; i