AirframeComponentAirframes.cc 5.18 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
/*=====================================================================
 
 QGroundControl Open Source Ground Control Station
 
 (c) 2009, 2015 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
 
 This file is part of the QGROUNDCONTROL project
 
 QGROUNDCONTROL is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 QGROUNDCONTROL is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with QGROUNDCONTROL. If not, see <http://www.gnu.org/licenses/>.
 
 ======================================================================*/

/// @file
///     @author Don Gagne <don@thegagnes.com>

#include "AirframeComponentAirframes.h"

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoStandardPlane[] = {
    { "Multiplex Easystar 1/2", 2100 },
31
    { "Generic AERT",           2101 },
32 33
    { "3DR Skywalker",          2102 },
    { "Skyhunter (1800 mm)",    2103 },
34
    { "Generic AETR",           2104 },
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
    { NULL,                     0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoSimulation[] = {
    { "Plane (HilStar, X-Plane)",   1000 },
    { "Plane (Rascal, FlightGear)", 1004 },
    { "Quad X HIL",                 1001 },
    { "Quad + HIL",                 1003 },
    { NULL,                         0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoFlyingWing[] = {
    { "Z-84 Wing Wing (845 mm)",        3033 },
    { "TBS Caipirinha (850 mm)",        3100 },
    { "Bormatec Camflyer Q (800 mm)",   3030 },
    { "FX-61 Phantom FPV (1550 mm)",    3031 },
    { "FX-79 Buffalo (2000 mm)",        3034 },
    { "Skywalker X5 (1180 mm)",         3032 },
    { "Viper v2 (3000 mm)",             3035 },
    { NULL,                             0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoQuadRotorX[] = {
    { "DJI F330 8\" Quad",      4010 },
    { "DJI F450 10\" Quad",     4011 },
    { "X frame Quad UAVCAN",    4012 },
    { "AR.Drone Frame Quad",    4008 },
    { NULL,                     0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoQuadRotorPlus[] = {
    { "Generic 10\" Quad +", 5001 },
    { NULL,                     0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoHexaRotorX[] = {
    { "Standard 10\" Hexa X",   6001 },
    { "Coaxial 10\" Hexa X",    11001 },
    { NULL,                     0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoHexaRotorPlus[] = {
    { "Standard 10\" Hexa",     7001 },
    { NULL,                     0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoOctoRotorX[] = {
    { "Standard 10\" Octo", 8001 },
    { "Coaxial 10\" Octo",  12001 },
    { NULL,                 0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoOctoRotorPlus[] = {
    { "Standard 10\" Octo", 9001 },
    { NULL,                 0 }
};

const AirframeComponentAirframes::AirframeInfo_t AirframeComponentAirframes::_rgAirframeInfoQuadRotorH[] = {
    { "3DR Iris",           10016 },
    { "TBS Discovery",      10015 },
    { "SteadiDrone QU4D",   10017 },
    { NULL,                 0 }
};

const AirframeComponentAirframes::AirframeType_t AirframeComponentAirframes::rgAirframeTypes[] = {
100 101 102 103 104 105 106 107 108 109
    { "Standard Airplane",  "qrc:/qmlimages/AirframeStandardPlane.png",   AirframeComponentAirframes::_rgAirframeInfoStandardPlane },
    { "Flying Wing",        "qrc:/qmlimages/AirframeFlyingWing.png",      AirframeComponentAirframes::_rgAirframeInfoFlyingWing },
    { "QuadRotor X",        "qrc:/qmlimages/AirframeQuadRotorX.png",      AirframeComponentAirframes::_rgAirframeInfoQuadRotorX },
    { "QuadRotor +",        "qrc:/qmlimages/AirframeQuadRotorPlus.png",   AirframeComponentAirframes::_rgAirframeInfoQuadRotorPlus },
    { "HexaRotor X",        "qrc:/qmlimages/AirframeHexaRotorX.png",      AirframeComponentAirframes::_rgAirframeInfoHexaRotorX },
    { "HexaRotor +",        "qrc:/qmlimages/AirframeHexaRotorPlus.png",   AirframeComponentAirframes::_rgAirframeInfoHexaRotorPlus },
    { "OctoRotor X",        "qrc:/qmlimages/AirframeOctoRotorX.png",      AirframeComponentAirframes::_rgAirframeInfoOctoRotorX },
    { "OctoRotor +",        "qrc:/qmlimages/AirframeOctoRotorPlus.png",   AirframeComponentAirframes::_rgAirframeInfoOctoRotorPlus },
    { "QuadRotor H",        "qrc:/qmlimages/AirframeQuadRotorH.png",      AirframeComponentAirframes::_rgAirframeInfoQuadRotorH },
    { "Simulation",         "qrc:/qmlimages/AirframeSimulation.png",      AirframeComponentAirframes::_rgAirframeInfoSimulation },
110 111
    { NULL,                 NULL,                                   NULL }
};