OHM Launch MFD - v. 1.6.6 for Orbiter 2016

OrbitHangar

Addon Comments
Joined
Apr 9, 2008
Messages
3,834
Reaction score
9
Points
0

Author: enjo

Launch MFD calculates the appropriate launch azimuth, insertion profile (SSTO and 2-stage only) and time to launch a spaceship to intercept a satellite or a specific orbit, for example such that is described as parking orbit before ejection in TransX. Many physical influences are taken into account to provide you with a good accuracy of the calculations. After the launch, the MFD shows you an orientation of ship, that is needed to reach the described orbit. The orientation is adaptive in regard to the current situation in means of position and velocity. You can also use an included PID autopilot, which follows the provided orientation smoothly (although blindly). All these features may be used simultaneously and independently for each ship in the simulation.
The MFD also allows to perform a Direct Ascent manoeuvre, ie. a mostly automated method of intercepting a satellite right at the moment of orbital insertion, without the need of performing orbital manouvers. Demo cliptutorial clip (available also as Orbiter playback in the package)

Requires:
HUDDr awer SDK
Modu l eMessagingExt SDK
Microsoft Visual C++ 2005 Service Pack 1 Redistributable

======================
Changes

v. 1.6.5 05-04-2018

- Removed OrbiterSound dependency and using only own Sound class
- Linking dynamically against ModuleMessagingExt via LoadLibrary - no fixed dependency anymore
- Sorted out correct left margin for all MFD text


======================
Copyright © 2007 "Vanguard" - initial MFD author
Copyright © 2007-2018 Szymon Ender "Enjo” - author and maintainer
Copyright © 2007 Pawel Stiasny "She'da'Lier" - contributor
Copyright © 2008 Mohd Ali "Computerex" - contributor
Copyright © 2008 Chris Jeppesen "Kwan" - PEG code
Copyright © 2008 Steve Arch "agentgonzo" - co-developer
Copyright © 2009 CJ Plooy & Tim Blaxland - KOST library

Sources included
Released under GNU GPL v.3



DOWNLOAD
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,661
Reaction score
5
Points
38
Location
Hildesheim, Germany
Website
www.enderspace.de
I've decided to work on this and release it now, because I'll run out of free time very soon.

If Gotham needs me again, then use the private messages / e-mail.
 

Joc

New member
Joined
Jul 10, 2010
Messages
13
Reaction score
0
Points
0
Is going crazy. not funtion properly. Ship rolls and rolls. And then good night Marie :compbash2:
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,661
Reaction score
5
Points
38
Location
Hildesheim, Germany
Website
www.enderspace.de
Pitch up, pitch up, pitch up and then start the AP and say Guten Morgen Marie :)

What's exactly going on? When exactly does it happen? Information like this helps and only like this.
 
Last edited:

Joc

New member
Joined
Jul 10, 2010
Messages
13
Reaction score
0
Points
0
Pitch up, pitch up, pitch up and then start the AP and say Guten Morgen Marie :).

Ok - I have pitch up to 5 km. Than activate AP, and then ship roll down. Nosedive full house. I was very bad in this moment. I've tried it several times. I was angry, and then :chainsaw: :lol: :thumbup:
I'm drinking one now:cheers:
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,661
Reaction score
5
Points
38
Location
Hildesheim, Germany
Website
www.enderspace.de
Watch the PEG marker in MFD. If it points you down, then the AP will point you down. There's a reason why they call it artificial intelligence :)
Accelerate more, pitch up more, and ... have patience :)

Also, please read the documentation excerpt posted here. I hope it clarifies.
 
Last edited:

Interceptor

Well-known member
Joined
Mar 28, 2008
Messages
2,698
Reaction score
61
Points
63
Location
Michigan,Florida
Hello.I am not getting,sound,or hud display in this version 2010P1,Help please.

---------- Post added 11-25-10 at 06:30 AM ---------- Previous post was 11-24-10 at 02:55 PM ----------

AHHH! sorry about that,I found the thread on why there is no Hud display in the 2010P1 version,hopefully in the future. thanks:cheers:
 
Last edited:

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,661
Reaction score
5
Points
38
Location
Hildesheim, Germany
Website
www.enderspace.de
Many people didn't like the sound, so I didn't bother implementing it in 2010

As for HUD, I posted a feature request here. Still no reaction, not that I can guarantee that when the feature is implemented, I will have time to immediately use it in the MFD.
 

Interceptor

Well-known member
Joined
Mar 28, 2008
Messages
2,698
Reaction score
61
Points
63
Location
Michigan,Florida
Thanks Enjo, I never minded the sound,it would be nice to have the choice.Thanks for this terrific addon.
 

jgrillo2002

Conservative Pioneer
Addon Developer
Joined
Mar 17, 2008
Messages
755
Reaction score
16
Points
33
Location
New York State
For some reason the pitch error just get higher even if there is a target or not. it just goes up to over 10,000 degrees in pitch error. it happens with all ships
 

Wishbone

Clueless developer
Addon Developer
Joined
Sep 12, 2010
Messages
2,421
Reaction score
1
Points
0
Location
Moscow
Hmmm... I always use my own pitch table, and never trust anything to fuzzy logic.
 

jgrillo2002

Conservative Pioneer
Addon Developer
Joined
Mar 17, 2008
Messages
755
Reaction score
16
Points
33
Location
New York State
It might be a bug. heres proof
launchbug.jpg
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,661
Reaction score
5
Points
38
Location
Hildesheim, Germany
Website
www.enderspace.de
This is PEG subsystem's error, not fuzzy logic's.

It happens sometimes, at undefined circumstances. Can I get a scenario with this error?
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
36,405
Reaction score
871
Points
203
Location
Langendernbach
It happens sometimes, at undefined circumstances. Can I get a scenario with this error?

Looks like a small mathematical bug...do you use atan instead of atan2 somewhere?
 

jgrillo2002

Conservative Pioneer
Addon Developer
Joined
Mar 17, 2008
Messages
755
Reaction score
16
Points
33
Location
New York State
This is PEG subsystem's error, not fuzzy logic's.

It happens sometimes, at undefined circumstances. Can I get a scenario with this error?
Yes.
Code:
BEGIN_DESC
Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 52006.7488422767
END_ENVIRONMENT

BEGIN_FOCUS
  Ship SH-02
END_FOCUS

BEGIN_CAMERA
  TARGET SH-02
  MODE Cockpit
  FOV 50.00
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_MFD Left
  TYPE Launch
  NAV 0
END_MFD

BEGIN_MFD Right
  TYPE User
  MODE LaunchMFD
  BOOLALT 0
  BOOLENG 0
  HOV 0
  BOOLLNC 0
  BOOLTGT 0
  BOOLACT 1
  BOOLHUD 1
  BOOLPTC 1
  BOOLCOR 0
  BOOLAP 0
  ALOCK 0
  PVIEW 0
  ALT 12000.00
  INCL 0.72
  LNCT 0.00
  IFACT 1.00
  AFACT 10.00
  PEA 60013.14
  APA 60013.14
  TGT Manual
END_MFD

BEGIN_SHIPS
ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS 5608715.49 -3722107.91 -36268.85
  RVEL -4010.719 -6078.254 2492.626
  AROT 30.00 0.00 50.00
  AFCMODE 7
  IDS 0:588 10 1:586 10 2:584 10 3:582 10 4:580 10
  NAVFREQ 0 0
  XPDR 466
END
Mir:Mir
  STATUS Orbiting Earth
  RPOS -3203510.00 357357.63 5842745.48
  RVEL -6780.869 -226.264 -3699.387
  AROT 0.00 -45.00 90.00
  AFCMODE 7
  IDS 0:540 10 1:542 10 2:544 10
  XPDR 482
END
Luna-OB1:Wheel
  STATUS Orbiting Moon
  RPOS -2021992.31 959297.80 -5.14
  RVEL -634.427 -1337.234 -0.005
  AROT 0.00 -0.00 124.83
  VROT 0.00 0.00 10.00
  AFCMODE 7
  IDS 0:560 10 1:564 10
  XPDR 494
END
PB-01:ShuttlePB
  STATUS Landed Moon
  BASE Brighton Beach:2
  POS -33.4020765 41.0881033
  HEADING 220.00
  AFCMODE 7
  PRPLEVEL 0:1.000000
  NAVFREQ 484 124
END
GL-01:DeltaGlider
  STATUS Landed Earth
  BASE Habana:2
  POS -82.3988276 22.9994604
  HEADING 174.13
  AFCMODE 7
  PRPLEVEL 0:1.000000 1:1.000000
  NAVFREQ 0 0 0 0
  XPDR 0
  GEAR 1 1.0000
  AAP 0:0 0:0 0:0
END
GL-NT:DeltaGlider
  STATUS Landed Moon
  BASE Brighton Beach:4
  POS -33.3945000 41.0979933
  HEADING 70.00
  AFCMODE 7
  PRPLEVEL 0:1.000000 1:1.000000
  NAVFREQ 0 0 0 0
  XPDR 0
  GEAR 1 1.0000
  AAP 0:0 0:0 0:0
END
SH-02:ShuttleA
  STATUS Landed Moon
  BASE Brighton Beach:5
  POS -33.3869235 41.0946966
  HEADING 43.18
  AFCMODE 7
  PRPLEVEL 0:1.000000 1:1.000000
  NAVFREQ 0 0
  XPDR 0
  PODANGLE 0.0000 0.0000
  DOCKSTATE 0 0.0000
  AIRLOCK 0 0.0000
  GEAR 0 0.0000
  PAYLOAD MASS 0.0 0
  ATTREF 0 0 0
  ADI_LAYOUT 0
END
GL-02:DeltaGlider
  STATUS Landed Mars
  BASE Olympus:3
  POS -135.4300000 12.7366196
  HEADING 0.00
  AFCMODE 7
  PRPLEVEL 0:1.000000 1:1.000000
  NAVFREQ 0 0 0 0
  XPDR 0
  GEAR 1 1.0000
  AAP 0:0 0:0 0:0
END
END_SHIPS

BEGIN_ExtMFD
END


If you want the log. here it is..
Code:
**** Orbiter.log
Build Oct 16 2010 [v.101016]
Timer precision: 2.79365e-007 sec
Found 1 joystick(s)
Devices enumerated: 3
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D T&L HAL
Module AtlantisConfig.dll .... [Build 101016, API 101016]
Module AtmConfig.dll ......... [Build 101016, API 101016]
Module DGConfigurator.dll .... [Build 101016, API 101016]
Module OrbiterSound.dll ...... [Build ******, API 060425]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module InterMFD55.dll ........ [Build 100826, API 100704]
Module ExtMFD.dll ............ [Build 101016, API 101016]
Module ScnEditor.dll ......... [Build 101016, API 101016]
Module LaunchMFD.dll ......... [Build 101127, API 100830]
Module LolaMFD.dll ........... [Build 101108, API 100830]
Module BaseSyncMFD.dll ....... [Build 100616, API 100603]
Module baseland.dll .......... [Build 101112, API 100905]

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Window 1594 x 868 x 32
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 32 bit
Graphics: Stencil buffer depth: 8 bit
Graphics: Active lights supported: 8
Loading 15382 records from star database
Module Sun.dll ............... [Build 101016, API 101016]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 101016, API 101016]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 101016, API 101016]
Module VenusAtm2006.dll ...... [Build 101016, API 101016]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 101016, API 101016]
Module EarthAtm2006.dll ...... [Build 101016, API 101016]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
---------------------------------------------------------------
>>> ERROR: Missing texture: KeSpCe\K3\toit4.dds
>>> [TextureManager::AcquireTexture | .\Texture.cpp | 750]
---------------------------------------------------------------
Module Moon.dll .............. [Build 101016, API 101016]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 101016, API 101016]
Module MarsAtm2006.dll ....... [Build 101016, API 101016]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 101016, API 101016]
Module Jupiter.dll ........... [Build 101016, API 101016]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 101016, API 101016]
Module Europa.dll ............ [Build 101016, API 101016]
Module Ganymede.dll .......... [Build 101016, API 101016]
Module Callisto.dll .......... [Build 101016, API 101016]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 101016, API 101016]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 101016, API 101016]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 101016, API 101016]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module ShuttlePB.dll ......... [Build 101016, API 101016]
Module DeltaGlider.dll ....... [Build 101016, API 101016]
Module LuaInline.dll ......... [Build 101016, API 101016]
Module ShuttleA.dll .......... [Build 101016, API 101016]
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
**** Respawning Orbiter process


**** Orbiter.log
Build Oct 16 2010 [v.101016]
Timer precision: 2.79365e-007 sec
Found 1 joystick(s)
Devices enumerated: 3
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D T&L HAL
Module AtlantisConfig.dll .... [Build 101016, API 101016]
Module AtmConfig.dll ......... [Build 101016, API 101016]
Module DGConfigurator.dll .... [Build 101016, API 101016]
Module OrbiterSound.dll ...... [Build ******, API 060425]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module InterMFD55.dll ........ [Build 100826, API 100704]
Module ExtMFD.dll ............ [Build 101016, API 101016]
Module ScnEditor.dll ......... [Build 101016, API 101016]
Module LaunchMFD.dll ......... [Build 101127, API 100830]
Module LolaMFD.dll ........... [Build 101108, API 100830]
Module BaseSyncMFD.dll ....... [Build 100616, API 100603]
Module baseland.dll .......... [Build 101112, API 100905]
EDIT: I found out whats causing it to go in such a high number. for some reason its LOLA MFD if its on, screws up the calculations with the launch mfd. if lola mfd is disabled, the pitch error is at normals and works much more then before
 
Last edited:

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,661
Reaction score
5
Points
38
Location
Hildesheim, Germany
Website
www.enderspace.de
Yes, exactly. Launch MFD does the guessing for you, and it does it at an astonishing rate equal to the MFD refresh rate that you select. Moreover, it assumes that its guessing is so correct, that it's super safe to rely your ascent on a built-in AI-based autopilot option. Yes! Thanks to artificial intelligence we're actually not needed anymore!... or? ...
 
Last edited:

Mister Mxyzptlk

New member
Joined
Jan 21, 2011
Messages
211
Reaction score
0
Points
0
Well now your launch mfd causes Thorton's Soyuz FG/U to crash after about 250 seconds into the flight.
 
Top