Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Addon Development
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Addon Development Developers post news, updates, & discussions here about your projects in development.

Reply
 
Thread Tools
Old 11-28-2016, 11:54 AM   #241
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

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 is offline   Reply With Quote
Old 11-30-2016, 12:50 AM   #242
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

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,....
gattispilot is offline   Reply With Quote
Old 11-30-2016, 01:57 PM   #243
Longjap
Orbinaut
 
Longjap's Avatar
Default

Quote:
Originally Posted by gattispilot View Post
 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?
Longjap is offline   Reply With Quote
Thanked by:
Old 11-30-2016, 02:10 PM   #244
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

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,....
gattispilot is offline   Reply With Quote
Thanked by:
Old 11-30-2016, 10:35 PM   #245
fred18
Addon Developer

Default

Quote:
Originally Posted by Longjap View Post
 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/showthr...9&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/showthr...8&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.
fred18 is offline   Reply With Quote
Thanked by:
Old 12-02-2016, 10:32 AM   #246
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

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 by gattispilot; 12-02-2016 at 10:42 AM.
gattispilot is offline   Reply With Quote
Old 12-02-2016, 12:32 PM   #247
AeronaticalPerson55
Commander Harambe
 
AeronaticalPerson55's Avatar
Default

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!!!
EUS_mesh_new.zip

Last edited by AeronaticalPerson55; 12-03-2016 at 03:23 AM.
AeronaticalPerson55 is offline   Reply With Quote
Thanked by:
Old 12-02-2016, 04:45 PM   #248
Astro SG Wise
Future Orion MPCV Pilot
 
Astro SG Wise's Avatar
Default

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.
Astro SG Wise is offline   Reply With Quote
Old 12-04-2016, 05:54 PM   #249
pclaurent
Daydreamer
 
pclaurent's Avatar
Default

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.
pclaurent is offline   Reply With Quote
Old 12-05-2016, 02:53 PM   #250
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

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?
gattispilot is offline   Reply With Quote
Old 12-07-2016, 09:03 AM   #251
pclaurent
Daydreamer
 
pclaurent's Avatar
Default

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
pclaurent is offline   Reply With Quote
Old 12-07-2016, 01:31 PM   #252
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

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
gattispilot is offline   Reply With Quote
Old 12-09-2016, 08:19 PM   #253
Kyle
Armchair Astronaut
 
Kyle's Avatar
Default

Messed around with some pre-existing meshes and made a pretty respectable Orion/EUS adapter for SLS Block 1B.
Attached Thumbnails
0005.jpg  
Kyle is offline   Reply With Quote
Thanked by:
Old 12-09-2016, 11:30 PM   #254
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

I ran the scenario that pclaurent posted. The las is separated but you see it here.


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?
gattispilot is offline   Reply With Quote
Old 12-09-2016, 11:37 PM   #255
DaveS
Addon Developer
 
DaveS's Avatar


Default

Here's the two videos from the STS-125 Bay-To.Bay transfer of the SRB/ET stack back in 2009:
https://dl.dropboxusercontent.com/u/...20transfer.mp4

https://dl.dropboxusercontent.com/u/...0timelapse.mp4
DaveS is online now   Reply With Quote
Thanked by:
Reply

  Orbiter-Forum > Orbiter Addons > Addon Development

Tags
em1, hlv, orion mpcv, sls


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 01:31 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.