Do not use RCS thrusters during ascend guidance.
This commit is contained in:
parent
296a7d0947
commit
f8d18b8713
|
@ -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).
|
|
Loading…
Reference in a new issue