Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nav_rotorcraft_hybrid.h File Reference

Specific navigation functions for hybrid aircraft. More...

+ Include dependency graph for nav_rotorcraft_hybrid.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void nav_rotorcraft_hybrid_init (void)
 Init and register nav functions. More...
 

Variables

float nav_max_speed
 
float nav_goto_max_speed
 
float nav_max_deceleration_sp
 
float nav_hybrid_line_gain
 
float nav_hybrid_pos_gain
 
bool force_forward
 forward flight for hybrid nav More...
 

Detailed Description

Specific navigation functions for hybrid aircraft.

FIXME for now, build on top of nav_rotorcraft_base

Definition in file nav_rotorcraft_hybrid.h.

Function Documentation

◆ nav_rotorcraft_hybrid_init()

void nav_rotorcraft_hybrid_init ( void  )

Init and register nav functions.

For hybrid vehicle nav Init should be called after the normal rotorcraft nav_init as we are reusing some of the functions and overwritting others

Definition at line 277 of file nav_rotorcraft_hybrid.c.

References NavBase_t::circle, DEFAULT_CIRCLE_RADIUS, NavBase_t::goto_wp, NavGoto_t::leg_length, NavGoto_t::leg_progress, nav_hybrid_approaching(), nav_hybrid_circle(), nav_hybrid_goto(), nav_hybrid_route(), nav_register_circle(), nav_register_goto_wp(), nav_rotorcraft_base, and NavCircle_t::radius.

+ Here is the call graph for this function:

Variable Documentation

◆ force_forward

bool force_forward
extern

forward flight for hybrid nav

Definition at line 119 of file guidance_indi_hybrid.c.

Referenced by nav_hybrid_circle(), nav_hybrid_goto(), nav_hybrid_route(), and rotwing_state_set_state_settings().

◆ nav_goto_max_speed

float nav_goto_max_speed
extern

Definition at line 52 of file nav_rotorcraft_hybrid.c.

Referenced by nav_hybrid_goto().

◆ nav_hybrid_line_gain

float nav_hybrid_line_gain
extern

Definition at line 63 of file nav_rotorcraft_hybrid.c.

Referenced by nav_hybrid_route().

◆ nav_hybrid_pos_gain

float nav_hybrid_pos_gain
extern

Definition at line 77 of file nav_rotorcraft_hybrid.c.

Referenced by nav_hybrid_circle(), nav_hybrid_goto(), and nav_hybrid_route().

◆ nav_max_deceleration_sp

float nav_max_deceleration_sp
extern

Definition at line 46 of file nav_rotorcraft_hybrid.h.

Referenced by nav_hybrid_goto().

◆ nav_max_speed