dji_mission_type.hpp File Reference

Mission related data struct for DJI OSDK library. More...

#include <vector>
#include "dji_type.hpp"
Include dependency graph for dji_mission_type.hpp:

Go to the source code of this file.

Classes

struct  DJI::OSDK::HotPointSettings
 HotPoint Mission Initialization settings. More...
 
struct  DJI::OSDK::WayPointInitSettings
 Waypoint Mission Initialization settings. More...
 
struct  DJI::OSDK::WayPointSettings
 Waypoint settings for individual waypoints being added to the mission. More...
 
struct  DJI::OSDK::WayPointFinishData
 Waypoint Mission Finish Event Push Data. More...
 
struct  DJI::OSDK::UploadMissionRawAck
 
struct  DJI::OSDK::UploadActionsRawAck
 
struct  DJI::OSDK::DownloadMissionRsp
 
struct  DJI::OSDK::DownloadMissionAck
 
struct  DJI::OSDK::GetGlobalCruiseVelAck
 
struct  DJI::OSDK::GetRemainRamAck
 
struct  DJI::OSDK::GetWaypontStartEndIndexAck
 
struct  DJI::OSDK::MissionStateCommanData
 
struct  DJI::OSDK::MissionStatePushAck
 
union  DJI::OSDK::Eventdata
 
struct  DJI::OSDK::MissionEventPushAck
 
struct  DJI::OSDK::WayPointV2InitSettingsInternal
 Waypoint V2 Mission Initialization Settings Internal User have no need to use it. More...
 
struct  DJI::OSDK::RelativePosition
 
struct  DJI::OSDK::WaypointV2Config
 
struct  DJI::OSDK::WaypointV2Internal
 
struct  DJI::OSDK::WaypointV2
 
struct  DJI::OSDK::WayPointV2InitSettings
 Waypoint V2 Mission Initialization settings. More...
 

Namespaces

 DJI
 
 DJI::OSDK
 

Typedefs

typedef struct DJI::OSDK::HotPointSettings DJI::OSDK::HotPointSettings
 HotPoint Mission Initialization settings. More...
 
typedef struct DJI::OSDK::WayPointInitSettings DJI::OSDK::WayPointInitSettings
 Waypoint Mission Initialization settings. More...
 
typedef struct DJI::OSDK::WayPointSettings DJI::OSDK::WayPointSettings
 Waypoint settings for individual waypoints being added to the mission. More...
 
typedef enum DJI::OSDK::WaypointActionTypeFormat DJI::OSDK::WaypointActionTypeFormat
 
typedef enum DJI::OSDK::WayPointIncidentType DJI::OSDK::WayPointIncidentType
 WayPoint Reached Data Incident Type enumerator. More...
 
typedef enum DJI::OSDK::WayPointPushDataIncidentType DJI::OSDK::WayPointPushDataIncidentType
 WayPoint Push Data Incident Type enumerator.
 
typedef struct DJI::OSDK::WayPointFinishData DJI::OSDK::WayPointFinishData
 Waypoint Mission Finish Event Push Data.
 
typedef enum DJI::OSDK::DJIWaypointV2FlightPathMode DJI::OSDK::DJIWaypointV2FlightPathMode
 
typedef enum DJI::OSDK::DJIWaypointV2HeadingMode DJI::OSDK::DJIWaypointV2HeadingMode
 
typedef enum DJI::OSDK::DJIWaypointV2TurnMode DJI::OSDK::DJIWaypointV2TurnMode
 
typedef uint8_t DJI::OSDK::RetCodeType
 
typedef uint32_t DJI::OSDK::WaypointV2CommonAck
 
typedef float32_t DJI::OSDK::GlobalCruiseSpeed
 
typedef struct DJI::OSDK::UploadMissionRawAck DJI::OSDK::UploadMissionRawAck
 
typedef struct DJI::OSDK::UploadActionsRawAck DJI::OSDK::UploadActionsRawAck
 
typedef struct DJI::OSDK::DownloadMissionRsp DJI::OSDK::DownloadMissionRsp
 
typedef struct DJI::OSDK::DownloadMissionAck DJI::OSDK::DownloadMissionAck
 
typedef struct DJI::OSDK::GetGlobalCruiseVelAck DJI::OSDK::GetGlobalCruiseVelAck
 
typedef struct DJI::OSDK::GetRemainRamAck DJI::OSDK::getRemainRamAck
 
typedef struct DJI::OSDK::GetWaypontStartEndIndexAck DJI::OSDK::GetWaypontStartEndIndexAck
 
typedef struct DJI::OSDK::MissionStateCommanData DJI::OSDK::MissionStateCommanData
 
typedef struct DJI::OSDK::MissionStatePushAck DJI::OSDK::MissionStatePushAck
 
typedef union DJI::OSDK::Eventdata DJI::OSDK::Eventdata
 
typedef struct DJI::OSDK::MissionEventPushAck DJI::OSDK::MissionEventPushAck
 
typedef struct DJI::OSDK::WayPointV2InitSettingsInternal DJI::OSDK::WayPointV2InitSettingsInternal
 Waypoint V2 Mission Initialization Settings Internal User have no need to use it.
 
typedef struct DJI::OSDK::DownloadInitSettingRawAck DJI::OSDK::DownloadInitSettingRawAck
 
typedef struct DJI::OSDK::RelativePosition DJI::OSDK::RelativePosition
 
typedef struct DJI::OSDK::WaypointV2Config DJI::OSDK::WaypointV2Config
 
typedef struct DJI::OSDK::WaypointV2Internal DJI::OSDK::WaypointV2Internal
 
typedef struct DJI::OSDK::WaypointV2 DJI::OSDK::WaypointV2
 
typedef struct DJI::OSDK::WayPointV2InitSettings DJI::OSDK::WayPointV2InitSettings
 Waypoint V2 Mission Initialization settings. More...
 
typedef struct DJI::OSDK::FCGroundStationDataPush DJI::OSDK::FCGroundStationDataPush
 

Enumerations

enum  DJI::OSDK::WaypointActionTypeFormat {
  DJI::OSDK::WP_ACTION_STAY = 0,
  DJI::OSDK::WP_ACTION_SIMPLE_SHOT = 1,
  DJI::OSDK::WP_ACTION_VIDEO_START = 2,
  DJI::OSDK::WP_ACTION_VIDEO_STOP = 3,
  DJI::OSDK::WP_ACTION_CRAFT_YAW = 4,
  DJI::OSDK::WP_ACTION_GIMBAL_PITCH = 5
}
 
enum  DJI::OSDK::WayPointIncidentType {
  NAVI_UPLOAD_FINISH,
  NAVI_MISSION_FINISH,
  NAVI_MISSION_WP_REACH_POINT
}
 WayPoint Reached Data Incident Type enumerator. More...
 
enum  DJI::OSDK::WayPointPushDataIncidentType {
  NAVI_MODE_ATTI,
  NAVI_MISSION_WAYPOINT,
  NAVI_MISSION_HOTPOINT,
  NAVI_MISSION_FOLLOWME,
  NAVI_MISSION_IOC
}
 WayPoint Push Data Incident Type enumerator.
 
enum  DJI::OSDK::DJIWaypointV2MissionV2RCLostAction : uint8_t {
  DJI::OSDK::DJIWaypointV2MissionV2RCLostActionStopMission,
  DJI::OSDK::DJIWaypointV2MissionV2RCLostActionContinue
}
 
enum  DJI::OSDK::DJIWaypointV2MissionFinishedAction : uint8_t {
  DJI::OSDK::DJIWaypointV2MissionFinishedNoAction,
  DJI::OSDK::DJIWaypointV2MissionFinishedGoHome,
  DJI::OSDK::DJIWaypointV2MissionFinishedAutoLanding,
  DJI::OSDK::DJIWaypointV2MissionFinishedGoToFirstWaypoint,
  DJI::OSDK::DJIWaypointV2MissionFinishedContinueUntilStop
}
 
enum  DJI::OSDK::DJIWaypointV2MissionGotoFirstWaypointMode : uint8_t {
  DJI::OSDK::DJIWaypointV2MissionGotoFirstWaypointModeSafely,
  DJI::OSDK::DJIWaypointV2MissionGotoFirstWaypointModePointToPoint
}
 
enum  DJI::OSDK::DJIWaypointV2TriggerAssociatedTimingType : uint8_t {
  DJI::OSDK::DJIWaypointV2TriggerAssociatedTimingTypeSimultaneously = 1,
  DJI::OSDK::DJIWaypointV2TriggerAssociatedTimingTypeAfterFinised,
  DJI::OSDK::DJIWaypointV2TriggerAssociatedTimingTypeUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2ActionIntervalType : uint8_t {
  DJI::OSDK::DJIWaypointV2ActionIntervalTypeTime = 1,
  DJI::OSDK::DJIWaypointV2ActionIntervalTypeDistance,
  DJI::OSDK::DJIWaypointV2ActionIntervalTypeUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2ActionTriggerType : uint8_t {
  DJI::OSDK::DJIWaypointV2ActionTriggerTypeActionAssociated = 2,
  DJI::OSDK::DJIWaypointV2ActionTriggerTypeTrajectory,
  DJI::OSDK::DJIWaypointV2ActionTriggerTypeInterval,
  DJI::OSDK::DJIWaypointV2ActionTriggerTypeSampleReachPoint,
  DJI::OSDK::DJIWaypointV2ActionTriggerTypeUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2ActionActuatorType : uint8_t {
  DJI::OSDK::DJIWaypointV2ActionActuatorTypeCamera = 1,
  DJI::OSDK::DJIWaypointV2ActionActuatorTypeGimbal = 2,
  DJI::OSDK::DJIWaypointV2ActionActuatorTypeAircraftControl = 4,
  DJI::OSDK::DJIWaypointV2ActionActuatorTypeUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2ActionActuatorGimbalOperationType : uint16_t {
  DJI::OSDK::DJIWaypointV2ActionActuatorGimbalOperationTypeRotateGimbal = 1,
  DJI::OSDK::DJIWaypointV2ActionActuatorGimbalOperationTypeUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2ActionActuatorCameraOperationType : uint16_t {
  DJI::OSDK::DJIWaypointV2ActionActuatorCameraOperationTypeTakePhoto = 1,
  DJI::OSDK::DJIWaypointV2ActionActuatorCameraOperationTypeStartRecordVideo,
  DJI::OSDK::DJIWaypointV2ActionActuatorCameraOperationTypeStopRecordVideo,
  DJI::OSDK::DJIWaypointV2ActionActuatorCameraOperationTypeFocus,
  DJI::OSDK::DJIWaypointV2ActionActuatorCameraOperationTypeFocalLength
}
 
enum  DJI::OSDK::DJIWaypointV2ActionActuatorAircraftControlOperationType : uint16_t {
  DJI::OSDK::DJIWaypointV2ActionActuatorAircraftControlOperationTypeRotateYaw = 1,
  DJI::OSDK::DJIWaypointV2ActionActuatorAircraftControlOperationTypeFlyingControl = 2,
  DJI::OSDK::DJIWaypointV2ActionActuatorAircraftControlOperationTypeUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2MissionExecutionState : uint8_t {
  DJI::OSDK::DJIWaypointV2MissionExecutionStateInitializing,
  DJI::OSDK::DJIWaypointV2MissionExecutionStateGoToFirstWaypoint,
  DJI::OSDK::DJIWaypointV2MissionExecutionStateMoving,
  DJI::OSDK::DJIWaypointV2MissionExecutionStateInterrupted,
  DJI::OSDK::DJIWaypointV2MissionExecutionStateFinished,
  DJI::OSDK::DJIWaypointV2MissionExecutionStateGoHome,
  DJI::OSDK::DJIWaypointV2MissionExecutionStateLanding,
  DJI::OSDK::DJIWaypointV2MissionExecutionStateReturnToFirstWaypoint,
  DJI::OSDK::DJIWaypointV2MissionExecutionStateUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2ActionExecutionEvent : uint8_t {
  DJI::OSDK::DJIWaypointV2ActionExecutionEventBeginAction,
  DJI::OSDK::DJIWaypointV2ActionExecutionEventFinishedAction,
  DJI::OSDK::DJIWaypointV2ActionExecutionEventUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2FlightPathMode : uint8_t {
  DJI::OSDK::DJIWaypointV2FlightPathModeGoToPointAlongACurve,
  DJI::OSDK::DJIWaypointV2FlightPathModeGoToPointAlongACurveAndStop,
  DJI::OSDK::DJIWaypointV2FlightPathModeGoToPointInAStraightLineAndStop,
  DJI::OSDK::DJIWaypointV2FlightPathModeCoordinateTurn,
  DJI::OSDK::DJIWaypointV2FlightPathModeGoToFirstPointAlongAStraightLine,
  DJI::OSDK::DJIWaypointV2FlightPathModeStraightOut,
  DJI::OSDK::DJIWaypointV2FlightPathModeUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2HeadingMode : uint8_t {
  DJI::OSDK::DJIWaypointV2HeadingModeAuto,
  DJI::OSDK::DJIWaypointV2HeadingFixed,
  DJI::OSDK::DJIWaypointV2HeadingManual,
  DJI::OSDK::DJIWaypointV2HeadingWaypointCustom,
  DJI::OSDK::DJIWaypointV2HeadingTowardPointOfInterest,
  DJI::OSDK::DJIWaypointV2HeadingGimbalYawFollow,
  DJI::OSDK::DJIWaypointV2HeadingUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2TurnMode : uint8_t {
  DJI::OSDK::DJIWaypointV2TurnModeClockwise,
  DJI::OSDK::DJIWaypointV2TurnModeCounterClockwise,
  DJI::OSDK::DJIWaypointV2TurnModeUnknown = 0xFF
}
 
enum  DJI::OSDK::DJIWaypointV2MissionState {
  DJI::OSDK::DJIWaypointV2MissionStateUnWaypointActionActuatorknown = -1,
  DJI::OSDK::DJIWaypointV2MissionStateDisconnected = 0,
  DJI::OSDK::DJIWaypointV2MissionStateReadyToExecute = 1,
  DJI::OSDK::DJIWaypointV2MissionStateExecuting = 2,
  DJI::OSDK::DJIWaypointV2MissionStateInterrupted = 3,
  DJI::OSDK::DJIWaypointV2MissionStateResumeAfterInterrupted = 4,
  DJI::OSDK::DJIWaypointV2MissionStateExitMission = 5,
  DJI::OSDK::DJIWaypointV2MissionStateFinishedMission = 6
}
 

Variables

const float32_t DJI::OSDK::EARTH_RADIUS = 6378137.0
 

Detailed Description

Mission related data struct for DJI OSDK library.

Version
4.0.0
Date
April 2017

@Copyright (c) 2017 DJI

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.