Paparazzi UAS  v5.15_devel-112-g521f3cf
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
common_flight_plan.c File Reference

Common flight_plan functions shared between fixedwing and rotorcraft. More...

#include "subsystems/navigation/common_flight_plan.h"
#include "generated/flight_plan.h"
+ Include dependency graph for common_flight_plan.c:

Go to the source code of this file.

Functions

void nav_init_block (void)
 
void nav_goto_block (uint8_t b)
 

Variables

uint16_t stage_time
 In s. More...
 
uint16_t block_time
 
uint8_t nav_stage
 
uint8_t nav_block
 
uint8_t last_block
 To save the current block/stage to enable return. More...
 
uint8_t last_stage
 

Detailed Description

Common flight_plan functions shared between fixedwing and rotorcraft.

Definition in file common_flight_plan.c.

Function Documentation

void nav_goto_block ( uint8_t  b)

Definition at line 51 of file common_flight_plan.c.

References last_block, last_stage, nav_block, nav_init_block(), and nav_stage.

Referenced by firmware_parse_msg(), gsm_receive_content(), and mavlink_block_message_handler().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void nav_init_block ( void  )

Definition at line 41 of file common_flight_plan.c.

References block_time, InitStage, nav_block, and nav_stage.

Referenced by nav_goto_block().

+ Here is the caller graph for this function:

Variable Documentation

uint8_t last_block

To save the current block/stage to enable return.

Definition at line 38 of file common_flight_plan.c.

Referenced by nav_goto_block().

uint8_t last_stage

Definition at line 38 of file common_flight_plan.c.

Referenced by nav_goto_block().

uint8_t nav_stage

Definition at line 35 of file common_flight_plan.c.

Referenced by nav_goto_block(), nav_init(), nav_init_block(), and send_nav_status().