Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AC_PID/AP_PIDInfo.h
9676 views
1
#pragma once
2
3
// This structure provides information on the internal member data of
4
// a PID. It provides an abstract way to pass PID information around,
5
// useful for logging and sending mavlink messages.
6
7
// It is also used to pass PID information into controllers...
8
9
struct AP_PIDInfo {
10
float target;
11
float actual;
12
float error;
13
float P;
14
float I;
15
float D;
16
float FF;
17
float DFF;
18
float Dmod;
19
float slew_rate;
20
bool limit;
21
bool PD_limit;
22
bool reset;
23
bool I_term_set;
24
};
25
26