pub fn stability( aero: &AeroModel, time_s: f64, height_above_ground_m: f64, dynamic_pressure_pa: f64, cg_station_m: f64, mach: f64, ) -> Result<Stability, SimError>
The static margin and the flight margin of aero at time_s, with the center of mass height_above_ground_m above the launch site and at cg_station_m on the airframe, and the flight’s air at Mach mach pressing with dynamic_pressure_pa.
aero
time_s
height_above_ground_m
cg_station_m
mach
dynamic_pressure_pa
As margin.
margin