|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
A dummy guidance module to run the oneloop_nB controller. More...
#include "firmwares/rotorcraft/guidance/guidance_h.h"#include "firmwares/rotorcraft/guidance/guidance_v.h"#include "firmwares/rotorcraft/guidance/guidance_oneloop_nB.h"#include "firmwares/rotorcraft/oneloop/oneloop_nB.h"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 |
A dummy guidance module to run the oneloop_nB controller.
Definition in file guidance_oneloop_nB.c.
| 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().
| 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().
| 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().
| 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().
| 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 ) |
Definition at line 84 of file guidance_oneloop_nB.c.
References ACCEL_FLOAT_OF_BFP, GUIDANCE_ONELOOP_NB_H_POS, GUIDANCE_ONELOOP_NB_H_SPEED, guidance_oneloop_nB_run_mode(), GUIDANCE_ONELOOP_NB_V_POS, GUIDANCE_ONELOOP_NB_V_SPEED, oneloop_nB, oneloop_nB_run(), POS_FLOAT_OF_BFP, StabilizationSetpoint::sp, SPEED_FLOAT_OF_BFP, FloatVect3::x, FloatVect3::y, FloatVect3::z, VerticalGuidance::z_sp, VerticalGuidance::zd_sp, and VerticalGuidance::zdd_ref.
Referenced by guidance_h_run_accel(), guidance_h_run_pos(), guidance_h_run_speed(), and guidance_oneloop_nB_run_mode().
| 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.
| void guidance_v_run_enter | ( | void | ) |
Definition at line 40 of file guidance_oneloop_nB.c.
| 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.
| 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.
|
static |
Definition at line 45 of file guidance_oneloop_nB.c.
|
static |
Definition at line 46 of file guidance_oneloop_nB.c.
| struct ThrustSetpoint thrust_sp |
Definition at line 33 of file guidance_oneloop_nB.c.