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)
 
struct ThrustSetpoint guidance_v_run_pos (bool in_flight UNUSED, struct VerticalGuidance *gv)
 
struct ThrustSetpoint guidance_v_run_speed (bool in_flight UNUSED, struct VerticalGuidance *gv)
 
struct ThrustSetpoint 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

struct ThrustSetpoint thrust_sp
 
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 45 of file guidance_oneloop.c.

◆ guidance_h_run_enter()

void guidance_h_run_enter ( void  )

Definition at line 35 of file guidance_oneloop.c.

References CTRL_ANDI, and oneloop_andi_enter().

Referenced by guidance_h_from_nav(), and guidance_h_hover_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 45 of file guidance_oneloop.c.

◆ guidance_h_run_speed()

struct StabilizationSetpoint guidance_h_run_speed ( bool  in_flight,
struct HorizontalGuidance gh 
)

Definition at line 45 of file guidance_oneloop.c.

◆ 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 45 of file guidance_oneloop.c.

◆ guidance_v_run_accel()

struct ThrustSetpoint guidance_v_run_accel ( bool in_flight  UNUSED,
struct VerticalGuidance gv 
)

Definition at line 45 of file guidance_oneloop.c.

◆ guidance_v_run_enter()

void guidance_v_run_enter ( void  )

Definition at line 40 of file guidance_oneloop.c.

Referenced by 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()

struct ThrustSetpoint guidance_v_run_pos ( bool in_flight  UNUSED,
struct VerticalGuidance gv 
)

Definition at line 45 of file guidance_oneloop.c.

◆ guidance_v_run_speed()

struct ThrustSetpoint guidance_v_run_speed ( bool in_flight  UNUSED,
struct VerticalGuidance gv 
)

Definition at line 45 of file guidance_oneloop.c.

Variable Documentation

◆ _gv

struct VerticalGuidance* _gv = &guidance_v
static

Definition at line 45 of file guidance_oneloop.c.

◆ _v_mode

Definition at line 45 of file guidance_oneloop.c.

◆ thrust_sp

struct ThrustSetpoint thrust_sp

Definition at line 1 of file guidance_oneloop.c.