mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Smooth anti gravity
This commit is contained in:
parent
60a59334a5
commit
4c917efa50
17 changed files with 103 additions and 22 deletions
|
@ -850,4 +850,5 @@ extern "C" {
|
|||
void rescheduleTask(cfTaskId_e, uint32_t) {}
|
||||
bool usbCableIsInserted(void) { return false; }
|
||||
bool usbVcpIsConnected(void) { return false; }
|
||||
void pidSetAntiGravityState(bool) {}
|
||||
}
|
||||
|
|
|
@ -1036,5 +1036,5 @@ extern "C" {
|
|||
return false;
|
||||
}
|
||||
|
||||
float pidItermAccelerator(void) { return 1.0; }
|
||||
bool pidOsdAntiGravityActive(void) { return false; }
|
||||
}
|
||||
|
|
|
@ -105,7 +105,8 @@ void setDefaultTestSettings(void) {
|
|||
pidProfile->dtermSetpointWeight = 0;
|
||||
pidProfile->yawRateAccelLimit = 100;
|
||||
pidProfile->rateAccelLimit = 0;
|
||||
pidProfile->itermThrottleThreshold = 350;
|
||||
pidProfile->antiGravityMode = ANTI_GRAVITY_SMOOTH;
|
||||
pidProfile->itermThrottleThreshold = 250;
|
||||
pidProfile->itermAcceleratorGain = 1000;
|
||||
pidProfile->crash_time = 500;
|
||||
pidProfile->crash_delay = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue