mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-1643 Updated connection diagram with ground vehicles
This commit is contained in:
parent
c213e923ca
commit
ff97b87765
@ -141,9 +141,22 @@ void ConnectionDiagram::setupGraphicsScene()
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
case VehicleConfigurationSource::VEHICLE_HELI:
|
||||
}
|
||||
case VehicleConfigurationSource::VEHICLE_SURFACE:
|
||||
switch (m_configSource->getVehicleSubType()) {
|
||||
case VehicleConfigurationSource::GROUNDVEHICLE_CAR:
|
||||
elementsToShow << "car";
|
||||
break;
|
||||
case VehicleConfigurationSource::GROUNDVEHICLE_DIFFERENTIAL:
|
||||
elementsToShow << "tank";
|
||||
break;
|
||||
case VehicleConfigurationSource::GROUNDVEHICLE_MOTORCYCLE:
|
||||
elementsToShow << "motorbike";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
case VehicleConfigurationSource::VEHICLE_HELI:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.7 MiB |
Loading…
x
Reference in New Issue
Block a user