Initial tuning - rotorflight/rotorflight GitHub Wiki

❗ This page is outdated

Rotorflight Wiki is replaced by www.rotorflight.org.


Remove All Oscillations.

  • Set all D-terms to 0
  • Set P-term on Pitch and Roll to a low value, like 10
  • Decrease I-term on on all axis to 50%
  • Keep FF as it is on pitch and roll
  • Set FF on yaw to 0

You should be able to fly this, but it won't have much stabilization. Just direct stick to swash control, like a heli without FBL.

Tune FF on Pitch and Roll

  • Tune the FF terms on pitch and roll. Try to make the gyro rate to match setpoint as closely as possible. You will need to take a few logs and check the results, and adjust the values each time.
  • If the tail is causing trouble, you can increase the yaw I-term a little bit, until it's holding.

Get the Tail Working

  • Start increasing the I-term further, until it is holding well in hover. Don't worry about any bounce after movements at this point
  • If it starts oscillation, decrease the I-term. Usually the I-term oscilaltion is rather slow
  • Once the I-term is about right, start increasing the P-term. This will remove the tail bounce
  • If there is too much P-term, you will see faster oscillation. If this happens, back off 25% or more
  • Servo driven tail: don't add any D-term yet
  • Motor driven tail: start with a D-term of 50% P-term
  • You shouldn't need any FF on yaw

Get Pitch and Roll Stabilization Working

  • Start increasing the I-term on Pitch & Roll, until it feels stable
  • Once stable in hover, start increasing P-terms
  • Increase until you get slight oscillation, then back of 25%
  • Increase I-term until it holds attitude in wind and large collective and lateral moves.

THIS SHOULD BE YOUR INITIAL TUNE

After this you can really start pushing it and testing different flight moves, and fine tuning.

Good luck Jim.

Example: I-gain Too High

This oscillation on the Pitch axis is because the I-gain is too high. Decrease the I-term. high-i-term

⚠️ **GitHub.com Fallback** ⚠️