|  | Paparazzi UAS v7.0_unstable
    Paparazzi is a free software Unmanned Aircraft System. | 
Common flight_plan functions shared between fixedwing and rotorcraft. More...
 Include dependency graph for common_flight_plan.c:
 Include dependency graph for common_flight_plan.c:Go to the source code of this file.
| Functions | |
| void | common_flight_plan_init (void) | 
| void | nav_init_block (void) | 
| void | nav_goto_block (uint8_t b) | 
| void | nav_goto_next_block (void) | 
| void | nav_goto_next_stage (void) | 
| void | nav_return (uint8_t reset) | 
| uint8_t | get_nav_block () | 
| uint8_t | get_nav_stage () | 
| uint8_t | get_last_block () | 
| uint8_t | get_last_stage () | 
| void | set_nav_block (uint8_t b) | 
| void | set_nav_stage (uint8_t s) | 
| Variables | |
| uint16_t | stage_time | 
| In s. | |
| 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. | |
| uint8_t | last_stage | 
| uint8_t last_wp | UNUSED | 
| static uint8_t | private_nav_stage | 
| static uint8_t | private_nav_block | 
| static uint8_t | private_last_block | 
| static uint8_t | private_last_stage | 
Common flight_plan functions shared between fixedwing and rotorcraft.
Definition in file common_flight_plan.c.
Definition at line 43 of file common_flight_plan.c.
References block_time, last_block, last_stage, nav_block, nav_stage, private_last_block, private_last_stage, private_nav_block, private_nav_stage, and stage_time.
Referenced by nav_init().
 Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 119 of file common_flight_plan.c.
References private_last_block.
Definition at line 122 of file common_flight_plan.c.
References private_last_stage.
Definition at line 113 of file common_flight_plan.c.
References private_nav_block.
Referenced by generic_com_periodic(), and mavlink_mission_periodic().
 Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 116 of file common_flight_plan.c.
References private_nav_stage.
Definition at line 69 of file common_flight_plan.c.
References b, last_block, last_stage, nav_block, nav_init_block(), nav_on_exit_block(), private_last_block, private_last_stage, private_nav_block, and private_nav_stage.
Referenced by gsm_receive_content(), mavlink_block_message_handler(), nav_goto_next_block(), nav_parse_BLOCK(), and nav_parse_BLOCK().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 84 of file common_flight_plan.c.
References foo, nav_goto_block(), and private_nav_block.
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 92 of file common_flight_plan.c.
References InitStage, nav_stage, and private_nav_stage.
Definition at line 56 of file common_flight_plan.c.
References block_time, foo, InitStage, nav_block, nav_on_enter_block(), nav_stage, private_nav_block, and private_nav_stage.
Referenced by nav_goto_block().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 98 of file common_flight_plan.c.
References block_time, InitStage, nav_block, nav_on_enter_block(), nav_on_exit_block(), nav_stage, private_last_block, private_last_stage, private_nav_block, private_nav_stage, and reset.
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 126 of file common_flight_plan.c.
References b, foo, nav_block, and private_nav_block.
Definition at line 136 of file common_flight_plan.c.
References nav_stage, private_nav_stage, and s.
| uint16_t block_time | 
Definition at line 32 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), common_nav_periodic_task(), nav_init_block(), nav_periodic_task(), nav_return(), send_nav_status(), and send_nav_status().
| uint8_t last_block | 
To save the current block/stage to enable return.
Definition at line 37 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), and nav_goto_block().
| uint8_t last_stage | 
Definition at line 37 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), and nav_goto_block().
| uint8_t nav_block | 
Definition at line 34 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), nav_goto_block(), nav_init_block(), nav_return(), send_minimal_com(), send_nav_status(), send_nav_status(), and set_nav_block().
| uint8_t nav_stage | 
Definition at line 34 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), nav_goto_next_stage(), nav_init_block(), nav_return(), send_nav_status(), send_nav_status(), and set_nav_stage().
| 
 | static | 
Definition at line 41 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), get_last_block(), nav_goto_block(), and nav_return().
| 
 | static | 
Definition at line 41 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), get_last_stage(), nav_goto_block(), and nav_return().
| 
 | static | 
Definition at line 40 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), get_nav_block(), nav_goto_block(), nav_goto_next_block(), nav_init_block(), nav_return(), and set_nav_block().
| 
 | static | 
Definition at line 40 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), get_nav_stage(), nav_goto_block(), nav_goto_next_stage(), nav_init_block(), nav_return(), and set_nav_stage().
| uint16_t stage_time | 
In s.
Definition at line 32 of file common_flight_plan.c.
Referenced by common_flight_plan_init(), common_nav_periodic_task(), nav_heli_spinup_run(), nav_init_stage(), nav_periodic_task(), send_nav_status(), and send_nav_status().
Definition at line 38 of file common_flight_plan.c.