30 #ifndef MISSION_COMMON_H
31 #define MISSION_COMMON_H
83 #define MISSION_PATH_NB 5
110 #ifndef MISSION_ELEMENT_NB
111 #define MISSION_ELEMENT_NB 20
186 #endif // MISSION_COMMON_H
int mission_parse_CIRCLE_LLA(void)
replace the next element and remove all the others
union _mission_wp::@284 wp
int mission_parse_NEXT_MISSION(void)
int mission_parse_SEGMENT_LLA(void)
int mission_parse_SURVEY_LLA(void)
bool mission_element_convert(struct _mission_element *el)
Convert mission element's points format if needed.
int mission_parse_GOTO_WP(void)
Parsing functions called when a mission message is received.
vector in East North Up coordinates Units: meters
remove all elements and add the new one
union _mission_element::@289 element
float duration
time to spend in the element (<= 0 to disable)
add before the current element
vector in Latitude, Longitude and Altitude
union _mission_path::@288 path
int mission_parse_PATH(void)
union _mission_segment::@286 from
void mission_init(void)
Init mission structure.
bool mission_insert(enum MissionInsertMode insert, struct _mission_element *element)
Insert a mission element according to the insertion mode.
union _mission_segment::@287 to
int mission_parse_PATH_LLA(void)
void mission_status_report(void)
Report mission status.
int mission_parse_GOTO_WP_LLA(void)
Paparazzi floating point math for geodetic calculations.
struct _mission_element * mission_get(void)
Get current mission element.
float element_time
time in second spend in the current element
#define MISSION_ELEMENT_NB
Max number of elements in the tasks' list can be redefined.
Paparazzi fixed point math for geodetic calculations.
uint8_t insert_idx
inserstion index
vector in East North Up coordinates
union _mission_circle::@285 center
uint8_t index
index of mission element
int mission_parse_END_MISSION(void)
uint8_t current_idx
current mission element index
int mission_parse_CIRCLE(void)
int mission_parse_GOTO_MISSION(void)
int mission_run(void)
Run mission.
int mission_parse_SURVEY(void)
struct _mission_element elements[MISSION_ELEMENT_NB]
bool mission_point_of_lla(struct EnuCoor_f *point, struct LlaCoor_i *lla)
Get the ENU component of LLA mission point This function is firmware specific.
int mission_parse_SEGMENT(void)