Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
guidance_plane.h File Reference

Guidance controller for planes in rotorcraft firmware using basic PID controller no airspeed control. More...

#include "std.h"
#include "math/pprz_algebra_int.h"
#include "math/pprz_algebra_float.h"
+ Include dependency graph for guidance_plane.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GuidancePlane
 

Functions

void guidance_plane_init (void)
 
void guidance_plane_enter (void)
 
struct StabilizationSetpoint guidance_plane_attitude_from_nav (bool in_flight)
 run horizontal control loop for position and speed control
 
struct ThrustSetpoint guidance_plane_thrust_from_nav (bool in_flight)
 run vertical control loop for position and speed control
 

Variables

struct GuidancePlane guidance_plane
 Guidance PID structyre.
 

Detailed Description

Guidance controller for planes in rotorcraft firmware using basic PID controller no airspeed control.

Definition in file guidance_plane.h.


Data Structure Documentation

◆ GuidancePlane

struct GuidancePlane

Definition at line 39 of file guidance_plane.h.

Data Fields
float altitude_setpoint
float climb_kp
float climb_max_setpoint
float climb_setpoint
float climb_throttle_increment
float course_kd
float course_kp
float course_pre_bank_correction
float course_setpoint
float cruise_throttle
float p_kd
float p_ki
float p_kp
float pitch_cmd
float pitch_max_setpoint
float pitch_min_setpoint
float pitch_of_vz
float pitch_trim
float roll_cmd
float roll_max_setpoint
float t_kd
float t_ki
float t_kp
int32_t throttle_cmd

Function Documentation

◆ guidance_plane_attitude_from_nav()

◆ guidance_plane_enter()

void guidance_plane_enter ( void  )
extern

Definition at line 276 of file guidance_plane.c.

References pitch_sum_err, and throttle_sum_err.

◆ guidance_plane_init()

◆ guidance_plane_thrust_from_nav()

Variable Documentation

◆ guidance_plane