sumguytwitches

Untitled

Feb 16th, 2021 (edited)
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. set ppid to pidloop(0.9,0.2,0.3,0,90).
  2. lock retroheading to body:geopositionof(srfretrograde:vector:normalized):heading.
  3. lock steering to heading(retroheading, 0).
  4. gear on.
  5.  
  6. lock p to ppid:update(time:seconds, ship:verticalspeed).
  7. lock throttle to 1.
  8. lock steering to heading(retroheading, p).
  9. ppid:reset().
  10. set ppid:setpoint to 0.
  11.  
  12.  
  13.  
Add Comment
Please, Sign In to add comment