Project Updated SLS for Orbiter 2016 (and 2010)

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
On the tower. It uses the old style of touchdown points. But when I detach the tower starts to spin.

Not sure why it is not landed?
Code:
BEGIN_SHIPS
cr:SLSCRAWLER
  STATUS Landed Earth
  POS -80.6208889 28.6232625
  HEADING 0.12
  ALT -0.185
  AROT 61.508 4.387 8.235
  AFCMODE 7
  PRPLEVEL 0:1.000000
  NAVFREQ 0 0
END
slspad:SLS_Pad
  STATUS Landed Earth
  POS -80.6208910 28.6267320
  HEADING 270.00
  ALT 1.997
  AROT -180.000 80.621 118.627
  AFCMODE 7
  NAVFREQ 0 0
END
TOWER:SLSTOWER2016
  ARM_STATUS 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 0.0000
  ARM2_STATUS 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 
  POST 0 
  TOUCH -59.9430 
  STATUS Orbiting Earth
  RPOS -4890971.209 3883078.828 -1261226.547
  RVEL 198.4892 142.9967 -328.3791
  AROT 37.020 -14.864 -52.677
  VROT -8.3727 -3.1796 -32.3689
  AFCMODE 7
  NAVFREQ 0 0
  XPDR 0
END
END_SHIPS

Code:
	SetTouchdownPoints(_V(0, -59.943, 10), _V(-10.6, -59.943, -10), _V(10.6, -59.943, -10));;

When i placed the tower using scn editor it is fine
Code:
cr:SLSCRAWLER
  STATUS Landed Earth
  POS -80.6208889 28.6232625
  HEADING 0.12
  ALT -0.185
  AROT 61.508 4.387 8.235
  AFCMODE 7
  PRPLEVEL 0:1.000000
  NAVFREQ 0 0
END
slspad:SLS_Pad
  STATUS Landed Earth
  POS -80.6208910 28.6267320
  HEADING 270.00
  ALT 1.997
  AROT -180.000 80.621 118.627
  AFCMODE 7
  NAVFREQ 0 0
END
TOWER:SLSTOWER2016
  ARM_STATUS 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 0.0000
  ARM2_STATUS 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 
  POST 0 
  TOUCH -59.9430 
  STATUS Landed Earth
  POS -80.6208890 28.6232620
  HEADING 0.12
  ALT 59.758
  AROT 61.333 4.409 8.222
  AFCMODE 7
  NAVFREQ 0 0
  XPDR 0
END

So how to make it landed? When placed by the crawler it is off the ground enough for the crawler to go under and get her.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
I am out of ideas. It seems when I detach the tower it drops and then spins.

I have tried SC4 and same results. Tried changing touchdown points, mass,....
 

Longjap

Active member
Joined
Jun 8, 2011
Messages
191
Reaction score
41
Points
28
I am out of ideas. It seems when I detach the tower it drops and then spins.

I have tried SC4 and same results. Tried changing touchdown points, mass,....

Do other projects have the same problem with the touchdown points? I thought SSU crawler experienced the same problem but the crawler of Fred18 apparently not. Have you tried more touchdown points? 5, 6, 7?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
Not sure. I will try to release/attach the tower with fred's crawler.

I think is it thinks the tower is not landed. Fred did a hack I might try that writes to the scenario that the vessel is landed.

I am working on the 2010 sls crawler, adding sounds,....
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
104
Points
78
Do other projects have the same problem with the touchdown points? I thought SSU crawler experienced the same problem but the crawler of Fred18 apparently not. Have you tried more touchdown points? 5, 6, 7?

the new touchdown points are a bit difficult to handle but martin provided quite a good explanation of how to manage them:
http://www.orbiter-forum.com/showthread.php?p=544979&postcount=88

If you solve the equations then it becomes easier to have good behaviours.
I gave a small example here, it works quite fine to me for touchdown points with same distance from CoG (of course the equantions provided there should be changed if the distance from CoG is different for each point, note that 9.80655 is just gravity acceleration value):
http://www.orbiter-forum.com/showthread.php?p=546788&postcount=91

Adding touchdown points will not help anyway, since the upright status is determind only by the first three (is like the gear of an airplane).

Relevant to MS crawler I found out at the time that the clbksavestate function did not save the arot parameter for landed vessels, so I had to write a hack to went around that issue. Now in the meantime this issue was solved in the svn version of orbiter, and still in the meantime I found a way to calculate the arot parameter by myself so I'll change the code of the crawler, taking away the hack and inserting the code that properly calculates the arot parameter by itself, working with all orbiter versions without hacks anymore. It still will take some time because I'm out of coding for a couple of weeks more due to real life issues.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
Same effect. When the tower is detached form either crawler. it is ok til it comes into ground contact and then spins out of control

---------- Post added 12-02-16 at 04:32 AM ---------- Previous post was 12-01-16 at 05:16 AM ----------

I tried Fred's hack.
Code:
void SLSTOWER2::clbkPostStep(double simt, double simdt, double mjd)
{
    VESSELSTATUS2 vs2;
    memset(&vs2, 0, sizeof(vs2));
    vs2.version = 2;
    GetStatusEx(&vs2);


    {
        FILEHANDLE fh = oapiOpenFile("SLSTOWER2016", FILE_OUT, CONFIG);
        oapiWriteScenario_string(fh, "STATUS", "Landed Earth");
        oapiWriteScenario_float(fh, "HEADING", vs2.surf_hdg*DEG);
        oapiCloseFile(fh, FILE_OUT);
        fh = oapiOpenFile("SLSTOWER2016", FILE_IN, CONFIG);
        clbkLoadStateEx(fh, &vs2);
        oapiCloseFile(fh, FILE_IN);
    }
But nothing. It is good till it is detached. I think it might be a touchdown issue?

BEGIN_SHIPS
cr:SLSCRAWLER
STATUS Landed Earth
POS -80.6209217 28.6228535
HEADING 0.76
ALT -0.185
AROT 61.416 3.746 8.230
AFCMODE 7
PRPLEVEL 0:0.999992
NAVFREQ 0 0
END
slspad:SLS_Pad
STATUS Landed Earth
POS -80.6208910 28.6267320
HEADING 270.00
ALT 1.997
AROT -180.000 80.621 118.627
AFCMODE 7
NAVFREQ 0 0
END
slstower:SLSTOWER2016
ARM_STATUS 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 0.0000
ARM2_STATUS 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
POST 0
STATUS Landed Earth
POS -80.6208890 28.6232620
HEADING 0.12
ALT -9.584
AROT 61.524 4.384 8.236
ATTACHED 0:0,cr
AFCMODE 7
PRPLEVEL 0:1.000000
NAVFREQ 0 0
XPDR 0
END
END_SHIPS
 
Last edited:

Loopos

Procrastination Master
Joined
Sep 17, 2016
Messages
38
Reaction score
9
Points
8
Dude pls fix the Developer thingy in the scenarios because they don't load any thing...

---------- Post added at 12:32 PM ---------- Previous post was at 12:18 PM ----------

Oh yeah Longjap, thx for the Textures for the EUS but I think the problem is the Mesh which I fixed ( and tested several times) and has a lower fail rate!!!
View attachment EUS_mesh_new.zip
 
Last edited:

Astro SG Wise

Future Orion MPCV Pilot
Joined
May 26, 2014
Messages
489
Reaction score
1
Points
0
Website
www.aesd.blogspot.com
My Orbiter crashed most of the time during separations and even when just using Orion. Its really annoying. By the way, great awesome SLS, and it works most all the time, just a few times when it shuts off unexpectedly.
 

pclaurent

Daydreamer
Joined
Dec 21, 2014
Messages
49
Reaction score
0
Points
0
Really promising add-on, and very nice design. When travelling to the moon with ICPS ou EUS, however, if I exit during the TLI (somewhere between earth and moon), Orbiter cannot restart to this point. The saved scenario crashes immediately when loaded. I'd already noticed that with a previous version of Multistage and Orbiter 2016.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
Can you post the log/scn?

I am working on a new pad and attachments for the spotlights. I have a beta for the sls crawler for 2010 around. Major issues with the tower in 2016.

So I guess we need a feet for the launchpad in the VAB. Then use the crawler to move the pad and rocket from VAB to launchpad hill

Doable now. Not sure if the VAB doors open though?
 

pclaurent

Daydreamer
Joined
Dec 21, 2014
Messages
49
Reaction score
0
Points
0
Strange... During the trip to the moon, after quicksave and restart, the Orion LAS is attached to Orion (it had been properly jetisoned after launch). Quicksaved scenario below:

BEGIN_DESC
Current scenario state


Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
System Sol_SLS
Date MJD 59295.4895106884
Help CurrentState_img
END_ENVIRONMENT

BEGIN_FOCUS
Ship SLS
END_FOCUS

BEGIN_CAMERA
TARGET Cubesat6U_ICECUBE
MODE Extern
POS 52.041250 -91.712513 -93.535360
TRACKMODE TargetRelative
FOV 76.13
END_CAMERA

BEGIN_HUD
TYPE Orbit
REF AUTO
END_HUD

BEGIN_MFD Left
TYPE Orbit
PROJ Ship
FRAME Equator
ALT
REF Earth
TARGET Moon
END_MFD

BEGIN_MFD Right
TYPE Transfer
REF Earth
SOURCE SLS
TARGET Moon
SIMORBIT 5.81 1996.43
END_MFD

BEGIN_SHIPS
SLS:Multistage2015
STATUS Orbiting Earth
RPOS -73499785.608 8739330.593 97231713.380
RVEL -1696.5414 176.3017 1259.8731
AROT 0.416 -12.342 4.958
AFCMODE 7
PRPLEVEL 0:0.319017
NAVFREQ 0 0 0 0
XPDR 0
CONFIG_FILE Config\Multistage2015\SLS_BLOCKIAORION_day.ini
GUIDANCE_FILE Config\Multistage2015\Guidance\SLS_Guidance.txt
CONFIGURATION 1
CURRENT_BOOSTER 12
CURRENT_STAGE 2
CURRENT_INTERSTAGE 1
CURRENT_PAYLOAD 1
FAIRING 0
MET 42331.719
GROWING_PARTICLES
STAGE_IGNITION_TIME 486.624532
STAGE_STATE 1
TELEMETRY_FILE Config\Multistage2015\Telemetry\SLS_EM1_Orion_GNC.txt
ALT_STEPS 100.0,350.0,1400.0,35000.0
PEG_PITCH_LIMIT 35.000
PEG_MC_INTERVAL 0.100
END
SLSTOWER2:SLS\SLSTOWER2
ARM_STATUS 0.7191 0.0000 0.0000 1.0000 0.0000 0.5705 0.0000 0.0000 0.0000 0.9815 0.0000 0.0000 0.0830 0.0000 0.0000 0.0000 0.0000 0.4759
ARM2_STATUS 0.0034 0.0000 0.1682 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
POST 1
TOUCH -74.0430
STATUS Landed Earth
POS -80.6208970 28.6274440
HEADING 180.57
ALT 73.857
AROT -118.038 -3.864 171.733
AFCMODE 7
NAVFREQ 0 0
XPDR 0
END
WATERTOWER:SLS\WATERTOWER
STATUS Landed Earth
POS -80.6195360 28.6286140
HEADING 0.00
ALT 1.997
AROT 61.695 4.479 8.251
AFCMODE 7
NAVFREQ 0 0
END
LIGHTNING1:SLS\LIGHTNINGTOWER
STATUS Landed Earth
POS -80.6199860 28.6276140
HEADING 0.00
ALT -0.194
AROT 61.308 4.535 8.220
AFCMODE 7
NAVFREQ 0 0
XPDR 0
END
LIGHTNING2:SLS\LIGHTNINGTOWER
STATUS Landed Earth
POS -80.6220760 28.6288640
HEADING 0.00
ALT -0.194
AROT 61.306 4.534 8.218
AFCMODE 7
NAVFREQ 0 0
XPDR 0
END
LIGHTNING3:SLS\LIGHTNINGTOWER
STATUS Landed Earth
POS -80.6222660 28.6266340
HEADING 0.00
ALT -0.194
AROT 61.308 4.533 8.218
AFCMODE 7
NAVFREQ 0 0
XPDR 0
END
LP39:SLS\LP39PAD
STATUS Landed Earth
POS -80.6204260 28.6270240
HEADING 0.00
ALT 1.997
AROT 61.696 4.478 8.250
AFCMODE 7
NAVFREQ 0 0
END
SPOTLIGHT1:spotlight2
STATUS Landed Earth
POS -29.1959147 2.4561787
HEADING 66.68
ALT 0.186
AROT 25.070 -22.265 75.772
ATTACHED 0:0,LP39
AFCMODE 7
NAVFREQ 0 0
SPT 0 300.0000 1.0472
PAT 2.0000 36.5000 95.2500 0.0000 1.0000 0.0000 0.0000 0.0000 1.0000
GBL 0.47846 0.60696
END
SPOTLIGHT2:spotlight2
STATUS Landed Earth
POS -29.3783550 2.4074486
HEADING 66.68
ALT 0.186
AROT 25.110 -22.449 75.730
ATTACHED 0:1,LP39
AFCMODE 7
NAVFREQ 0 0
SPT 0 300.0000 1.0472
PAT 3.2000 37.5000 -6.1000 0.0000 1.0000 0.0000 0.0000 0.0000 1.0000
GBL 0.70929 0.86793
END
SPOTLIGHT3:spotlight2
STATUS Landed Earth
POS -29.8439529 2.2257810
HEADING 66.66
ALT 0.186
AROT 25.244 -22.932 75.661
ATTACHED 0:2,LP39
AFCMODE 7
NAVFREQ 0 0
SPT 0 300.0000 1.5708
PAT -111.0000 38.0000 -7.0000 0.0000 1.0000 0.0000 0.0000 0.0000 1.0000
GBL 0.61562 0.15286
END
SPOTLIGHT4:spotlight2
STATUS Landed Earth
POS -30.5357169 1.9577504
HEADING 66.64
ALT 0.186
AROT 25.437 -23.652 75.557
ATTACHED 0:3,LP39
AFCMODE 7
NAVFREQ 0 0
SPT 0 300.0000 1.0472
PAT -104.0000 38.5000 95.0000 0.0000 1.0000 0.0000 0.0000 0.0000 1.0000
GBL 0.60889 0.37186
END
SPOTLIGHT5:spotlight2
STATUS Landed Earth
POS -35.1000667 0.9537060
HEADING 66.58
ALT 0.186
AROT 26.650 -28.108 74.141
ATTACHED 0:4,LP39
AFCMODE 7
NAVFREQ 0 0
SPT 0 300.0000 0.3491
PAT -101.5000 23.0000 29.7000 0.0000 1.0000 0.0000 0.0000 0.0000 1.0000
GBL 0.82165 0.23533
END
SPOTLIGHT6:spotlight2
STATUS Landed Earth
POS -36.6896990 0.5215900
HEADING 66.57
ALT 0.186
AROT 27.139 -29.681 73.670
ATTACHED 0:5,LP39
AFCMODE 7
NAVFREQ 0 0
SPT 0 300.0000 1.0472
PAT 2.5000 23.0000 57.0000 0.0000 1.0000 0.0000 0.0000 0.0000 1.0000
GBL 0.82956 0.68404
END
Orion:Orion-MPCV\Orion-MPCV
STATUS Orbiting Earth
RPOS -73499783.409 8739330.666 97231723.432
RVEL -1696.5414 176.3017 1259.8731
AROT 0.416 -12.342 4.958
ATTACHED 1:0,SLS
AFCMODE 7
PRPLEVEL 0:1.000000
NAVFREQ 0 0
XPDR 468
MODE 0
WATER 0
END
Cubesat6U_ICECUBE:spacecraft\spacecraft4
STATUS Orbiting Earth
RPOS -73499784.404 8739329.231 97231719.463
RVEL -1696.5414 176.3017 1259.8731
AROT -157.494 -76.714 99.446
ATTACHED 0:1,SLS
AFCMODE 7
PRPLEVEL 0:1.000000
NAVFREQ 0 0
CONFIGURATION 1
CURRENT_PAYLOAD 0
SEQ 0 -2 0.000000
SEQ 1 -2 0.000000
SEQ 2 -2 0.000000
SEQ 3 -2 0.000000
SEQ 4 -2 0.000000
END
Cubesat6U_NEA:spacecraft\spacecraft4
STATUS Orbiting Earth
RPOS -73499784.156 8739332.041 97231719.388
RVEL -1696.5414 176.3017 1259.8731
AROT -157.494 -76.714 37.446
ATTACHED 0:2,SLS
AFCMODE 7
PRPLEVEL 0:1.000000
NAVFREQ 0 0
CONFIGURATION 1
CURRENT_PAYLOAD 0
SEQ 0 -2 0.000000
SEQ 1 -2 0.000000
SEQ 2 -2 0.000000
SEQ 3 -2 0.000000
SEQ 4 -2 0.000000
SEQ 5 -2 0.000000
END
SLS_2016\corerustET_1a_orion:Stage
STATUS Orbiting Earth
RPOS 3069045.356 280454.540 5825030.437
RVEL -6857.7085 805.2034 3576.9745
AROT 134.609 57.561 -137.075
AFCMODE 7
NAVFREQ 0 0
END
Orion-MPCV\orion-las-tweaked:stage
STATUS Orbiting Earth
RPOS -73499605.435 8739268.238 97232565.120
RVEL -1686.1918 172.6719 1308.8191
AROT 3.410 21.695 5.213
VROT 0.0000 22.9183 0.0000
AFCMODE 7
NAVFREQ 0 0
END
END_SHIPS
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
interesting. It looks as the
Orion-MPCV\orion-las-tweaked:stage
STATUS Orbiting Earth
RPOS -73499605.435 8739268.238 97232565.120
RVEL -1686.1918 172.6719 1308.8191
AROT 3.410 21.695 5.213
VROT 0.0000 22.9183 0.0000
AFCMODE 7
NAVFREQ 0 0
END
is not attached.

I can try this later today
 

Kyle

Armchair Astronaut
Addon Developer
Joined
Mar 17, 2008
Messages
3,912
Reaction score
339
Points
123
Website
orbithangar.com
Messed around with some pre-existing meshes and made a pretty respectable Orion/EUS adapter for SLS Block 1B.
 

Attachments

  • 0005.jpg
    0005.jpg
    53.9 KB · Views: 27

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
I ran the scenario that pclaurent posted. The las is separated but you see it here.
QMNCtNS.jpg


Code:
Orion:Orion-MPCV\Orion-MPCV
STATUS Orbiting Earth
RPOS -73499783.409 8739330.666 97231723.432
RVEL -1696.5414 176.3017 1259.8731
AROT 0.416 -12.342 4.958
ATTACHED 1:0,SLS
AFCMODE 7
PRPLEVEL 0:1.000000
NAVFREQ 0 0
XPDR 468
MODE 0
WATER 0
END
Weird. When the Orion is in mode 0 the LAS should not be shown

---------- Post added at 05:30 PM ---------- Previous post was at 05:18 PM ----------

Do we need the VAB doors to be animated? I think I can do it
It looks lik the doors just go up. The bottom doors open to the side?
zaqkRif.jpg
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
Thanks. I will see what I can. The VAB mesh has an interior. Will will just get the high bay doors to open
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
This was the default VAB. I animated the doors and added an basic interior. This is my crawler leaving the building. I haven't placed it yet. the 4 high bay doors and 2 side smaller doors will open
aG9n7mr.jpg
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
Thanks. I guess the next step is to change the base.cfg to remove the default VAB. Then I should be able to drive a crawler from the vab to hill and back.

This is all for 2010. I have a crawler that works (drives and climbs the hill) in 2016. But it will not release the tower without it spinning:(.

I got the crawler to climb the hill by moving the mesh. I thought about that for the tower but even on the ground when you detach it spins around.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,689
Reaction score
2,670
Points
203
Location
Dallas, TX
Not sure why the status is not always landed
Here tower is attached.

BEGIN_SHIPS
cr:SLSCRAWLER
STATUS Landed Earth
POS -80.6209217 28.6228535
HEADING 0.76
ALT -0.185
AROT 61.416 3.746 8.230
AFCMODE 7
PRPLEVEL 0:0.999992
NAVFREQ 0 0
END
slspad:SLS_Pad
STATUS Landed Earth
POS -80.6208910 28.6267320
HEADING 270.00
ALT 1.997
AROT -180.000 80.621 118.627
AFCMODE 7
NAVFREQ 0 0
END
slstower:SLSTOWER2016
ARM_STATUS 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 0.0000
ARM2_STATUS 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
POST 0
STATUS Landed Earth
POS -80.6209216 28.6228551
HEADING 180.76
ALT 59.887
AROT 0.000 -0.000 0.000
ATTACHED 1:0,cr
AFCMODE 7
NAVFREQ 0 0
XPDR 0
END
END_SHIPS

now I detach the tower:
BEGIN_SHIPS
cr:SLSCRAWLER
STATUS Landed Earth
POS -80.6209223 28.6228256
HEADING 0.81
ALT -0.185
AROT 61.409 3.699 8.230
AFCMODE 7
PRPLEVEL 0:0.999992
NAVFREQ 0 0
END
slspad:SLS_Pad
STATUS Landed Earth
POS -80.6208910 28.6267320
HEADING 270.00
ALT 1.997
AROT -180.000 80.621 118.627
AFCMODE 7
NAVFREQ 0 0
END
slstower:SLSTOWER2016
ARM_STATUS 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 0.0000
ARM2_STATUS 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
POST 0
STATUS Orbiting Earth
RPOS -4529468.765 4109409.565 -1785108.032
RVEL 228.5283 140.2718 -307.5422
AROT 179.210 56.307 -174.880
VROT 487.1245 481.3189 -288.8314
AFCMODE 7
NAVFREQ 0 0
XPDR 0
END

But in the code for the tower I have this:
Code:
void SLSTOWER2::clbkPreStep(double SimT, double SimDT, double MJD) {

	VESSELSTATUS2 vs2;
	memset(&vs2, 0, sizeof(vs2));
	vs2.version = 2;
	GetStatusEx(&vs2);
	
	{
		FILEHANDLE fh = oapiOpenFile("SLSTOWER2016", FILE_OUT, CONFIG);
		oapiWriteScenario_string(fh, "STATUS", "Landed Earth");
		oapiWriteScenario_float(fh, "HEADING", vs2.surf_hdg*DEG);
		oapiCloseFile(fh, FILE_OUT);
		fh = oapiOpenFile("SLSTOWER2016", FILE_IN, CONFIG);
		clbkLoadStateEx(fh, &vs2);
		oapiCloseFile(fh, FILE_IN);
	}


---------- Post added 12-24-16 at 09:04 AM ---------- Previous post was 12-23-16 at 11:14 AM ----------

Here is my slsvab. No scenario. Keys 3,4,5,6 open high bay 7,8 open smaller doorshttps://dl.dropboxusercontent.com/u/71242599/SLSVAB.zip
 
Top