Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
mission_manager.c File Reference

Common functions used within the mission library. More...

#include "modules/datalink/missionlib/mission_manager.h"
#include "modules/datalink/mavlink.h"
#include "modules/datalink/missionlib/blocks.h"
#include "modules/datalink/missionlib/waypoints.h"
#include "mavlink/paparazzi/mavlink.h"
#include "generated/flight_plan.h"
#include "mcu_periph/sys_time.h"
Include dependency graph for mission_manager.c:

Go to the source code of this file.

Functions

void mavlink_mission_init (mavlink_mission_mgr *mgr)
void mavlink_mission_set_timer (void)
void mavlink_mission_cancel_timer (void)
void mavlink_mission_message_handler (const mavlink_message_t *msg)
void mavlink_mission_periodic (void)
 update current block and send if changed
void mavlink_send_mission_ack (void)

Detailed Description

Common functions used within the mission library.

Definition in file mission_manager.c.

Function Documentation

◆ mavlink_mission_cancel_timer()

void mavlink_mission_cancel_timer ( void )

Definition at line 70 of file mission_manager.c.

References mission_mgr, and sys_time_cancel_timer().

Referenced by mavlink_block_message_handler(), mavlink_mission_message_handler(), mavlink_mission_periodic(), and mavlink_wp_message_handler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mavlink_mission_init()

void mavlink_mission_init ( mavlink_mission_mgr * mgr)

Definition at line 54 of file mission_manager.c.

References mavlink_mission_mgr::seq, and mavlink_mission_mgr::timer_id.

Referenced by mavlink_init().

Here is the caller graph for this function:

◆ mavlink_mission_message_handler()

void mavlink_mission_message_handler ( const mavlink_message_t * msg)

Definition at line 78 of file mission_manager.c.

References mavlink_block_message_handler(), MAVLINK_DEBUG, mavlink_mission_cancel_timer(), mavlink_wp_message_handler(), mission_mgr, and STATE_IDLE.

Referenced by mavlink_event().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mavlink_mission_periodic()

void mavlink_mission_periodic ( void )

update current block and send if changed

Definition at line 93 of file mission_manager.c.

References get_nav_block(), MAVLINK_DEBUG, mavlink_mission_cancel_timer(), MAVLinkSendMessage, mission_mgr, STATE_IDLE, and sys_time_check_and_ack_timer().

Referenced by mavlink_periodic().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mavlink_mission_set_timer()

void mavlink_mission_set_timer ( void )

Definition at line 60 of file mission_manager.c.

References MAVLINK_TIMEOUT, mission_mgr, sys_time_register_timer(), and sys_time_update_timer().

Referenced by mavlink_block_message_handler(), and mavlink_wp_message_handler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mavlink_send_mission_ack()

void mavlink_send_mission_ack ( void )

Definition at line 110 of file mission_manager.c.

References MAVLINK_DEBUG, MAVLinkSendMessage, and mission_mgr.