This is a completely rewritten FBW code that uses a PID controller which made the code shorter while having more functions.
Roll Logic
- Bank Angle hold from 0 degrees to 33 degrees
- Bank Angle limit up to 67 degrees with constant roll input and returns to 33 degrees of bank when the stick returns to neutral
- Limits the max roll rate to 15 deg/sec
Pitch Logic
- Maintains 1G and level flight with zero stick input
- Pitch Angle limits at -15 degrees and 30 degrees
- Limits max load factor (G limit) at 2.5G
- Pitch Input determines the load factor from -1G to +2.5G
This is a completely rewritten FBW code that uses a PID controller which made the code shorter while having more functions.
Roll Logic
- Bank Angle hold from 0 degrees to 33 degrees
- Bank Angle limit up to 67 degrees with constant roll input and returns to 33 degrees of bank when the stick returns to neutral
- Limits the max roll rate to 15 deg/sec
Pitch Logic
- Maintains 1G and level flight with zero stick input
- Pitch Angle limits at -15 degrees and 30 degrees
- Limits max load factor (G limit) at 2.5G
- Pitch Input determines the load factor from -1G to +2.5G
Gen-alpha realizing the A330 permits only 67 degrees of roll in normal law:
@GuianLorenzo oh
@PZLAgencies yeah, the old auto trim code is pretty bad and I'll try to make it better after I finish some other stuff
@PZLAgencies this isn't really a teaser lol
t and when
the old trim was hard to use (i couldnt adjust it)