Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
guidance_oneloop.c File Reference

A dummy guidance module to run the oneloop_andi controller. More...

+ Include dependency graph for guidance_oneloop.c:

Go to the source code of this file.

Functions

void guidance_h_run_enter (void)
 
void guidance_v_run_enter (void)
 
struct StabilizationSetpoint guidance_h_run_pos (bool in_flight, struct HorizontalGuidance *gh)
 
struct StabilizationSetpoint guidance_h_run_speed (bool in_flight, struct HorizontalGuidance *gh)
 
struct StabilizationSetpoint guidance_h_run_accel (bool in_flight, struct HorizontalGuidance *gh)
 
int32_t guidance_v_run_pos (bool in_flight UNUSED, struct VerticalGuidance *gv)
 
int32_t guidance_v_run_speed (bool in_flight UNUSED, struct VerticalGuidance *gv)
 
int32_t guidance_v_run_accel (bool in_flight UNUSED, struct VerticalGuidance *gv)
 
struct StabilizationSetpoint guidance_oneloop_run_mode (bool in_flight, struct HorizontalGuidance *gh, struct VerticalGuidance *gv, enum GuidanceOneloop_HMode h_mode, enum GuidanceOneloop_VMode v_mode)
 

Variables

static struct VerticalGuidance_gv = &guidance_v
 
static enum GuidanceOneloop_VMode _v_mode = GUIDANCE_ONELOOP_V_POS
 

Detailed Description

A dummy guidance module to run the oneloop_andi controller.

Definition in file guidance_oneloop.c.

Function Documentation

◆ guidance_h_run_accel()

struct StabilizationSetpoint guidance_h_run_accel ( bool  in_flight,
struct HorizontalGuidance gh 
)

Definition at line 44 of file guidance_oneloop.c.

Referenced by guidance_h_from_nav().

+ Here is the caller graph for this function:

◆ guidance_h_run_enter()

void guidance_h_run_enter ( void  )

Definition at line 34 of file guidance_oneloop.c.

References oneloop_andi_enter().

Referenced by guidance_h_hover_enter(), and guidance_h_nav_enter().

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

◆ guidance_h_run_pos()

struct StabilizationSetpoint guidance_h_run_pos ( bool  in_flight,
struct HorizontalGuidance gh 
)

Definition at line 44 of file guidance_oneloop.c.

Referenced by guidance_h_from_nav(), and guidance_h_guided_run().

+ Here is the caller graph for this function:

◆ guidance_h_run_speed()

struct StabilizationSetpoint guidance_h_run_speed ( bool  in_flight,
struct HorizontalGuidance gh 
)

Definition at line 44 of file guidance_oneloop.c.

Referenced by guidance_h_from_nav().

+ Here is the caller graph for this function:

◆ guidance_oneloop_run_mode()

struct StabilizationSetpoint guidance_oneloop_run_mode ( bool  in_flight,
struct HorizontalGuidance gh,
struct VerticalGuidance gv,
enum GuidanceOneloop_HMode  h_mode,
enum GuidanceOneloop_VMode  v_mode 
)

Definition at line 76 of file guidance_oneloop.c.

References _gv, _v_mode, and GUIDANCE_ONELOOP_V_ACCEL.

◆ guidance_v_run_accel()

int32_t guidance_v_run_accel ( bool in_flight  UNUSED,
struct VerticalGuidance gv 
)

Definition at line 76 of file guidance_oneloop.c.

◆ guidance_v_run_enter()

void guidance_v_run_enter ( void  )

Definition at line 39 of file guidance_oneloop.c.

Referenced by guidance_v_from_nav(), guidance_v_guided_enter(), guidance_v_mode_changed(), and guidance_v_z_enter().

+ Here is the caller graph for this function:

◆ guidance_v_run_pos()

int32_t guidance_v_run_pos ( bool in_flight  UNUSED,
struct VerticalGuidance gv 
)

Definition at line 62 of file guidance_oneloop.c.

References _gv, _v_mode, and GUIDANCE_ONELOOP_V_POS.

Referenced by guidance_v_from_nav(), and guidance_v_guided_run().

+ Here is the caller graph for this function:

◆ guidance_v_run_speed()

int32_t guidance_v_run_speed ( bool in_flight  UNUSED,
struct VerticalGuidance gv 
)

Definition at line 69 of file guidance_oneloop.c.

References _gv, _v_mode, and GUIDANCE_ONELOOP_V_SPEED.

Referenced by guidance_v_from_nav(), guidance_v_guided_run(), and guidance_v_run().

+ Here is the caller graph for this function:

Variable Documentation

◆ _gv

struct VerticalGuidance* _gv = &guidance_v
static

◆ _v_mode