Meadville Space Center
Welcome, Guest. Please login or register.
October 31, 2020, 04:56:58 PM

Login with username, password and session length
Search:     Advanced search
Gemini 060615 released!
25068 Posts in 2094 Topics by 2266 Members
Latest Member: twa517
* Home Help Search Login Register
+  Meadville Space Center
|-+  Project Apollo - NASSP
| |-+  Project Apollo - NASSP News & Discussion
| | |-+  Support & Bugs (Moderators: movieman, Tschachim, Swatch, lassombra)
| | | |-+  CTD when doing SV update
« previous next »
Pages: [1] 2 Print
Author Topic: CTD when doing SV update  (Read 7990 times)
almostfm
Full Member
***
Posts: 48


View Profile Email
« on: August 01, 2012, 11:26:01 PM »

I'm just getting back into Project Apollo after being away for a while, and I'm running into a problem while running A7 (Virtual AGC)

When I use the PAMFD to do a SV update, Orbiter crashes when pressing the "SV" button the second time (which of course actually starts the update).

Running the current build of the beta modules.
Windows 7 64 bit.
Problem occurs in every Project Apollo scenario I've tried.
Also occurs whether I run "orbiter" or "orbiter_ng", in full screen or a window

I did some research and figured it might be a firewall issue, but disabling it didn't change anything.  Also, if I run the standalone telemetry client, I get data from Orbiter, and can send data to the spacecraft.

I've run out of ideas on how to fix it.  I've attached a scenario in case I've got something odd going on there.

thanks,
Scott

* (Current state) 0003 0001.scn (77.24 KB - downloaded 126 times.)
Logged
meik84
Project Team Member
Sr. Member
****
Posts: 454



View Profile
« Reply #1 on: August 05, 2012, 05:23:37 AM »

I show the same. Somebody has added the 'other state vector' upload capability recently. Maybe something went wrong while doing this.
Logged
almostfm
Full Member
***
Posts: 48


View Profile Email
« Reply #2 on: August 05, 2012, 11:36:03 PM »

In a way, I'm glad to know it's apparently not my fault Yes

Scott
Logged
meik84
Project Team Member
Sr. Member
****
Posts: 454



View Profile
« Reply #3 on: August 06, 2012, 06:26:34 AM »

P30 target upload and AGC clock sync works. There must be something wrong with the internal SV transformation, because those routines are shared by both SV upload routines.
« Last Edit: August 06, 2012, 07:13:35 AM by meik84 » Logged
Tschachim
Project Apollo - NASSP
Administrator
Hero Member
****
Posts: 3700


nassp.sf.net


View Profile WWW
« Reply #4 on: August 07, 2012, 11:59:27 AM »

I'll try to take a look...
Logged

Tschachim
Project Apollo - NASSP
Administrator
Hero Member
****
Posts: 3700


nassp.sf.net


View Profile WWW
« Reply #5 on: August 07, 2012, 03:48:33 PM »

I removed the "other vehicle" feature, it caused the bug and is not necessary, you have been able to upload any vehicle state vector by selecting it as source (SRC button) already. If the source vessel isn't the focus vessel, the other vessel slot is used automatically. Could you guys check the attached dll, if it's working again, then I'll do new beta modules?

Thanks
Tschachim

* ProjectApolloMFD.zip (55.92 KB - downloaded 219 times.)
Logged

almostfm
Full Member
***
Posts: 48


View Profile Email
« Reply #6 on: August 07, 2012, 05:36:22 PM »

The new module works fine on the SV update Thumbs Up

Having me look at computer code is like having a monkey look at a wristwatch, but at least I know how to break things...

thanks again!
Scott
Logged
meik84
Project Team Member
Sr. Member
****
Posts: 454



View Profile
« Reply #7 on: August 07, 2012, 06:28:44 PM »

Quote
If the source vessel isn't the focus vessel, the other vessel slot is used automatically.
...which is why we need the 'other vehicle' feature. It's not possible to upload the focus vessel's SV in the 'other vehicle' slot. What's the problem with the  'other vehicle' feature, anyway? Just hardwire buffer address 306 to 1 resp. 2 for the 'this vehicle' option and to 77776 resp. 77775 for the 'other vehicle' option, regardless of what is selected as 'source'.
Logged
Tschachim
Project Apollo - NASSP
Administrator
Hero Member
****
Posts: 3700


nassp.sf.net


View Profile WWW
« Reply #8 on: August 08, 2012, 05:18:28 AM »

The name of the "other vehicle" needed to be set in the scenario, which it isn't, causing the CTD. As you can set an arbitrary source vehicle already, I don't like the additional scenario setting.

It's not possible to upload the focus vessel's SV in the 'other vehicle' slot.

Do we need that? If yes, I can do an "other vehicle" button, which loads the source vehicle SV to the "other vehicle" slot, independant of the focus stuff...
Logged

meik84
Project Team Member
Sr. Member
****
Posts: 454



View Profile
« Reply #9 on: August 08, 2012, 05:49:44 AM »

Quote
I don't like the additional scenario setting.
Me too. Wink
Quote
Do we need that?
Yes. During translunar and transearth coast of Apollo 8 all SV updates from MSFN went into the other vehicle slot. Jim Lovell worked with the 'this vehicle' slot for his P23's. Should something went wrong with the upload, the vital SV wasn't harmed; and if something went wrong with the P23's, there was still the good SV from MSFN.
Quote
If yes, I can do an "other vehicle" button, which loads the source vehicle SV to the "other vehicle" slot, independant of the focus stuff...
Seems complicated to me. Why don't we make all parameters freely selectable? We can still make it 'novice compatible' by setting the parameters to 'CSM, earth SOI, this vehicle slot' by default...
Logged
Tschachim
Project Apollo - NASSP
Administrator
Hero Member
****
Posts: 3700


nassp.sf.net


View Profile WWW
« Reply #10 on: August 08, 2012, 06:53:31 AM »

Why don't we make all parameters freely selectable? We can still make it 'novice compatible' by setting the parameters to 'CSM, earth SOI, this vehicle slot' by default...

Do you mean a slot selection / toggle button instead?
Logged

meik84
Project Team Member
Sr. Member
****
Posts: 454



View Profile
« Reply #11 on: August 08, 2012, 06:59:59 AM »

Yes! Yes
Logged
Tschachim
Project Apollo - NASSP
Administrator
Hero Member
****
Posts: 3700


nassp.sf.net


View Profile WWW
« Reply #12 on: August 08, 2012, 07:11:09 AM »

OK, will do.  Happy
Logged

Tschachim
Project Apollo - NASSP
Administrator
Hero Member
****
Posts: 3700


nassp.sf.net


View Profile WWW
« Reply #13 on: August 09, 2012, 01:57:19 PM »

Version with state vector slot selection button is attached, could someone do some tests please?  Happy

* ProjectApolloMFD.zip (56.06 KB - downloaded 205 times.)
Logged

meik84
Project Team Member
Sr. Member
****
Posts: 454



View Profile
« Reply #14 on: August 10, 2012, 06:10:05 AM »

Works smoothly in both earth and moon SOI. Happy Now I can go ahead and finetune P23's horizon alt. And test P22 with my new EMEMs. Happy
Logged
Pages: [1] 2 Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!