Do not use RCS thrusters during ascend guidance.

This commit is contained in:
Casper V. Kristensen 2019-03-01 23:03:27 +01:00
parent 296a7d0947
commit f8d18b8713
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -60,7 +60,7 @@ function launch {
// LAUNCH // LAUNCH
SAS off. SAS off.
RCS on. RCS off.
set NAVMODE to "SURFACE". set NAVMODE to "SURFACE".
lock STEERING to heading(launch_azimuth, 90). // roll to launch azimuth lock STEERING to heading(launch_azimuth, 90). // roll to launch azimuth
lock THROTTLE to 1.0. lock THROTTLE to 1.0.
@ -142,6 +142,3 @@ function calculate_launch_azimuth {
local launch_vector_y_component is target_orbit_velocity * cos(inertial_azimuth). local launch_vector_y_component is target_orbit_velocity * cos(inertial_azimuth).
return arctan2(launch_vector_x_component, launch_vector_y_component). return arctan2(launch_vector_x_component, launch_vector_y_component).
} }
launch(100_000, 45).