Remove debugging messages.

This commit is contained in:
Anna Rose 2021-07-20 02:40:47 -04:00
parent 45cd517a2a
commit ec9568b24a
2 changed files with 4 additions and 4 deletions

View File

@ -8,12 +8,12 @@ print "Adjusting heading".
lock STEERING to NEXTNODE:DELTAV. lock STEERING to NEXTNODE:DELTAV.
wait until VectorAngle(SHIP:FACING:FOREVECTOR, STEERINGMANAGER:TARGET:FOREVECTOR) <= 0.1. 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). KUNIVERSE:TIMEWARP:WarpTo(NEXTNODE:TIME - t - 5).
wait until NEXTNODE:ETA <= t. wait until NEXTNODE:ETA <= t.
// todo: pid loop here or nah? overshoot would be tricky to deal with... // todo: pid loop here or nah? overshoot would be tricky to deal with...
print "Executing burn". print "Executing burn.".
local throt is 1.0. local throt is 1.0.
lock THROTTLE to throt. lock THROTTLE to throt.
local dvLast is NEXTNODE:DELTAV:MAG. local dvLast is NEXTNODE:DELTAV:MAG.
@ -32,4 +32,4 @@ until NEXTNODE:DELTAV:MAG <= 0.25 {
unlock THROTTLE. unlock THROTTLE.
unlock STEERING. unlock STEERING.
SAS on. SAS on.
print "Node Executed. Have a nice day". print "Node execution complete.".

View File

@ -36,8 +36,8 @@ function AddCircularizationNode {
set pid:SETPOINT to n:ORBIT:APOAPSIS. set pid:SETPOINT to n:ORBIT:APOAPSIS.
until abs(diff) < epsilon { until abs(diff) < epsilon {
print diff.
set n:PROGRADE to pid:Update(TIME:SECONDS, n:ORBIT:PERIAPSIS). set n:PROGRADE to pid:Update(TIME:SECONDS, n:ORBIT:PERIAPSIS).
wait 0.001. wait 0.001.
} }
print "Circularization node created."
} }