PX4 Firmware
PX4 Autopilot Software http://px4.io
PID_t Struct Reference

#include <pid.h>

Collaboration diagram for PID_t:

Public Attributes

pid_mode_t mode
 
float dt_min
 
float kp
 
float ki
 
float kd
 
float integral
 
float integral_limit
 
float output_limit
 
float error_previous
 
float last_output
 

Detailed Description

Definition at line 71 of file pid.h.

Member Data Documentation

◆ dt_min

float PID_t::dt_min

Definition at line 73 of file pid.h.

Referenced by pid_calculate(), and pid_init().

◆ error_previous

float PID_t::error_previous

Definition at line 80 of file pid.h.

Referenced by pid_calculate(), and pid_init().

◆ integral

float PID_t::integral

Definition at line 77 of file pid.h.

Referenced by pid_calculate(), pid_init(), and pid_reset_integral().

◆ integral_limit

float PID_t::integral_limit

Definition at line 78 of file pid.h.

Referenced by pid_calculate(), pid_init(), and pid_set_parameters().

◆ kd

float PID_t::kd

Definition at line 76 of file pid.h.

Referenced by pid_calculate(), pid_init(), and pid_set_parameters().

◆ ki

float PID_t::ki

Definition at line 75 of file pid.h.

Referenced by pid_calculate(), pid_init(), and pid_set_parameters().

◆ kp

float PID_t::kp

Definition at line 74 of file pid.h.

Referenced by pid_calculate(), pid_init(), and pid_set_parameters().

◆ last_output

float PID_t::last_output

Definition at line 81 of file pid.h.

Referenced by pid_calculate(), and pid_init().

◆ mode

pid_mode_t PID_t::mode

Definition at line 72 of file pid.h.

Referenced by pid_calculate(), and pid_init().

◆ output_limit

float PID_t::output_limit

Definition at line 79 of file pid.h.

Referenced by pid_calculate(), pid_init(), and pid_set_parameters().


The documentation for this struct was generated from the following file: