Use a time-based approach for the pitch instead of just a lead angle and a prayer.

This commit is contained in:
2021-08-21 01:46:53 -04:00
parent d659889b82
commit 15c479cd18
3 changed files with 20 additions and 6 deletions

View File

@ -94,7 +94,7 @@ MakeMenu(
List(
List("Target Apoapsis", "SCALAR", "80000"),
List("Initial Pitch", "SCALAR", "20"),
List("Lead Angle", "SCALAR", "2"),
List("Pitch Time", "SCALAR", "45"),
List("Atmo TWR", "SCALAR", "2.0"),
List("Minimum Pitch", "SCALAR", "5"),
List("Autostage", "BOOL", true)
@ -105,9 +105,9 @@ MakeMenu(
Launch(
options["Target Apoapsis"]:TEXT:ToNumber(),
options["Atmo TWR"]:TEXT:ToNumber(),
options["Lead Angle"]:TEXT:ToNumber(),
options["Minimum Pitch"]:TEXT:ToNumber(),
options["Initial Pitch"]:TEXT:ToNumber(),
options["Pitch Time"]:TEXT:ToNumber(),
options["Autostage"]:PRESSED
).
}