Project Multistage2015 - Development Thread

Kyle

Armchair Astronaut
Addon Developer
Joined
Mar 17, 2008
Messages
3,912
Reaction score
339
Points
123
Website
orbithangar.com
Is there anyway in MS2015 to be able to tell the autopilot what altitude/inclination you want to achieve during a stage re-ignition once on orbit? For example, I'm trying to place EFT-1 into a -34kmx5808km orbit after it completed its first orbit around the Earth at MET +1hr55m.
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
105
Points
78
Is there anyway in MS2015 to be able to tell the autopilot what altitude/inclination you want to achieve during a stage re-ignition once on orbit? For example, I'm trying to place EFT-1 into a -34kmx5808km orbit after it completed its first orbit around the Earth at MET +1hr55m.

I'm sorry I have to say that I didn't fully understand the question:

if you plug into the orbit autopilot -34 , 5808 and inclination and a target abside what do you get?
 

Kyle

Armchair Astronaut
Addon Developer
Joined
Mar 17, 2008
Messages
3,912
Reaction score
339
Points
123
Website
orbithangar.com
I'm sorry I have to say that I didn't fully understand the question:

if you plug into the orbit autopilot -34 , 5808 and inclination and a target abside what do you get?

Sorry if I'm not making any sense. I'll show you my GNC file:

Code:
0=orbit(185, 888, 28.532, 1)
-5.5=engine(0, 100, 2.7)
375=fairing()
380=les()
6909=orbit(-34,5808,28.532,1)

Basically I'm trying to command the autopilot to re-ignite the engine at MET+6909 to raise the Orion capsule's orbit from its parking orbit of 185x888km to a final orbit of -34x5808km. However, when I do this MS2015 automatically tries to put the launch vehicle on a -34x5808km orbit during launch as opposed to a 185x888km orbit.
 

boogabooga

Bug Crusher
Joined
Apr 16, 2011
Messages
2,999
Reaction score
1
Points
0
I don't think the autopilot can handle multiple orbit calls.

---------- Post added at 03:52 PM ---------- Previous post was at 03:22 PM ----------

Also, I don't think that the PEG routine knows enough about orbital mechanics on its own to do what you want.

Try some of the other commands:

Defap(xx) to go prograde,
engine(xx,yy,zz) to turn on engine
Target(xx) to get to the required apogee.
 

Kyle

Armchair Astronaut
Addon Developer
Joined
Mar 17, 2008
Messages
3,912
Reaction score
339
Points
123
Website
orbithangar.com
Ah, just a classic case of RTFM on my part. I'll give that a spin! Thank you.
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
105
Points
78
I don't think the autopilot can handle multiple orbit calls.

---------- Post added at 03:52 PM ---------- Previous post was at 03:22 PM ----------

Also, I don't think that the PEG routine knows enough about orbital mechanics on its own to do what you want.

Try some of the other commands:

Defap(xx) to go prograde,
engine(xx,yy,zz) to turn on engine
Target(xx) to get to the required apogee.

200% correct, thanks boogabooga :tiphat:

autopilot can hold just 1 orbit call, if you put more than one it will use the last (as you experienced). There are many other calls that you can use, some close loop like Target(xx), some open loop like Attitude, Defap etc. It's up to you to choose your favourite combination.
 

1987VCRProductions

Well-known member
Joined
Dec 19, 2011
Messages
423
Reaction score
270
Points
78
Location
Champaign-Urbana
Hey, I checked out the latest version of Multistage 2015 for Orbiter 2010 P1, and the playsound feature isn't working for me. In the guidance files for my Saturn rockets, I have countdown audio that plays at T-10 seconds. It worked fine in previous versions of Multistage 2015 but it doesn't work in the latest version. When I press the key to launch the rocket when using the latest version, the countdown starts but the audio doesn't play.

---------- Post added 11-29-16 at 06:27 AM ---------- Previous post was 11-28-16 at 06:34 AM ----------

Hi jacques,

not yet: orbiter sound is ready to be implemented but it will not be until orbiter sound for orbiter2016 comes out.

By (my) mistake also in 2010 is not implemented at the moment. I will add orbiter sound to both 2010 and 2016 as soon as the new version will be out.

I have to say that I don't know how long will it be from dansteph, if it takes too long I'll add it with the current version, I'll just wait a bit more.

:cheers:

Ah, nevermind, I'm just now seeing this.
 

boogabooga

Bug Crusher
Joined
Apr 16, 2011
Messages
2,999
Reaction score
1
Points
0
Hey Fred, there has been no activity from Dan Steph in months. Even if a new version of Orbiter sound comes out, chances are it will only be compatible with Orbiter 2016 anyway. I wouldn't expect any changes in Orbiter Sound for Orbiter 2010.

I would recommend re-establishing the playsound feature for the Orbiter 2010 version.

For Orbiter 2016, it's absence perhaps can't be helped.
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
105
Points
78
Hey Fred, there has been no activity from Dan Steph in months. Even if a new version of Orbiter sound comes out, chances are it will only be compatible with Orbiter 2016 anyway. I wouldn't expect any changes in Orbiter Sound for Orbiter 2010.

I would recommend re-establishing the playsound feature for the Orbiter 2010 version.

For Orbiter 2016, it's absence perhaps can't be helped.

I agree, I've been thinking about this. I was finishing to code the Space Network plugin and started to think to add sound to that, but I got overwhelmed by real life in the last few weeks. So the plan is to finish the plugin and then get back here and add sound support and to change one thing in the crawler. If in the meantime Orbiter Sound 2016 comes out good, otherwise I'll reupdate the addon later on.
 

jacquesmomo

Addon Developer
Addon Developer
Joined
Jun 14, 2008
Messages
614
Reaction score
457
Points
78
Location
FRANCE
Website
francophone.dansteph.com
Hello Fred :cheers:

I would like to know if it is possible to use the "crawler" without the "hangar" ?
(With the rocket attached to the crawler ... and no hangar visible in the scenario).

I did not succeed to make a scenario with the crawler functional and without the hangar.

[LATER] oh... sorry.. I found it !.... Yes, we can :blink: :blush: [/LATER]
 
Last edited:

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,760
Reaction score
2,743
Points
203
Location
Dallas, TX
For payload: Is there a way to load a cfg'ed vessel with saved animations?

am1W9xg.jpg


So that when you add a vessel that the animation or state needs to be different than default. Here the TS_Tugboat is loaded. But the payload just loads a mesh
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
105
Points
78
For payload: Is there a way to load a cfg'ed vessel with saved animations?

So that when you add a vessel that the animation or state needs to be different than default. Here the TS_Tugboat is loaded. But the payload just loads a mesh

Make it a live payload (live = 1) , jump into your payload with F3, set the animations as you wish them to be and save the scenario
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,760
Reaction score
2,743
Points
203
Location
Dallas, TX
Thanks that worked. For some reason the SLS isn't launching correctly. I press P and nothing press again and she is spinning in space.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,760
Reaction score
2,743
Points
203
Location
Dallas, TX
I am trying to get a cargo version of sls to work.

So I have this for scn:
Code:
SLS:Multistage2015
  STATUS Landed Earth
  POS -80.6208905 28.6271861
  HEADING 0.12
  ALT 62.767
  AROT 151.047 -8.224 4.525
  ATTACHED 0:0,MS_LaunchPad_SLS
  AFCMODE 7
  PRPLEVEL 0:1.000000 1:1.000000 2:1.000000 3:1.000000 4:1.000000
  NAVFREQ 0 0 0 0
  XPDR 0
  CONFIG_FILE Config\Multistage2015\SLS_BLOCKIICARGO_LF_day1.ini
  GUIDANCE_FILE Config\Multistage2015\Guidance\SLS_BlockII_LF_GNC.txt
  CONFIGURATION 0
  COMPLEX 
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 1
  MET -10.000
  BATTERY 5400.000000
  GROWING_PARTICLES 
  STAGE_IGNITION_TIME 0.000000
  STAGE_STATE 1
  TELEMETRY_FILE Config\Multistage2015\Telemetry\SLS_57310.61_TLM.txt
  ALT_STEPS 200.0,350.0,1400.0,35000.0
  PEG_PITCH_LIMIT 35.000
  PEG_MC_INTERVAL 0.100
  RAMP 
END
on the ini I just have the main stage and boosters.
Code:
[MISC]
cog=25

[TEXTURE_LIST]
TEX_1=Exhaust_atsme

[PARTICLESTREAM_1]
Name=vent
amin =1e-006
amax =1.000
atmslowdown =4.000
growthrate =1.900
lifetime =1.500
lmax =0.500
lmin =0
srcrate =15.000
srcsize =0.400
v0 =1.000
ltype =EMISSIVE
atmsmap =ATM_PLOG
levelmap =LVL_PSQRT
tex =contrail
Srcspread=0.000
GrowFactor_size=20.000
GrowFactor_rate=8.000

[PARTICLESTREAM_2]
NAME=mach
SRCSIZE=7
SRCRATE=120
V0=12
SRCSPREAD=0
LIFETIME=0.25
GROWTHRATE=6
ATMSLOWDOWN=0
LTYPE=EMISSIVE
LEVELMAP=LVL_PSQRT
LMIN=0
LMAX=4
ATMSMAP=ATM_PLOG
AMIN=0.7e-7
AMAX=1
TEX= contrail

[PARTICLESTREAM_3]
Name=EMISSIVE_contrail
Srcsize=12.000
Srcrate=25.000
V0=150.000
Srcspread=0.200
Lifetime=10.000
Growthrate=6.000
Atmslowdown=0.300
Ltype=EMISSIVE
Levelmap=LVL_PSQRT
Lmin=0.8
Lmax=9.000
Atmsmap=ATM_PLOG
Amin=1e-006
Amax=1.000
Tex=SLS_2016/SLS_SRB_contrail

[PARTICLESTREAM_4]
Name=SRB_exhaust
Srcsize=4.000
Srcrate=100.000
V0=100.000
Srcspread=0.100
Lifetime=1.500
Growthrate=9.000
Atmslowdown=0.300
Ltype=EMISSIVE
Levelmap=LVL_PSQRT
Lmin=0
Lmax=1.000
Atmsmap=ATM_PLOG
Amin=1e-006
Amax=1.000
Tex=SLS_2016/SLS_SRB_exhaust

[PARTICLESTREAM_5]
Name=DIFFUSE_contrail
Srcsize=10.000
Srcrate=40.000
V0=90.000
Srcspread=0.200
Lifetime=10.000
Growthrate=6.000
Atmslowdown=0.300
Ltype=DIFFUSE
Levelmap=LVL_PSQRT
Lmin=0.8
Lmax=9.000
Atmsmap=ATM_PLOG
Amin=1e-006
Amax=1.000
Tex=SLS_2016/SLS_SRB_contrail

[PARTICLESTREAM_6]
Name=Launchfx
Srcsize=10.000
Srcrate=30.000
V0=170.000
Srcspread=0.200
Lifetime=8.000
Growthrate=10.000
Atmslowdown=0.300
Ltype=EMISSIVE
Levelmap=LVL_PSQRT
Lmin=0.8
Lmax=1.000
Atmsmap=ATM_PLOG
Amin=1e-006
Amax=1.000
Tex=SLS_2016/SLS_SRB_contrail

[FX_LAUNCH]
N=2
Height=10.000
Angle=90.000
Distance=0.000
CutoffAltitude=800.000
Pstream1=launchfx
Pstream2=     

[FX_VENT]
pstream=vent
off_1=(4.200,0.000,29.000)
dir_1=(1.000,5.000,0.000)
time_fin_1=-5.000
off_2=(0.000,4.200,15.000)
dir_2=(5.000,0.000,0.000)
time_fin_2=-5.000

[FX_MACH]
pstream=mach
mach_min=0.900
mach_max=1.100
off_1=(0.000,0.000,50.000)
off_2=(6.777,0.000,18.000)
off_3=(-6.777,0.000,18.000)
dir=(0.000,0.000,1.000)

[BOOSTER_1]
N=1
MeshName=SLS_2016\Orange-booster_s
Height=48.000
Diameter=3.710
EmptyMass=86363.600
FuelMass=622727.300
Thrust=16363630.640
angle=0.000
off=(6.300,0.000,0.000)
BurnTime=124.000
eng_1=(0.000,0.000,-28.000)
eng_diameter=0.010
ENG_PSTREAM1=SRB_exhaust
Speed=(15.000,0.000,0.000)
Rot_speed=(0.000,-0.400,0.000)
Eng_tex=
Eng_pstream1=SRB_exhaust
Eng_pstream2=

[BOOSTER_2]
N=1
Angle=0.000
Meshname=SLS_2016\Orange-booster_sl
Off=(-6.300,0.000,0.000)
Height=48.000
Diameter=3.710
Thrust=16363630.640
EmptyMass=86363.600
FuelMass=622727.300
Burntime=124.000
Eng_diameter=0.010
Eng_tex=
Eng_pstream1=SRB_exhaust
Eng_pstream2=
Speed=(-15.000,0.000,0.000)
Rot_speed=(0.000,0.400,0.000)
Eng_1=(0.000,0.000,-28.000)

[BOOSTER_3]
N=2
Angle=0.000
Meshname=SLS_2016\dummy
Off=(6.300,0.000,0.000)
Height=0.001
Diameter=0.001
Thrust=0.00001
EmptyMass=0.100
FuelMass=0.100
Burntime=124.000
Eng_diameter=0.010
Eng_tex=
Eng_pstream1=Diffuse_contrail
Eng_pstream2=Emissive_contrail
Speed=(0.000,0.000,0.000)
Rot_speed=(0.000,0.000,0.000)
Eng_1=(0.000,0.000,-90.000)
Eng_2=(0.000,0.000,-90.000  

[STAGE_1]
Height=63.720
Diameter=8.400
EmptyMass=52200.392 
FuelMass=894182.000 
Thrust=7440000.375
BurnTime=431.500
off=(0.000,0.000,4.700)
MeshName=SLS_2016\corerustET2
eng_1=(-2.3,2.5,-32.708)
eng_2=(-2.3,-2.5,-32.708)
eng_3=(2.3,-2.5,-32.708)
eng_4=(2.3,2.5,-32.708)
eng_diameter=2.400
PITCHTHRUST=14193633.100 
YAWTHRUST=14193633.100 
speed=(0.000,0.000,-10.000)
ENG_PSTREAM1=
battery=1.500
Reignitable=1
Eng_tex=
Eng_pstream2=
Eng_dir=(0.000,0.000,1.000)
Module=Stage
Rot_speed=(0.000,0.000,0.000)

But when I load it I see no SLS?
Code:
000000.000: Finished initialising world
000000.000: Module Multistage2015.dll .... [Build 160930, API 160828]
000000.000: Multistage Version: 160929
000000.000: Load State Started
000000.000: SLS: Guidance File present: Config\Multistage2015\Guidance\SLS_BlockII_LF_GNC.txt
000000.000: SLS: Orbit Call Found! Targets: Apogee:200000.0 Perigee:200000.0 Inclination:-29.7 Mode:1.0 GT initial Pitch: 76.5 Abside:200000.0
000000.000: SLS: Config File: C:\Orbiter2016\Config\Multistage2015\SLS_BLOCKIICARGO_LF_day1.ini
000000.000: SLS: Number of stages in the ini file: 0
000000.000: SLS: Number of boosters group in the ini file: 0
000000.000: SLS: Number of Payloads in the ini file: 0
000000.000: SLS: Stage n. 1 Engines Exhaust Added--> number of engines: 1 , diameter: 0.000, position x: 0.000 y: 0.000 z: -0.000
000000.000: Load State Terminated
000000.000: Module SLSTOWER2016C.dll ..... [Build 170113, API 160828]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: VESSEL::SetBankMomentScale
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
000000.000: Module LIGHTTOWER.dll ........ [Build 141213, API 100830]
000000.000: Module SLS_CRAWLER.dll ....... [Build 170113, API 160828]
000000.000: Module spotlight2.dll ........ [Build 110421, API 100830]
000000.000: Module EmptyModule.dll ....... [Build 160921, API 160828]
000000.000: Module SLSVAB.dll ............ [Build 170112, API 160828]
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: Post Creation Started
000000.000: SLS: Gravity Turn Initial Pitch by user: 76.500 Calculated:89.000
000000.000: RESET PEG
000000.000: SLS: Planet Reference Pressure = 101325.0 Pa  Atmosphere Altitude Limit:2500.0 km
000000.000: Post Creation Terminated
000000.000: Finished initialising panels
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: oapiGetFocusShipAirspeedVector
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------

I get this if I focus on SLS:
Code:
BEGIN_DESC
Current scenario state


Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
  System Sol_SLS
  Date MJD 58409.9002718864
  Help CurrentState_img
END_ENVIRONMENT

BEGIN_FOCUS
  Ship SLS
END_FOCUS

BEGIN_CAMERA
  TARGET SLS
  MODE Extern
  POS -1.#IND00 0.000000 0.000000
  TRACKMODE TargetRelative
  FOV 10.00
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_MFD Right
  TYPE User
  MODE Multistage2015_MFD
END_MFD

BEGIN_SHIPS
SLS:Multistage2015
  STATUS Landed Earth
  POS -80.6208905 28.6271861
  HEADING 0.12
  ALT 62.767
  AROT 151.047 -8.224 4.525
  ATTACHED 0:0,MS_LaunchPad_SLS
  AFCMODE 7
  NAVFREQ 0 0 0 0
  XPDR 0
  CONFIG_FILE Config\Multistage2015\SLS_BLOCKIICARGO_LF_day1.ini
  GUIDANCE_FILE Config\Multistage2015\Guidance\SLS_BlockII_LF_GNC.txt
  CONFIGURATION 0
  COMPLEX 
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 0
  MET -10.000
  GROWING_PARTICLES 
  STAGE_IGNITION_TIME 0.000000
  STAGE_STATE 1
  TELEMETRY_FILE Config\Multistage2015\Telemetry\SLS_57310.61_TLM.txt
  ALT_STEPS 200.0,350.0,1400.0,35000.0
  PEG_PITCH_LIMIT 35.000
  PEG_MC_INTERVAL 0.100
  RAMP 
END
 
Last edited:

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
105
Points
78
It seems to me that it doesn't read the ini file at all. Are you sure the ini has the correct name?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,760
Reaction score
2,743
Points
203
Location
Dallas, TX
Thanks.

Yes that was it. All though when i load the CArgo Block II ,... ini there seem to be some missing meshes?
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
105
Points
78
Thanks.

Yes that was it. All though when i load the CArgo Block II ,... ini there seem to be some missing meshes?

Check, double check, and recheck again :shrug:
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,760
Reaction score
2,743
Points
203
Location
Dallas, TX
Thanks.
Ok this is what I get when I load the CArgoII one. See the missing meshes.
qnIXFDw.jpg


But what is weird I get 2 MS-Launchpads and when I launch it jumps into space.
Code:
SLS:Multistage2015
  STATUS Landed Earth
  POS -80.6208901 28.6272763
  HEADING 0.00
  ALT 61.010
  AROT 151.065 -8.240 4.530
  ATTACHED 0:0,MS_LaunchPad_SLS
  AFCMODE 7
  PRPLEVEL 0:1.000000 1:1.000000 2:1.000000 3:1.000000 4:1.000000
  NAVFREQ 0 0 0 0
  XPDR 0
  CONFIG_FILE Config\Multistage2015\SLS_BLOCKIICARGO_LF_day.ini
  GUIDANCE_FILE Config\Multistage2015\Guidance\SLS_BlockII_LF_GNC.txt
  CONFIGURATION 0
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 1
  MET -10.000
  BATTERY 5400.000000
  GROWING_PARTICLES 
  STAGE_IGNITION_TIME 0.000000
  STAGE_STATE 1
  TELEMETRY_FILE Config\Multistage2015\Telemetry\SLS_57310.61_TLM.txt
  ALT_STEPS 200.0,350.0,1400.0,85000.0
  PEG_PITCH_LIMIT 50.000
  PEG_MC_INTERVAL 0.100
  RAMP 
END

I am going to change the height of the attachment as the hill is higher.

Ok now it launches good. no idea
 
Last edited:

Marg

Active member
Joined
Mar 20, 2008
Messages
485
Reaction score
68
Points
28
I just think how to make realistic shuttle roll program entry in guidance file. Somehow it happens too late - 15 secs into the flight and is slower than usually. Something's not right. Does anybody know? My typical guidance file is as follows:

-10.000 =orbit(88.0,296.1,28.55)
-6=engine(0,100,6)
-5=PlaySound(sound\multistage\atlantis_launch.wav)
4.0 =roll(4,90,90,78,-1)
20.0 =pitch(78,18,105)
30.5 =engine(100.00,67.00,5.00)
65.0 =engine(67.00,104.00,5.00)
122.0 =jettison()
122.0 =pitch(18,10,388)
 
Top