Browse Source

PX4 setup: Put sensors before radio to create the right affordance: We want the user to handle this first

QGC4.4
Lorenz Meier 7 years ago
parent
commit
e438f2d559
  1. 8
      src/AutoPilotPlugins/PX4/PX4AutoPilotPlugin.cc

8
src/AutoPilotPlugins/PX4/PX4AutoPilotPlugin.cc

@ -66,16 +66,16 @@ const QVariantList& PX4AutoPilotPlugin::vehicleComponents(void) @@ -66,16 +66,16 @@ const QVariantList& PX4AutoPilotPlugin::vehicleComponents(void)
_airframeComponent->setupTriggerSignals();
_components.append(QVariant::fromValue((VehicleComponent*)_airframeComponent));
_radioComponent = new PX4RadioComponent(_vehicle, this);
_radioComponent->setupTriggerSignals();
_components.append(QVariant::fromValue((VehicleComponent*)_radioComponent));
if (!_vehicle->hilMode()) {
_sensorsComponent = new SensorsComponent(_vehicle, this);
_sensorsComponent->setupTriggerSignals();
_components.append(QVariant::fromValue((VehicleComponent*)_sensorsComponent));
}
_radioComponent = new PX4RadioComponent(_vehicle, this);
_radioComponent->setupTriggerSignals();
_components.append(QVariant::fromValue((VehicleComponent*)_radioComponent));
_flightModesComponent = new FlightModesComponent(_vehicle, this);
_flightModesComponent->setupTriggerSignals();
_components.append(QVariant::fromValue((VehicleComponent*)_flightModesComponent));

Loading…
Cancel
Save