Firmware
Classes | Macros | Enumerations
navigation.h File Reference

Definition of a mission consisting of mission items. More...

#include <stdint.h>
#include <stdbool.h>
#include <uORB/topics/mission.h>

Go to the source code of this file.

Classes

struct  mission_item_s
 Global position setpoint in WGS84 coordinates. More...
 
struct  mission_stats_entry_s
 dataman housekeeping information for a specific item. More...
 
struct  mission_fence_point_s
 Geofence vertex point. More...
 
struct  mission_save_point_s
 Save Point (Rally Point). More...
 

Macros

#define NUM_MISSIONS_SUPPORTED   2000
 
#define NAV_EPSILON_POSITION   0.001f
 Anything smaller than this is considered zero.
 

Enumerations

enum  NAV_CMD {
  NAV_CMD_IDLE = 0, NAV_CMD_WAYPOINT = 16, NAV_CMD_LOITER_UNLIMITED = 17, NAV_CMD_LOITER_TIME_LIMIT = 19,
  NAV_CMD_RETURN_TO_LAUNCH = 20, NAV_CMD_LAND = 21, NAV_CMD_TAKEOFF = 22, NAV_CMD_LOITER_TO_ALT = 31,
  NAV_CMD_DO_FOLLOW_REPOSITION = 33, NAV_CMD_VTOL_TAKEOFF = 84, NAV_CMD_VTOL_LAND = 85, NAV_CMD_DELAY = 93,
  NAV_CMD_DO_JUMP = 177, NAV_CMD_DO_CHANGE_SPEED = 178, NAV_CMD_DO_SET_HOME = 179, NAV_CMD_DO_SET_SERVO = 183,
  NAV_CMD_DO_LAND_START = 189, NAV_CMD_DO_SET_ROI_LOCATION = 195, NAV_CMD_DO_SET_ROI_WPNEXT_OFFSET = 196, NAV_CMD_DO_SET_ROI_NONE = 197,
  NAV_CMD_DO_SET_ROI = 201, NAV_CMD_DO_DIGICAM_CONTROL = 203, NAV_CMD_DO_MOUNT_CONFIGURE = 204, NAV_CMD_DO_MOUNT_CONTROL = 205,
  NAV_CMD_DO_SET_CAM_TRIGG_INTERVAL = 214, NAV_CMD_DO_SET_CAM_TRIGG_DIST = 206, NAV_CMD_SET_CAMERA_MODE = 530, NAV_CMD_IMAGE_START_CAPTURE = 2000,
  NAV_CMD_IMAGE_STOP_CAPTURE = 2001, NAV_CMD_DO_TRIGGER_CONTROL = 2003, NAV_CMD_VIDEO_START_CAPTURE = 2500, NAV_CMD_VIDEO_STOP_CAPTURE = 2501,
  NAV_CMD_DO_VTOL_TRANSITION = 3000, NAV_CMD_FENCE_RETURN_POINT = 5000, NAV_CMD_FENCE_POLYGON_VERTEX_INCLUSION = 5001, NAV_CMD_FENCE_POLYGON_VERTEX_EXCLUSION = 5002,
  NAV_CMD_FENCE_CIRCLE_INCLUSION = 5003, NAV_CMD_FENCE_CIRCLE_EXCLUSION = 5004, NAV_CMD_INVALID = UINT16_MAX
}
 
enum  ORIGIN { ORIGIN_MAVLINK = 0, ORIGIN_ONBOARD }
 
enum  NAV_FRAME {
  NAV_FRAME_GLOBAL = 0, NAV_FRAME_LOCAL_NED = 1, NAV_FRAME_MISSION = 2, NAV_FRAME_GLOBAL_RELATIVE_ALT = 3,
  NAV_FRAME_LOCAL_ENU = 4, NAV_FRAME_GLOBAL_INT = 5, NAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, NAV_FRAME_LOCAL_OFFSET_NED = 7,
  NAV_FRAME_BODY_NED = 8, NAV_FRAME_BODY_OFFSET_NED = 9, NAV_FRAME_GLOBAL_TERRAIN_ALT = 10, NAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11
}
 

Detailed Description

Definition of a mission consisting of mission items.

Author
Thomas Gubler thoma.nosp@m.sgub.nosp@m.ler@s.nosp@m.tude.nosp@m.nt.et.nosp@m.hz.c.nosp@m.h
Julian Oes joes@.nosp@m.stud.nosp@m.ent.e.nosp@m.thz..nosp@m.ch
Lorenz Meier lm@in.nosp@m.f.et.nosp@m.hz.ch