Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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 58 of file guidance_oneloop.c.

◆ guidance_h_run_enter()

void guidance_h_run_enter ( void )

Definition at line 35 of file guidance_oneloop.c.

◆ guidance_h_run_pos()

struct StabilizationSetpoint guidance_h_run_pos ( bool in_flight,
struct HorizontalGuidance * gh )

Definition at line 48 of file guidance_oneloop.c.

◆ guidance_h_run_speed()

struct StabilizationSetpoint guidance_h_run_speed ( bool in_flight,
struct HorizontalGuidance * gh )

Definition at line 53 of file guidance_oneloop.c.

◆ guidance_oneloop_run_mode()

◆ guidance_v_run_accel()

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

Definition at line 77 of file guidance_oneloop.c.

References _gv, _v_mode, GUIDANCE_ONELOOP_V_ACCEL, guidance_v_run_accel(), thrust_sp, and UNUSED.

Referenced by guidance_v_run_accel().

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

◆ guidance_v_run_enter()

void guidance_v_run_enter ( void )

Definition at line 40 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()

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

Definition at line 63 of file guidance_oneloop.c.

References _gv, _v_mode, GUIDANCE_ONELOOP_V_POS, guidance_v_run_pos(), thrust_sp, and UNUSED.

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

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

◆ guidance_v_run_speed()

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

Definition at line 70 of file guidance_oneloop.c.

References _gv, _v_mode, GUIDANCE_ONELOOP_V_SPEED, guidance_v_run_speed(), thrust_sp, and UNUSED.

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

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

Variable Documentation

◆ _gv

◆ _v_mode

◆ thrust_sp

struct ThrustSetpoint thrust_sp

Definition at line 33 of file guidance_oneloop.c.