mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
Split P and I term
This commit is contained in:
parent
ae917f9e71
commit
98a26d19e6
@ -78,7 +78,10 @@ public:
|
||||
/// @returns The updated control output.
|
||||
///
|
||||
//long get_pi(int32_t error, float dt);
|
||||
long get_pi(int32_t error, float dt, bool calc_i=true);
|
||||
int32_t get_pi(int32_t error, float dt);
|
||||
int32_t get_p(int32_t error);
|
||||
int32_t get_i(int32_t error, float dt);
|
||||
|
||||
|
||||
/// Reset the PI integrator
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user