Skip to content

Commit 6cedd36

Browse files
committed
docs(tuning guide): Fix links to Andy Piper videos
1 parent 309cb25 commit 6cedd36

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

TUNING_GUIDE_ArduCopter.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
![Cinewhoop Diatone Taycan MX-C](images/blog/blog_title.png)
66

7-
For illustrative purposes, we will use the small 3'' multicopter depicted above, but the tuning sequence we developed at [IAV GmbH](https://www.iav.com/) will work on almost any other multicopter.
7+
For illustrative purposes, we will use the small 3'' multicopter depicted above, but the tuning sequence will work on any other multicopter.
88
Parts of Section 1 and Sections 2 to 6 apply to **all ArduPilot vehicles**: ArduPlane, ArduRover, ArduBoat, ArduSub, ArduBlimp ...
99

1010
This method uses the latest available [ArduPilot WebTools](https://firmware.ardupilot.org/Tools/WebTools/), some of the new features of ArduCopter 4.3 and above and best practices from the [ArduPilot Community](https://discuss.ardupilot.org/).
@@ -1086,7 +1086,6 @@ Set value from `1` to `8` to select the matching `FILTn_` filter number so that
10861086
| Error notch index | `ATC_RAT_RLL_NEF` | `ATC_RAT_PIT_NEF` | `ATC_RAT_YAW_NEF` | `PSC_ACCZ_NEF` |
10871087

10881088
Keep `ATC_RAT_*_D_FF` at `0` while tuning PID notch filters.
1089-
This term is for improving the "locked-in" feel of the drone so that the drone reacts with minimal latency.
10901089

10911090
1. Finish the normal harmonic notch calibration and run a short test flight.
10921091
Follow the same procedure as given in [Section 9.6](#96-performance-evaluation-flight) but with isolated inputs along roll, pitch and yaw axes, *one axis per log file*.
@@ -1102,7 +1101,7 @@ This term is for improving the "locked-in" feel of the drone so that the drone r
11021101
1. Fly a short test flight again and inspect the logs in the Filter Review Tool before making a change if necessary.
11031102
1. Disable the PID notch by setting the relevant `ATC_RAT_*_NEF` or `ATC_RAT_*_NTF` parameter back to `0` if the follow-up log does not show a clear improvement.
11041103

1105-
![Andy Piper - Setting PID Notches](https://www.youtube.com/watch?v=-Qua1HXFTLg)
1104+
[![Andy Piper - Setting PID error and target notch filters](images/blog/AndyPiper_setting_PID_error_and_target_notch_filters.jpg)](https://www.youtube.com/watch?v=-Qua1HXFTLg)
11061105

11071106
## 8.4 Configure the EKF altitude source weights
11081107

@@ -1476,16 +1475,28 @@ Now the standard tuning is complete you can skip to [Section 13 Productive Confi
14761475

14771476
## 9.7 Angle rate derivative feed-forward calculation
14781477

1479-
After the resonance is under control, and autotune is done, `D_FF` can be calculated to improve aggressive rate tracking.
1480-
But must be validated with logs because it changes actuator demand and pilot feel.
1478+
After the frame resonance is under control and autotune is done, calculate `ATC_RAT_*_D_FF` and `PSC_ACCZ_D_FF` to improve aggressive rate tracking.
1479+
This term is for improving the "locked-in" feel of the drone so that the drone reacts with minimal latency.
1480+
1481+
Angular velocity is one of `RATE.P`, `RATE.R`, `RATE.Y` in deg/s
1482+
1483+
Angular velocity setpoint is one of `RATE.POut`, `RATE.ROut`, `RATE.YOut`
1484+
1485+
Time is in seconds
1486+
1487+
Angular acceleration = |ang_vel_end - ang_vel_start| x pi / (180 x (time_end - time_start)) in rad/s/s
1488+
1489+
ATC_RAT_*_D_FF = RATE.*Out / Angular acceleration
1490+
1491+
It must be validated with logs because it changes actuator demand and pilot feel.
14811492
The below images show how the tune can be made tighter during aggressive maneuvers:
14821493

14831494
| | |
14841495
| :---: | :---: |
14851496
| ![Without D_FF](images/Without_D_FF.png) | ![With D_FF](images/With_D_FF.png) |
14861497
| Without D_FF | With D_FF |
14871498

1488-
![Andy Piper - Calculating D feed-forward](https://www.youtube.com/watch?v=4qxzsCOu8Qw)
1499+
[![Andy Piper - Calculating D feed-forward PID gains](images/blog/AndyPiper_calculating_D_feed-forward_PID_gains.jpg)](https://www.youtube.com/watch?v=4qxzsCOu8Qw)
14891500

14901501
# 10. Improve altitude under windy conditions (optional)
14911502

15.3 KB
Loading
18.5 KB
Loading

0 commit comments

Comments
 (0)