1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Merge pull request #9633 from mikeller/remove_vbat_pid_compensation

Remove vbat pid compensation
This commit is contained in:
Michael Keller 2020-07-06 13:41:27 +12:00 committed by GitHub
commit 41fa8754bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 7 additions and 27 deletions

View file

@ -1047,7 +1047,7 @@ extern "C" {
bool isFirstArmingGyroCalibrationRunning(void) { return false; }
void pidController(const pidProfile_t *, timeUs_t) {}
void pidStabilisationState(pidStabilisationState_e) {}
void mixTable(timeUs_t , uint8_t) {};
void mixTable(timeUs_t) {};
void writeMotors(void) {};
void writeServos(void) {};
bool calculateRxChannelsAndUpdateFailsafe(timeUs_t) { return true; }

View file

@ -114,7 +114,6 @@ void setDefaultTestSettings(void) {
pidProfile->dterm_notch_cutoff = 160;
pidProfile->dterm_filter_type = FILTER_BIQUAD;
pidProfile->itermWindupPointPercent = 50;
pidProfile->vbatPidCompensation = 0;
pidProfile->pidAtMinThrottle = PID_STABILISATION_ON;
pidProfile->levelAngleLimit = 55;
pidProfile->feedForwardTransition = 100;

View file

@ -139,7 +139,7 @@ extern "C" {
bool isFirstArmingGyroCalibrationRunning(void) { return false; }
void pidController(const pidProfile_t *, timeUs_t) {}
void pidStabilisationState(pidStabilisationState_e) {}
void mixTable(timeUs_t , uint8_t) {};
void mixTable(timeUs_t) {};
void writeMotors(void) {};
void writeServos(void) {};
bool calculateRxChannelsAndUpdateFailsafe(timeUs_t) { return true; }