diff --git a/execnode.ks b/execnode.ks index eabcc9f..3f06e44 100644 --- a/execnode.ks +++ b/execnode.ks @@ -8,12 +8,12 @@ print "Adjusting heading". lock STEERING to NEXTNODE:DELTAV. wait until VectorAngle(SHIP:FACING:FOREVECTOR, STEERINGMANAGER:TARGET:FOREVECTOR) <= 0.1. -print "Warping to node". +print "Warping to node.". KUNIVERSE:TIMEWARP:WarpTo(NEXTNODE:TIME - t - 5). wait until NEXTNODE:ETA <= t. // todo: pid loop here or nah? overshoot would be tricky to deal with... -print "Executing burn". +print "Executing burn.". local throt is 1.0. lock THROTTLE to throt. local dvLast is NEXTNODE:DELTAV:MAG. @@ -32,4 +32,4 @@ until NEXTNODE:DELTAV:MAG <= 0.25 { unlock THROTTLE. unlock STEERING. SAS on. -print "Node Executed. Have a nice day". +print "Node execution complete.". diff --git a/lib/navigation.ks b/lib/navigation.ks index f107695..054af5a 100644 --- a/lib/navigation.ks +++ b/lib/navigation.ks @@ -36,8 +36,8 @@ function AddCircularizationNode { set pid:SETPOINT to n:ORBIT:APOAPSIS. until abs(diff) < epsilon { - print diff. set n:PROGRADE to pid:Update(TIME:SECONDS, n:ORBIT:PERIAPSIS). wait 0.001. } + print "Circularization node created." }