Add some print lines and a button to toggle terminal.

This commit is contained in:
Anna Rose Wiggins 2021-07-19 21:36:04 -04:00
parent 642e5b17c5
commit d518d86bc2
3 changed files with 18 additions and 3 deletions

View file

@ -7,11 +7,13 @@ local t is BurnTime(n:MAG)/2.
lock STEERING to n:DELTAV.
wait until VectorAngle(SHIP:VELOCITY, STEERINGMANAGER:TARGET) <= 0.1.
print "Warping to node".
KUNIVERSE:WARP:WarpTo(n:TIME - t - 5).
wait until n:ETA <= t.
lock THROTTLE to 1.0.
wait until n:DELTAV:MAG <= 0.1.
wait until n:DELTAV:MAG <= 0.1. // todo: pid loop here or no?
unlock THROTTLE.
unlock STEERING.
print "Node Executed. Have a nice day."