1
0
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:
Laurent Lalanne 2014-12-08 13:08:21 +01:00 committed by Fredrik Larsson
parent c213e923ca
commit ff97b87765
2 changed files with 8543 additions and 107 deletions

View File

@ -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