Use own orbital_velocity function from lib/orbital_equations instead of built-in velocityat().
This commit is contained in:
parent
f8d18b8713
commit
706daf5228
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ function circularize {
|
|||
local node is NODE(TIME:SECONDS + eta, 0, 0, 0).
|
||||
// Prograde burn magnitude is the difference between the required velocity to achieve circular orbit at target's altitude and our actual velocity at the target
|
||||
local required_velocity is orbital_velocity_circular(target).
|
||||
set node:prograde to required_velocity - velocityat(SHIP, TIME:seconds + eta):orbit:mag.
|
||||
set node:prograde to required_velocity - orbital_velocity(target).
|
||||
|
||||
add node.
|
||||
execute_burn(node).
|
||||
|
|
Loading…
Add table
Reference in a new issue