Advertisement
Guest User

Simpleplanes Funky Trees Vertical AutoLand

a guest
Aug 14th, 2020
711
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. inverselerp(0,"THRUST", -1 * ("MASS" * ((-1 * TAS * TAS ) / (2 * (AltitudeAgl - "HOVERZONE")) - 9.8))) * clamp01(AltitudeAgl > "HOVERZONE" + "BUFFER") * clamp01(AltitudeAgl < "BURN START" )
  2.  
  3. Local CONSTANTS:
  4. -THRUST: The maximum thrust of your engine. (Newtons)
  5. -MASS: Mass of the craft. (KG)
  6. -HOVERZONE: The equation will have the device perfectly stop at this point. (Meters)
  7. -BUFFER: The system will cut out the engine landing sequence at this altitude, above the HOVERZONE. That way it lands and doesn't hover at 0m/s. (Meters above HOVERZONE, recc. 0.1)
  8. -BURN START: The altitude AGL the craft will start its landing burn (The lower, the more thrust required to land safely)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement