|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <TakeoffMissionItem.h>
Inheritance diagram for TakeoffMissionItem:
Collaboration diagram for TakeoffMissionItem:Static Public Member Functions | |
| static bool | isTakeoffCommand (MAV_CMD command) |
Additional Inherited Members | |
Public Types inherited from VisualMissionItem | |
| enum | ReadyForSaveState { ReadyForSave , NotReadyForSaveTerrain , NotReadyForSaveData } |
Static Public Attributes inherited from VisualMissionItem | |
| static constexpr const char * | jsonTypeKey = "type" |
| Json file attribute which specifies the item type. | |
| static constexpr const char * | jsonTypeSimpleItemValue = "SimpleItem" |
| Item type is MISSION_ITEM. | |
| static constexpr const char * | jsonTypeComplexItemValue = "ComplexItem" |
| Item type is Complex Item. | |
Protected Slots inherited from VisualMissionItem | |
| void | _amslEntryAltChanged (void) |
| void | _amslExitAltChanged (void) |
Protected Member Functions inherited from VisualMissionItem | |
| void | _setBoundingCube (QGCGeoBoundingCube bc) |
Protected Attributes inherited from VisualMissionItem | |
| bool | _flyView = false |
| bool | _isCurrentItem = false |
| bool | _hasCurrentChildItem = false |
| bool | _dirty = false |
| bool | _homePositionSpecialCase = false |
| true: This item is being used as a ui home position indicator | |
| bool | _wizardMode = false |
| true: Item editor is showing wizard completion panel | |
| double | _terrainAltitude = qQNaN() |
| Altitude of terrain at coordinate position, NaN for not known. | |
| double | _altDifference = 0 |
| Difference in altitude from previous waypoint. | |
| double | _altPercent = 0 |
| Percent of total altitude change in mission. | |
| double | _terrainPercent = qQNaN() |
| Percent of terrain altitude for coordinate. | |
| bool | _terrainCollision = false |
| true: item collides with terrain | |
| double | _azimuth = 0 |
| Azimuth to previous waypoint. | |
| double | _distance = 0 |
| Distance to previous waypoint. | |
| double | _distanceFromStart = 0 |
| Flight path cumalative horizontal distance from home point to this item. | |
| QString | _editorQml |
| Qml resource for editing item. | |
| double | _missionGimbalYaw = qQNaN() |
| double | _missionVehicleYaw = qQNaN() |
| QGCMAVLink::VehicleClass_t | _previousVTOLMode = QGCMAVLink::VehicleClassGeneric |
| Generic == unknown. | |
| PlanMasterController * | _masterController = nullptr |
| MissionController * | _missionController = nullptr |
| Vehicle * | _controllerVehicle = nullptr |
| FlightPathSegment * | _simpleFlightPathSegment = nullptr |
| The simple item flight segment (if any) which starts with this visual item. | |
| VisualMissionItem * | _parentItem = nullptr |
| QGCGeoBoundingCube | _boundingCube |
| The bounding "cube" of this element. | |
| QmlObjectListModel | _childItems |
| This is used to reference any subsequent mission items which do not specify a coordinate. | |
Takeoff mission item is a special case of a SimpleMissionItem which supports Launch Location display/editing which is tied to home position.
Definition at line 10 of file TakeoffMissionItem.h.
| TakeoffMissionItem::TakeoffMissionItem | ( | PlanMasterController * | masterController, |
| bool | flyView, | ||
| MissionSettingsItem * | settingsItem, | ||
| bool | forLoad | ||
| ) |
Definition at line 11 of file TakeoffMissionItem.cc.
| TakeoffMissionItem::TakeoffMissionItem | ( | MAV_CMD | takeoffCmd, |
| PlanMasterController * | masterController, | ||
| bool | flyView, | ||
| MissionSettingsItem * | settingsItem, | ||
| bool | forLoad | ||
| ) |
Definition at line 18 of file TakeoffMissionItem.cc.
References SimpleMissionItem::setCommand().
| TakeoffMissionItem::TakeoffMissionItem | ( | const MissionItem & | missionItem, |
| PlanMasterController * | masterController, | ||
| bool | flyView, | ||
| MissionSettingsItem * | settingsItem, | ||
| bool | forLoad | ||
| ) |
Definition at line 26 of file TakeoffMissionItem.cc.
| TakeoffMissionItem::~TakeoffMissionItem | ( | ) |
Definition at line 33 of file TakeoffMissionItem.cc.
|
static |
Definition at line 107 of file TakeoffMissionItem.cc.
References SimpleMissionItem::command(), MissionCommandTree::instance(), and MissionCommandTree::isTakeoffCommand().
|
inlinefinalvirtual |
Reimplemented from VisualMissionItem.
Definition at line 32 of file TakeoffMissionItem.h.
| QGeoCoordinate launchCoordinate READ launchCoordinate WRITE _setLaunchCoordinate NOTIFY TakeoffMissionItem::launchCoordinateChanged | ( | bool launchTakeoffAtSameLocation READ launchTakeoffAtSameLocation WRITE _setLaunchTakeoffAtSameLocation NOTIFY | launchTakeoffAtSameLocationChanged | ) | const |
|
signal |
|
inline |
Definition at line 24 of file TakeoffMissionItem.h.
|
signal |
|
finalvirtual |
Reimplemented from SimpleMissionItem.
Definition at line 143 of file TakeoffMissionItem.cc.
References VisualMissionItem::_wizardMode, errorString, SimpleMissionItem::load(), and SimpleMissionItem::sequenceNumber().
|
finalvirtual |
Reimplemented from SimpleMissionItem.
Definition at line 133 of file TakeoffMissionItem.cc.
References VisualMissionItem::_wizardMode, and SimpleMissionItem::load().
|
inlineoverridevirtual |
Reimplemented from SimpleMissionItem.
Definition at line 36 of file TakeoffMissionItem.h.
|
overridevirtual |
Reimplemented from SimpleMissionItem.
Definition at line 97 of file TakeoffMissionItem.cc.
References SimpleMissionItem::coordinate(), MissionSettingsItem::setCoordinate(), and SimpleMissionItem::setCoordinate().
|
inlinefinalvirtual |
Reimplemented from SimpleMissionItem.
Definition at line 33 of file TakeoffMissionItem.h.
|
inlinefinalvirtual |
Reimplemented from SimpleMissionItem.
Definition at line 35 of file TakeoffMissionItem.h.
|
inlinefinalvirtual |
Reimplemented from SimpleMissionItem.
Definition at line 34 of file TakeoffMissionItem.h.