Meadville Space Center

Project Apollo - NASSP => Programming => Topic started by: movieman on January 15, 2008, 11:16:04 PM



Title: 'Course correction'
Post by: movieman on January 15, 2008, 11:16:04 PM
Do we want to keep the 'course correction' sound that plays around 60 hours into the mission? Since we can fly a lot of different missions now it seems kind of superfluous.


Title: Re: 'Course correction'
Post by: lassombra on January 16, 2008, 02:13:34 AM
It's also incorrect...  The course correction at +60 hours was not even a required correction.  Perhaps detecting PC and calling out at PC-2? (A good point for a course correction to get in the right line with the landing point).


Title: Re: 'Course correction'
Post by: jc121081 on January 16, 2008, 07:49:57 AM
Well, it's actually accurate for Apollo 8, as it occurs not more than a few minutes before MCC2 historically took place.

Who's voice is that, anyway? Just curious... :roll:


Title: Re: 'Course correction'
Post by: lassombra on January 16, 2008, 07:59:21 AM
And as I say, MCC2 is not a required correction.

MCC 4 (PC-2) is, and would be a much better place to call?  Or maybe call all Mid Course Corrections based on a time from a file?


Title: Re: 'Course correction'
Post by: Christophe on January 17, 2008, 07:24:09 AM
Mid course correction exact time depends on your actual flight path, so I simply suggest to drop it.


Title: Re: 'Course correction'
Post by: Tschachim on January 17, 2008, 07:49:26 AM
I think it's quite useful in Quickstart Mode, but obviously it shouldn't be a hardcoded time, but calculated from the current trajectory (but I've no clue how) or at least configured in the scenario. Perhaps it would be possible to raise an "checklist event" (as discussed in the ChecklistMFD thread) to better support the Quickstart user doing the MCC?  :twocents22:

Cheers
Tschachim


Title: Re: 'Course correction'
Post by: lassombra on January 17, 2008, 08:04:01 AM
I understand that exact times are based on actual trajectory, but we can get close enough at least for quickstart to get decent MCC's

Another potential possibility is to trigger the checklist at specific TLI+ times.  I'll look into the event handling code today and tomorrow and see if we can't get it to a point where we can have checklists at least based on time from certain key events.  Checklists could theoretically be coded to play a sound when they are activated, but that may be beyond what we want to do.  (I'm tinking a few lines of code, but you know...)


Title: Re: 'Course correction'
Post by: movieman on January 17, 2008, 08:47:06 AM
You could certainly specify a sound file name to play when the checklist event occurs; loading and playing a sound is pretty easy.


Title: Re: 'Course correction'
Post by: lassombra on January 17, 2008, 09:20:46 AM
It's not that, it's a matter of do we want to?

Implementation is certainly simple.


Title: Re: 'Course correction'
Post by: movieman on January 17, 2008, 10:44:39 AM
I think it's a useful feature which people can choose to use or not use in the checklist. We should probably also be able to specify auto-slowdown to 1x time acceleration in the checklist, at least if AUTOSLOW is defined.

So I guess for now I'll remove the default 'course correction' sound and it can be added to the quickstart checklists. Unless anyone has any objections?


Title: Re: 'Course correction'
Post by: lassombra on January 17, 2008, 01:33:36 PM
Why don't you just flag it in the code and I'll remove it when I have a working replacement?

As in, after I finish the event code.


Title: Re: 'Course correction'
Post by: jc121081 on January 17, 2008, 05:40:51 PM
MCC 4 (PC-2) is, and would be a much better place to call?  Or maybe call all Mid Course Corrections based on a time from a file?

Perhaps you were referring to another specific mission instead of the basic NASA lunar trajectory guidelines, because as far as on Apollo 8, there was historically no MCC4, nor was it required.


Title: Re: 'Course correction'
Post by: movieman on January 17, 2008, 05:46:58 PM
The main reason for removing it is because it's now in both Saturn 1b and Saturn V code, and the Saturn 1b doesn't need many course corrections in Earth orbit :).

I'm trying to combine as much as possible of the Saturn 1b and Saturn V code into the Saturn class so we can eventually get rid of them and just have one DLL with one class.


Title: Re: 'Course correction'
Post by: lassombra on January 17, 2008, 06:07:58 PM
The main reason for removing it is because it's now in both Saturn 1b and Saturn V code, and the Saturn 1b doesn't need many course corrections in Earth orbit :).

I'm trying to combine as much as possible of the Saturn 1b and Saturn V code into the Saturn class so we can eventually get rid of them and just have one DLL with one class.

It took me a while to wake up.  I don't often pass out laughing:D

On a serious note, yes, I understand that, but lets leave it in until I have the replacement completed.  Should be up in the next day or so.