Skip to content

Commit 92e9315

Browse files
committed
update D term default
1 parent 512b677 commit 92e9315

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/Settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3598,7 +3598,7 @@ D gain of altitude PID controller (Fixedwing)
35983598

35993599
| Default | Min | Max |
36003600
| --- | --- | --- |
3601-
| 6 | 0 | 255 |
3601+
| 10 | 0 | 255 |
36023602

36033603
---
36043604

src/main/fc/settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,7 @@ groups:
21432143
max: 255
21442144
- name: nav_fw_pos_z_d
21452145
description: "D gain of altitude PID controller (Fixedwing)"
2146-
default_value: 6
2146+
default_value: 10
21472147
field: bank_fw.pid[PID_POS_Z].D
21482148
min: 0
21492149
max: 255

src/main/navigation/navigation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4960,7 +4960,7 @@ void navigationUsePIDs(void)
49604960

49614961
navPidInit(&posControl.pids.fw_alt, (float)pidProfile()->bank_fw.pid[PID_POS_Z].P / 100.0f,
49624962
(float)pidProfile()->bank_fw.pid[PID_POS_Z].I / 100.0f,
4963-
(float)pidProfile()->bank_fw.pid[PID_POS_Z].D / 200.0f,
4963+
(float)pidProfile()->bank_fw.pid[PID_POS_Z].D / 300.0f,
49644964
(float)pidProfile()->bank_fw.pid[PID_POS_Z].FF / 100.0f,
49654965
NAV_DTERM_CUT_HZ,
49664966
0.0f

0 commit comments

Comments
 (0)