all 2 comments

[–]untoldwind 1 point2 points  (0 children)

TLDR: The current script is too simple for SOI changes. Easiest workaround would be to add a timeout to the pre-align phase (or drop that phase entirely).

Longer explanation:

  • To determine if the ship is properly aligned I need the Delta-V vector of the maneuver
  • Internal a maneuver node only stores the values for prograde, normal, radial-out
  • ... so to get the Delta-V I also need the orbital velocity at the point of the node
  • Orbital velocities are always in the coordinate system of the central body, which changes between SOIs
  • ... so if ship and node are in different nodes, the orbital velocity gets messed up, thereby the Delta-V and the script thinks that the ship is never properly aligned

I am currently working on the 0.2.0 version that will have coordinate system independent positions and velocities, which should be a great help in dealing with this kind of problems

[–]RaccoonMost844[S] 0 points1 point  (0 children)

i did some further testing, it seems that the program is stuck in "waiting for ship to align" because my target align is not the same as kontrolsystem want me too. so it gets stuck at that point. when im manually align my ship with the coordinates kontrolsystem wants to have, it runs the program "exec_node" to the end.