Profile image

EngineBrake

84.9k Leehopard  4.7 years ago
69 downloads
Auto Credit Based on Leehopard's turretreturn

Simulated engine brake. the car will slow down if there's no pitch input.


Pitch
+
clamp01((Pitch=0)&(GS>0.2))(abs(AngleOfAttack)<90)clamp(-GS/20,-0.5,0.5)


clamp01((Pitch=0)&(GS>0.2))
condition - activated if there's no pitch input and GS is faster than 0.2m/s, to override manual pitch input and prevent swinging at near zero GS.


(abs(AngleOfAttack)<90)
designate direction, because GS has no vector.


clamp(-GS/20,-0.5,0.5)
I tried PID but it takes too long time to correct, so I just applied only P of the PID and added GS>0.2 condition.

General Characteristics

  • Predecessor turretreturn
  • Successors 1 airplane(s)
  • Created On Windows
  • Wingspan 12.5ft (3.8m)
  • Length 23.7ft (7.2m)
  • Height 5.3ft (1.6m)
  • Empty Weight 3,267lbs (1,481kg)
  • Loaded Weight 3,544lbs (1,607kg)

Performance

  • Wing Loading N/A
  • Wing Area 0.0ft2 (0.0m2)
  • Drag Points 2371

Parts

  • Number of Parts 32
  • Control Surfaces 0
  • Performance Cost 164