CEIL instead of ROUND on maneuver node burn duration estimation to allow more time for perfecting the burn.

This commit is contained in:
Casper V. Kristensen 2018-07-27 00:10:04 +02:00
parent c25073c0ce
commit 263fadda3b
Signed by: caspervk
GPG key ID: B1156723DB3BDDA8

View file

@ -32,7 +32,7 @@ function execute_node {
print "Approaching". print "Approaching".
lock STEERING to node:DELTAV. lock STEERING to node:DELTAV.
wait until node:ETA <= ROUND(burn_duration/2). wait until node:ETA <= CEIL(burn_duration/2). // CEIL instead of ROUND, since we'd rather start the burn too soon to have time for perfecting the burn
print "Burn!". print "Burn!".
lock THROTTLE to 1.0. lock THROTTLE to 1.0.