Profile image

this plane is pulling up but

55.3k Beefy  3.1 years ago

what is the canard doing lmao

yes this is a PID-based artificial stability build

  • Log in to leave a comment
  • Profile image
    55.3k Beefy

    @UsualPiooneer shhh

    3.1 years ago
  • Profile image
    55.3k Beefy

    @UsualPiooneer the PID values are a bitch though, so there's that.

    To tune (Ziegler-Nichols)

    1. start at 0,0,0
    2. Start with the proportional value. Use 1+Trim as an adjuster. Highly recommended to use DebugExpressions.
    3. Fly the plane, use autopilot to keep the plane flying straight, you will notice that the plane is oscillating, sometimes going out of control. Adjust until you get a good, stable oscillation. Take note of the trim value.
    4. After that, use the trim value as the P gain.

    5. Repeat step 2,3,4 for the D (3rd value) gain. However, you will be trying to stop the oscillations this time. Find the value that's just right. If it's too high, your surface will spazz out. Too low and it will make your plane lose stability. List it, and input.

    6. I gain is usually left zero. So yeah you're as good as done.

    3.1 years ago
  • Profile image
    55.3k Beefy

    @UsualPiooneer yes I did, it does use AoA as the current on the PID syntax

    Code:

    PID(Pitch*X, AngleOfAttack,P,I,D)/RA

    Had to use /RA and *X because the rotators freaked out without it. Besides X can be any value below RA to reduce the chances of stalling unintentionally.

    this plane doesn't cobra

    3.1 years ago