Advanced Launch into Orbit
This tutorial is about setting advanced path parameters to AscentAutopilot. If you haven’t already done so, please read The First Launch tutorial.
The complete program is available in a variety of languages:
First of all, you need to set the ascent path you want to use. If you don’t, the program will use the path set in AscentGuidance window which may or may not be the one you want. Then, you can set path parameters. The parameters are the same as if you used Edit ascent path option.
28 AscentClassic path = ascent.getAscentPathClassic();
29 path.setTurnShapeExponent(0.5); //set the turn shape to 50%
30 path.setAutoPath(false); //don't use autopath
31 path.setTurnStartAltitude(3000);
32 path.setTurnStartVelocity(120);
33 path.setTurnEndAltitude(65000);
17ascent.ascent_path_index = 0 #use AscentClassic as the ascent path
18
19path = ascent.ascent_path_classic
20path.turn_shape_exponent = 0.5 #set the turn shape to 50%
21path.auto_path = False #don't use autopath
22path.turn_start_altitude = 3000
23path.turn_start_velocity = 120
24path.turn_end_altitude = 65000