OHM LolaMFD for Orbiter 2010 (new corrections)

OrbitHangar

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

Author: rawash



This is another fixed (beta) release of LazyD's LolaMFD(0306) (http://www.orbithangar.com/searchid.php?ID=3172)
based on the registration style made by Vanhi (http://www.orbithangar.com/searchid.php?ID=4418).

It works with Orbiter 2010P1 (100830) & Orbiter 2006 (060929).


Some changes:

 Only focusable ships with main and/or hover thruster defined appear in the reg list.

 Up to 28 vessels max can be listed and registered (arbitrary number).
    
 Other ships can be controlled via remote function without changing focus:
- the list ('LIS' key) shows monitorable vessels.
- the '*' symbol indicates which ship is actually controled by remote function, as well as the name on the top.
- you must register the vessel ('REG' key) before using remote control ('>' key).
- Focus ship automatically registered. --> CTD FIXED
- Browsing the registered ships with Previous ('PRV') & Next ('NXT') buttons.
- Home button ('HOM') to reach focus vessel.
- Engage ('ENG') to switch between manual and auto guidance.

NEW CHANGES (2010-10-27) :
- works with 10Hz frequency (smooth attitude control)
- attitude now piloted by CDK libraries (from attitudeMFD)
- Arrow Freigther limited to 2°/sec in rotation


Some autopilots still missing and some works when you are near from optimal conditions.


KNOWNBUGS :
This is a beta so please report any bugs.
Autopilots can have strange behaviour at high time acceleration (no guidance @ 100x).
Saving and reload near critical phases should be avoided.
Not all autopilot are saved :  landing and suborbital transfert have good resuming (try scenario included), but "Ascend to Rendezvous" works only when you're land.



For those who wants to keep this addon alive...

Former Orbiter 2010 CTD caused by LolaMFD was due to:
- some obsolete 'opc' functions (see opcTimeStep)
- MFDLib functions (no graph)
- some incorrect variables initialisation
 


Thanks to sputnik, vanhi, tblaxland and of course very thanks to LazyD.


***corrected : CTD when focus is has no main and/or hover thruster***

2010-10-27 (another beta)
***CTD in registration & CTD in landing phase***

2010-11-08
***Landing AP fixes***
***debug txt file deleted***
***registration corrected***


    





DOWNLOAD
 

Yoda

Donator
Donator
Joined
May 4, 2008
Messages
662
Reaction score
0
Points
16
Location
Colorado
YOU ARE THE MAN !!!! :hail:
Been waiting for someone to fix this !

Thanks a million.:cheers:
 

Rawash

New member
Joined
Mar 3, 2010
Messages
15
Reaction score
0
Points
0
IMPORTANT : Release corrected

To all.

A stupid omission in my TODO list have made the first release badly buggy.
So you can update with this new one.

very sorry for the annoyance.

:facepalm:


 

ond1

New member
Joined
Jun 14, 2010
Messages
6
Reaction score
0
Points
0
It's a good autopilot, it would be worth expanding.:thumbup: :probe:
 

ganlhi

New member
Joined
Dec 10, 2008
Messages
36
Reaction score
0
Points
0
Hello !

Yesterday I tried this new version, but it caused CTD each time I tried to use it. When I launch the MFD, I click on REG to register my ship (which is shown as "non registered"), then it crashes.

Any idea about what causes these CTD ?

Thanks
 

JonnyBGoode

Sky Marshal
Addon Developer
Joined
Oct 24, 2009
Messages
686
Reaction score
34
Points
28
Location
Bakersfield, CA
I tried the updated version in P1 and also got a CTD. Not right away though. It does a retro burn and then starts maneuvering toward the landing site, then after a while it CTDs.
 
Last edited:

ganlhi

New member
Joined
Dec 10, 2008
Messages
36
Reaction score
0
Points
0
Ah yes I forgot tp precise that I used 2010P1. Maybe it just needs to be recompiled with 2010P1 SDK ?
 

Rawash

New member
Joined
Mar 3, 2010
Messages
15
Reaction score
0
Points
0
LOLAMFD 2010 : new corrections

New version uploaded in orbithangar : LolaMFD101027.zip

The old source files available may still contain some bugs.
I fixed one with a deltatime in landing function which causes a bad behaviour.
(@JonnyBGoode : CTD still present?)

Now LOLA works with a global freq of 10Hz.
I also implemented CDK libraries for attitude control --> should runs smoothly

Arrow Freigther have now a 2°/sec rotation rate max to respect inertia.


I also fixed a bug of my own when trying to register at the start of the simulation or when forcing focus to a newly created vessel.
@ganlhi : wich vessel did you want to register?
CTD still present with the last correction?

This release is compiled with 2010 Orbiter SDK.


I'll try to keep a look more frequently...
R.
 

Rawash

New member
Joined
Mar 3, 2010
Messages
15
Reaction score
0
Points
0
My Apollo 17 is on its way to the moon but I think my SPS has a malfunction (good idea the free return...).
 

JonnyBGoode

Sky Marshal
Addon Developer
Joined
Oct 24, 2009
Messages
686
Reaction score
34
Points
28
Location
Bakersfield, CA
apollo11landing1.jpg


apollo11landing2.jpg


apollo11landing3.jpg


apollo11landing4.jpg


apollo11landing5.jpg


apollo11landing6.jpg


Houston, this is Tranquility Base... the Eagle has landed.

I'd say you fixed it. Good job!
 
Last edited:

IgnoreThisBarrel

Local Pastafarian Missionary
Addon Developer
Donator
Joined
Jul 16, 2010
Messages
466
Reaction score
0
Points
0
Location
West Seattle
Awesome! Although I get a CTD under time-acceleration greater than 1 (although I guess that is the technical definition of time-acceleration).
 

Rawash

New member
Joined
Mar 3, 2010
Messages
15
Reaction score
0
Points
0
ignorethisbarrel
Could you send me a scenarii & explain when this happens(autopilot, phase,...).
I didn't experienced CTD with 10X time-acc yet.

Anyway,
You'll need to know that beyond this value, LOLA don't update attitude.
Any time acc should be no more than 10X in critical phase .
Too large deltaT between two updates --> 10Hz with 100X time acc : MFD updating every 10sec of flight.
100X can be used only when waiting new phase or in ballistic coastline.
R.
 

IgnoreThisBarrel

Local Pastafarian Missionary
Addon Developer
Donator
Joined
Jul 16, 2010
Messages
466
Reaction score
0
Points
0
Location
West Seattle
ignorethisbarrel
Could you send me a scenarii & explain when this happens(autopilot, phase,...).
I didn't experienced CTD with 10X time-acc yet.

Anyway,
You'll need to know that beyond this value, LOLA don't update attitude.
Any time acc should be no more than 10X in critical phase .
Too large deltaT between two updates --> 10Hz with 100X time acc : MFD updating every 10sec of flight.
100X can be used only when waiting new phase or in ballistic coastline.
R.
Ah, now that I think about it, I didn't really specify. I only get a CTD on the landing phase. Pretty much any scenario.

I'll try not over-time-accelerating tomorrow and see how it works out.
 

Tycho6

New member
Joined
Sep 6, 2010
Messages
15
Reaction score
0
Points
0
Location
Ontario
I tried this new Lola version while trying to land a DG at the UCGO Europa base. I enter an orbit which carries me over the base, activate LolaMFD, and wait for it to start the burn. Within about 30 seconds of starting the burn it inevitably fails. The first two times it was a CTD. Now it doesn't kill Orbiter, but I suddenly get this:

I can reproduce this result consistently. The DG hasn't crashed, it was still hundreds of km out, and over 70 km up when it suddenly 'teleported' to this state.
Any ideas?
 

Wishbone

Clueless developer
Addon Developer
Joined
Sep 12, 2010
Messages
2,421
Reaction score
1
Points
0
Location
Moscow
This is a very sure sign of division by zero somewhere in LoLa's autopilot code. You've been teleported to the infamous NaNspace.
 
Top