Project Multistage2015 - Development Thread

1987VCRProductions

Well-known member
Joined
Dec 19, 2011
Messages
423
Reaction score
270
Points
78
Location
Champaign-Urbana
Thanks! I really appreciate all the work you do. I'm glad I stumbled upon that glitch so that it could be fixed.

My frame rate is typically very good. I'll check real fast what frame rates I typically run at and then I'll get back to you on what my vertical sync setting is (I can't remember off the top of my head). I believe my MFD refresh rate is set to 0.10 seconds.

---------- Post added at 06:30 AM ---------- Previous post was at 06:10 AM ----------

I had vertical sync disabled but I also disabled hardware pageflip which greys out the option to disable vertical sync. My MFD refresh rate is 0.10 seconds. The lowest framerates I pull with my Saturn rockets are somewhere in the low to mid 30s on the launchpad external view and mid to high 20s internal view. I'm fairly satisfied with the fps I get compared to what I used to get when I did everything on my old laptop. When my laptop was still alive I would get framerates in the single digits with my Saturn V launchers in the external view.
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
107
Points
78
Could you please check if this works fine?
 

Attachments

  • Modules.zip
    423.7 KB · Views: 15

jacquesmomo

Addon Developer
Addon Developer
Joined
Jun 14, 2008
Messages
616
Reaction score
459
Points
78
Location
FRANCE
Website
francophone.dansteph.com
Hi Fred :cheers:

I just made a "quick" test with the new modules in Orbiter 2016


1) When I open the "multistageMFD" I got a CTD.
So I handed the "old" (previous version for Orbiter 2016)) module Multistage2015_MFD.dll then no CTD..... So something wrong with the new one ?

2) I do not hear anything with the command =PlaySound()

I tried this :
-11=PlaySound(Sound\Vessel\Ariane\Decompte.wav)
-5=PlaySound(Sound\Decompte.wav)
-4=PlaySound(Sound\Decompte) ;<== without "wav" in case if

of course with the wav-files in the right place (<my_orbiter>\sound\ etc...)
and with a sound which works good with vinka's multistage

3) The others functions seems to work fine but I had yet not enough time to test more longer... (boom.dll works :) )

To be continued :tiphat:
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
107
Points
78
Hi Fred :cheers:

I just made a "quick" test with the new modules in Orbiter 2016


1) When I open the "multistageMFD" I got a CTD.
So I handed the "old" (previous version for Orbiter 2016)) module Multistage2015_MFD.dll then no CTD..... So something wrong with the new one ?

2) I do not hear anything with the command =PlaySound()

I tried this :
-11=PlaySound(Sound\Vessel\Ariane\Decompte.wav)
-5=PlaySound(Sound\Decompte.wav)
-4=PlaySound(Sound\Decompte) ;<== without "wav" in case if

of course with the wav-files in the right place (<my_orbiter>\sound\ etc...)
and with a sound which works good with vinka's multistage

3) The others functions seems to work fine but I had yet not enough time to test more longer... (boom.dll works :) )

To be continued :tiphat:

sorry jacques, all my fault because I was not clear enough:

these modules are for orbiter2010p1 (that's why you get ctds) and just to see if the inclination glitch that 1978vcr found out is solved!!! I'm very sorry that I made you losing time with testing a module for anything but for what it was supposed to, sorry!!!! :facepalm::facepalm:

I'll post updated modules for 2010p1 and 2016 with sound with all the proper explanations!!!:hide:
 

jacquesmomo

Addon Developer
Addon Developer
Joined
Jun 14, 2008
Messages
616
Reaction score
459
Points
78
Location
FRANCE
Website
francophone.dansteph.com
sorry jacques, all my fault because I was not clear enough:these modules are for orbiter2010p1

Don't be sorry : it's me...
No problem I thought of it....
That's why I write (with insistence) "with Orbiter 2016"... :lol:

And you know what :I was rather surprised that your updated modules will make Orbiter to crash ;)

So I was a little too hurried ...:facepalm:
Of course I will wait ....
No problem:RnR1:
Friendly
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
107
Points
78
I found a tiny difference in the equation that was ruling the heading between a previous version and the last version. What puzzles me is that the newest version of the equation works perfectly in Orbiter 2016 (and it is most accurate in math terms) but produces that small difference in inclination in Orbiter 2010P1.
Anyway I'll leave it like that in Orbiter 2010P1 since it seems to work fine and I'll keep the most upgraded version of the equation in 2016 since it just works as expected there.

@boogabooga: you said once that you did not upgrade to the latest version in order to maintain Orbiter Sound support, that could be the reason why you didn't notice the glitch.
 

boogabooga

Bug Crusher
Joined
Apr 16, 2011
Messages
2,999
Reaction score
1
Points
0
I tired the newest multistage to test this and gattispilot's Saturn V issues and all was fine, but I didn't go to inclinations higher than 30 degrees. That might be it.

How did the equations differ? Perhaps enjo would be interested to know this as well.
 

jacquesmomo

Addon Developer
Addon Developer
Joined
Jun 14, 2008
Messages
616
Reaction score
459
Points
78
Location
FRANCE
Website
francophone.dansteph.com
I tired the newest multistage to test this and gattispilot's Saturn V issues and all was fine, but I didn't go to inclinations higher than 30 degrees.

I also have problems with the polar Orbit...

Anyway I have a suggestion ... or request .... well I think a wish.

Would it be possible to add a command in the GUIDANCE FILE to Undock a docked object ?
(like with the command Ctl + D)

for example :
40=Undock(1)
With (1) port dock n ° 1 (here, undocking a T+40)
and :
(0) port dock # 0
(1) port dock # 1
(2) port dock # 2
etc
And thank you again for this indispensable module.
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
107
Points
78
Back again here guys, I've been out for business for a couple of weeks.

I'll check again the equations to be sure and I'll get back about that.

@jacquesmomo:

1) what issues do you have with polar orbits? polar orbits were one of my test orbits and I got also 90.00 perfectly at shutdown.
2) relevant to the undock request, everything is for sure possible, but by default MS2015 do not have any dock definitions, so did you add it by .cfg file to yours? otherwise there is nothing to undock since there is no docking ports.

I built in MS2015 a couple of calls to "extract" from it some information, such as MET, so I can eventually build a very easy module for you that simply do that undocking, without changing MS itself

---------- Post added at 22:40 ---------- Previous post was at 22:18 ----------

In the meantime I found out that there is an issue if playing directly a sound file, the simulation basically freeze itself until the sound is over, so definetly an issue to overcome if I want this to have its own sound system
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
107
Points
78
Solved it quite easily, didn't expect that!

Can anyone tests this and tell me if the playsound command works properly or there is any conflict, issue or anything else? it is strictly for Orbiter2010P1.

It is not done within orbiter sound environment, it's an audio system by itself, but I don't see any particular issue in my tests

EDIT: Additional note-> it does not support the default sound replacements, since those are relevant to orbiter sound, it's all about the playsound command in the guidance program
 

Attachments

  • Modules.zip
    423.7 KB · Views: 5
Last edited:

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
107
Points
78
this other package adds sound support (always only in guidance program, as the playsound command) to the Orbiter2016 version of Multistage, can somebody please give me a feedback if this things here works? so I can update the official release.
 

Attachments

  • Modules2016.zip
    424.1 KB · Views: 6

jacquesmomo

Addon Developer
Addon Developer
Joined
Jun 14, 2008
Messages
616
Reaction score
459
Points
78
Location
FRANCE
Website
francophone.dansteph.com
can somebody please give me a feedback if this things here works? (for Orbiter 2016).

Yes !!! It works fine for me !!!
it does not seem to have problem.

Thank you so !!! :hailprobe:

About my 2 questions (polar orbit and undock command), I'll explain this to you later because... it is hard for me to write in English...
And it is not so important.

The sound was expected ! Thank again for the time you give for us.

I'll write later about explanations. (now I have not finish my work day)
:tiphat::cheers::thumbup::thumbup::thumbup:

Jacques
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,873
Reaction score
2,852
Points
203
Location
Dallas, TX
So Fred could the crawler code be used on another vessel on the Moon?
 

crisbeta

Member
Joined
May 27, 2013
Messages
140
Reaction score
4
Points
18
this other package adds sound support (always only in guidance program, as the playsound command) to the Orbiter2016 version of Multistage, can somebody please give me a feedback if this things here works? so I can update the official release.

I also tested Orbiter2016 version and works excellent :thumbup:

I tested all FOI launchers Neptune, Jarvis and Quasar.

Thank you once again for this wonderful add-on! :tiphat:
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,873
Reaction score
2,852
Points
203
Location
Dallas, TX
OK I am working on another rocket. But I get a CTD. Looks ok in the log:
ini
Code:
[MISC]
cog=25.000
GNC_Debug=0
Telemetry=0
Focus=1
Thrust_real_pos=0
Vertical_Angle=0.000

[TEXTURE_LIST]
TEX_1=Exhaust_atsme
TEX_2=SLS_2016\SSME_Exhaust

[STAGE_1]
Height=63.720
Diameter=8.400
EmptyMass=111735.1763
FuelMass=646735.1763
Thrust=7440000.375
BurnTime=476.000
off=(-0.000,0.000,4.700)
MeshName=constellation\aresi_s1
eng_1=(0,0,-28.9)
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=SLS_2016\SSME_Exhaust
Eng_pstream2=
Eng_dir=(0.000,0.000,1.000)
Module=Stage
Rot_speed=(0.000,0.000,0.000)

scn:
Code:
BEGIN_DESC

END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 39602.6716640401
END_ENVIRONMENT

BEGIN_FOCUS
  Ship ARIES
END_FOCUS

BEGIN_CAMERA
  TARGET ARIES
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_MFD Left
  TYPE Surface
  SPDMODE 1
END_MFD

BEGIN_MFD Right
  TYPE User
  MODE Multistage2015_MFD
END_MFD

BEGIN_SHIPS
ARIES:Multistage2015
  STATUS Landed Earth
  POS -80.6758960 28.5227640
  HEADING 359.97
  ATTACHED 0:0,MS_LaunchPad_SATURN5
  AFCMODE 7
  PRPLEVEL 0:1.000000 1:1.000000 2:1.000000
  NAVFREQ 0 0 0 0
  XPDR 0
  CONFIG_FILE Config\Multistage2015\ARIETALON.ini
  GUIDANCE_FILE Config\Multistage2015\Guidance\Saturn5_GNC.txt
  CONFIGURATION 0
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 0
  MET -10
  BATTERY 5024.907129
  GROWING_PARTICLES 
  STAGE_IGNITION_TIME 486.624532
  STAGE_STATE 1
  TELEMETRY_FILE Config\Multistage2015\Telemetry\SLS_EM1_Orion_GNC.
  ALT_STEPS 100.0,350.0,1400.0,35000.0
  PEG_PITCH_LIMIT 35.000
  PEG_MC_INTERVAL 0.100
  RAMP 
END
MS_LaunchPad_SATURN5:EmptyModule
  STATUS Landed Earth
  POS -80.6758960 28.5227640
  HEADING 359.97
  AFCMODE 7
  NAVFREQ 0 0
END
END_SHIPS

LOG:
Code:
000000.000: Finished initialising world
000000.000: Module Multistage2015.dll .... [Build 161006, API 160828]
000000.000: Multistage Version: 161006
000000.000: Load State Started
000000.000: ARIES: Guidance File present: Config\Multistage2015\Guidance\Saturn5_GNC.txt
000000.000: ARIES: Config File: C:\Orbiter2016\Config\Multistage2015\ARIETALON.ini
000000.000: ARIES: Number of stages in the ini file: 1
000000.000: ARIES: Number of boosters group in the ini file: 0
000000.000: ARIES: Number of Payloads in the ini file: 0
000000.000: ARIES: Texture n.1 Loaded Exhaust_atsme
000000.000: ARIES: Texture n.2 Loaded SLS_2016\SSME_Exhaust
000000.000: ARIES: Stage n. 1 Tank Added: 646735.176 kg
000000.000: ARIES: Stage n.1 Engine Exhaust Stream Added:  to engine n.1
000000.000: ARIES: Stage n.1 Engine Exhaust Stream Added:  to engine n.1
000000.000: ARIES: Stage n. 1 Engines Exhaust Added--> number of engines: 1 , diameter: 2.400, position x: 0.000 y: 0.000 z: -28.900
000000.000: ARIES: Stage n.1 Mesh Preloaded: constellation\aresi_s1
000000.000: ARIES: Stage n.1 Mesh Added Mesh: constellation\aresi_s1 @ x:-0.000 y:0.000 z:0.000
000000.000: Load State Terminated
000000.000: Module EmptyModule.dll ....... [Build 161006, 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: ARIES: Gravity Turn Initial Pitch by user: 89.500 Calculated:89.000
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
107
Points
78
What are all those current booster, payload etc if no boosters or other stuff are defined?

If you work on a brand new rocket, start also with brand new files, the configuration 0 command should be enough to make it work
 
Top