Probing the idea of a lunch ^H^H^H^H^H launch trajectory optimizer (at least, integrator), I come back to the basics. To get forces in the integrator, I need Cl and Cd. To get Cl and Cd I need Mach number, to get Mach number I need speed of sound. There is no speed of sound function in the API, so I calculate it from the ground up (I have ratio of specific heats, all I need is pressure and density). The question is: how do I get ATMPARAM on Earth and Venus, since the functions that use CELBODY interface all return false.
And yes, I know about oapiGetAtm, but it uses vessel state and I don't want it - I want to know the pressure/density where I ain't.
And yes, I know about oapiGetAtm, but it uses vessel state and I don't want it - I want to know the pressure/density where I ain't.