I have installed the Kerbol system and I’m trying to figure out how to automate the flights of some of my spacecraft, similar to the Saturn Nova Auto Return craft. It seems that these crafts are centered on Droo to Luna but I’d like to learn how to program them to be used for other planetary bodies.

Tags
Question

1 Comment

  • Log in to leave a comment
  • Profile image
    Mod sflanker

    There are lots of things in the Vizzy program that will need to change such as the names of the planetary bodies to target, the apoapsis to reach the target (which is hard coded), the phase angle for the transfer orbit burn (which is dependent on the initial and target apoapsis), also the either the flight program or the craft will need to be adjusted because the program makes assumptions about when stages will be expended while reaching orbit which are not valid for Kerbin because it is smaller than Droo. The flight program is a little hard to get to because it is on a part besides the primary command chip, but you can use the part list (click the magnifying glass on the left hand side of the designer), the flight program is on a part called Vizzy Here. Go through the flight program, try to understand what it is doing on step ate a time and where you see planetary body names and related constants replace them with the Kerbol equivalents.

    Note: this script should adaptable to Kerbin/Mun, but getting to Minmus will take some extra logic because of inclination.

    +1 3.9 years ago

No Upvotes

Log in in to upvote this post.