I'm trying to write a launch into orbit program.
I could use wait until periapsis > x, but this seems inacurate, because I can't start the burn at the exactly right time, because I don't know how much to burn.
Thanks in advance!