Hi Guys !
I have revisited the code of this Earth orbit injection autopilot.
The first test I made revealed that even on my PC, it was relatively critical. So, I have "re-centered" tolerance margins and added some improvement to the critical part, which happen around 7 minutes and 15 seconds.
At that time, the autopilot activate a new part of the code and if the flying parameters of the rocket, at that time, are outside some tolerance margins, the code execute too wild corrections and cannot anymore stabilize the rocket. This is what "JonnyBgood" had, when he said "
the craft was veering wildly off course".
Please download here a test package:
http://www.acsoft.ch/tmp/EOI-test.zip
It contain a new "Apollo.dll" module for you all guys to test. The module goes naturally into "Orbiter\Modules\AMSO" directory.
I have also included an Apollo 11 launch scenario, to facilitate your tests. This scenario is a save about just 30 seconds before launch time. So you don't need to wait long. You just have to press on "K" key precisely at 13:31:50.
Notice that respecting the launch time IS IMPORTANT for scenario using the lateral autopilot, to capture the LOI plane. This is BECAUSE SOME PARAMETERS OF THIS FUNCTION, RELY ON SOME MOON ORBIT CHARACTERISTICS AT THAT TIME. This is what say the user manual on that matter:
MJDLOI: MJD time of the LOI (Lunar Orbit Moon). If this parameter is specified the AMSO Saturn V autopilot, it will steer the yaw axis in order to intercept the Moon plane at the time of LOI during the ascent to Earth parking orbit. The result is an Earth parking orbit very precise for the subsequent TLI burn. IMFD5 uses this parameter to preset the arrival time of the program “Intercept Target”.
Do not activate Orbiter "Damage and failure simulation". Because if you have an AUTOPILOT MALFUNCTION, you won't know if it was a fake one, randomly generated, or if it correspond to a real disconnection because of our problem. With this Orbiter parameter OFF, in case the autopilot disconnect, it will mean you still have the problem.
With the improvements I have added, normally, it should work more or less the same WITH OR WITHOUT ANY OF THE ORBITER PERTURBATIONS PARAMETERS ACTIVATED. Please, check it is also the case on your PC.
For now, I have only checked Apollo 11. But I must still test all the other launch scenarios, because of rather different lateral autopilot guidance and also different launch azimut. Please, do not hesitate to do the same !!! In any cases, I will wait your feedbacks (numerous I hope !), before to publish this correction.
Thanks in forward for your collaboration.
ACS