PX4 Firmware
PX4 Autopilot Software http://px4.io
mavlink_mission.h File Reference

Implementation of the MAVLink mission protocol. More...

Include dependency graph for mavlink_mission.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MavlinkMissionManager
 

Enumerations

enum  MAVLINK_WPM_STATES { MAVLINK_WPM_STATE_IDLE = 0, MAVLINK_WPM_STATE_SENDLIST, MAVLINK_WPM_STATE_GETLIST, MAVLINK_WPM_STATE_ENUM_END }
 
enum  MAVLINK_WPM_CODES {
  MAVLINK_WPM_CODE_OK = 0, MAVLINK_WPM_CODE_ERR_WAYPOINT_ACTION_NOT_SUPPORTED, MAVLINK_WPM_CODE_ERR_WAYPOINT_FRAME_NOT_SUPPORTED, MAVLINK_WPM_CODE_ERR_WAYPOINT_OUT_OF_BOUNDS,
  MAVLINK_WPM_CODE_ERR_WAYPOINT_MAX_NUMBER_EXCEEDED, MAVLINK_WPM_CODE_ENUM_END
}
 

Variables

static constexpr uint64_t MAVLINK_MISSION_PROTOCOL_TIMEOUT_DEFAULT = 5000000
 Protocol action timeout in us. More...
 
static constexpr uint64_t MAVLINK_MISSION_RETRY_TIMEOUT_DEFAULT = 250000
 Protocol retry timeout in us. More...
 

Detailed Description

Enumeration Type Documentation

◆ MAVLINK_WPM_CODES

Enumerator
MAVLINK_WPM_CODE_OK 
MAVLINK_WPM_CODE_ERR_WAYPOINT_ACTION_NOT_SUPPORTED 
MAVLINK_WPM_CODE_ERR_WAYPOINT_FRAME_NOT_SUPPORTED 
MAVLINK_WPM_CODE_ERR_WAYPOINT_OUT_OF_BOUNDS 
MAVLINK_WPM_CODE_ERR_WAYPOINT_MAX_NUMBER_EXCEEDED 
MAVLINK_WPM_CODE_ENUM_END 

Definition at line 63 of file mavlink_mission.h.

◆ MAVLINK_WPM_STATES

Enumerator
MAVLINK_WPM_STATE_IDLE 
MAVLINK_WPM_STATE_SENDLIST 
MAVLINK_WPM_STATE_GETLIST 
MAVLINK_WPM_STATE_ENUM_END 

Definition at line 56 of file mavlink_mission.h.

Variable Documentation

◆ MAVLINK_MISSION_PROTOCOL_TIMEOUT_DEFAULT

constexpr uint64_t MAVLINK_MISSION_PROTOCOL_TIMEOUT_DEFAULT = 5000000
static

Protocol action timeout in us.

Definition at line 72 of file mavlink_mission.h.

Referenced by MavlinkMissionManager::send().

◆ MAVLINK_MISSION_RETRY_TIMEOUT_DEFAULT

constexpr uint64_t MAVLINK_MISSION_RETRY_TIMEOUT_DEFAULT = 250000
static

Protocol retry timeout in us.

Definition at line 73 of file mavlink_mission.h.

Referenced by MavlinkMissionManager::send().