Paparazzi UAS  v5.8.2_stable-0-g6260b7c
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 GotoBlock, last_block, last_stage, nav_block, and nav_stage.

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

+ 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.

Variable Documentation

uint16_t block_time
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(), and nav_init_block().

uint16_t stage_time

In s.

Definition at line 33 of file common_flight_plan.c.

Referenced by common_nav_periodic_task_4Hz(), nav_init_stage(), and nav_periodic_task().