Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
guidance_oneloop_nB.c File Reference

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

Include dependency graph for guidance_oneloop_nB.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_nB_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_NB_V_POS

Detailed Description

A dummy guidance module to run the oneloop_nB controller.

Definition in file guidance_oneloop_nB.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_nB.c.

References _gv, _v_mode, guidance_h_run_accel(), GUIDANCE_ONELOOP_H_ACCEL, GUIDANCE_ONELOOP_NB_H_ACCEL, guidance_oneloop_nB_run_mode(), and guidance_oneloop_run_mode().

Referenced by guidance_h_run_accel().

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

◆ guidance_h_run_enter()

void guidance_h_run_enter ( void )

Definition at line 35 of file guidance_oneloop_nB.c.

Referenced by guidance_h_hover_enter(), and guidance_h_nav_enter().

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 48 of file guidance_oneloop_nB.c.

References _gv, _v_mode, guidance_h_run_pos(), GUIDANCE_ONELOOP_H_POS, GUIDANCE_ONELOOP_NB_H_POS, guidance_oneloop_nB_run_mode(), and guidance_oneloop_run_mode().

Referenced by guidance_h_guided_run(), and guidance_h_run_pos().

Here is the call graph for this function:
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 53 of file guidance_oneloop_nB.c.

References _gv, _v_mode, guidance_h_run_speed(), GUIDANCE_ONELOOP_H_SPEED, GUIDANCE_ONELOOP_NB_H_SPEED, guidance_oneloop_nB_run_mode(), and guidance_oneloop_run_mode().

Referenced by guidance_h_guided_run(), and guidance_h_run_speed().

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

◆ guidance_oneloop_nB_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_nB.c.

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

Here is the call graph for this function:

◆ guidance_v_run_enter()

void guidance_v_run_enter ( void )

Definition at line 40 of file guidance_oneloop_nB.c.

◆ 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_nB.c.

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

Here is the call 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_nB.c.

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

Here is the call graph for this function:

Variable Documentation

◆ _gv

struct VerticalGuidance* _gv = &guidance_v
static

Definition at line 45 of file guidance_oneloop_nB.c.

◆ _v_mode

Definition at line 46 of file guidance_oneloop_nB.c.

◆ thrust_sp

struct ThrustSetpoint thrust_sp

Definition at line 33 of file guidance_oneloop_nB.c.