OHM BaseLandAutopilot (fourth BETA)

Hi mhadjiosif,

i've updated a new version with source code but without any warranty :-) ...

Have fun and don't hesitate to improve it :-)

[edit]
oh and to your question:
The message to release the gear is just a message, there is no check if the gear is released or not...
So in each case, you have to confirm this message, if you gear is allready released or not ^^
And if you have not pressed "conf" (confirmed), the ship will not touch down untlil you have pressed that button :-)
You can also read this in the attached document...
It's just a note that you don't forgot..
 
Last edited:
Hi mhadjiosif,

i've updated a new version with source code but without any warranty :-) ...

Have fun and don't hesitate to improve it :-)

[edit]
oh and to your question:
The message to release the gear is just a message, there is no check if the gear is released or not...
So in each case, you have to confirm this message, if you gear is allready released or not ^^
It's just a note that you don't forgot..

This new version do not load into Orbiter.
Module is check but can't see in MFD.
 
Topper:

You need to recompile it in "Release" configuration. Currently it's compiled in "Debug" and requires MSVCRT90D.DLL (Microsoft.VC90.DebugCRT version 9.0.21022.8), which is a part of Visual Studio / C++ Express 2008, and not its redistributable package.
 
Topper:

You need to recompile it in "Release" configuration. Currently it's compiled in "Debug" and requires MSVCRT90D.DLL (Microsoft.VC90.DebugCRT version 9.0.21022.8), which is a part of Visual Studio / C++ Express 2008, and not its redistributable package.
Hi thanks Orb,
Can you confirm me that his dll is working?

[file removed]
 
Last edited:
Can you confirm me that his dll is working?
I can't confirm it working, as I don't have Orbiter set up in Linux, but I can confirm that this one doesn't require debug libraries, and should be working just fine.
 
Great! I love this thing.

Not sure if this has been worked on but I love this and works great for delta glider. But i did notice some problems when I used the XR2 and other heavier ships..

They usally try to adjust to land and end up going around and around the pad tell out of fuel. Also there is a small bug when canceling out.. The hover thrusters would always stay 100% and no way to turn off. Im hoping i can find somthing that is causing this.

I figured it was due to the pitches and speed so i used your source and changed a few things during the hover phase and works great now..

Below are some of the changes and they start about line 1169 see comments.

Code:
//starting around line 1169
//changed SpeedMax 20 to 10
const double SpeedMax = 10;

//changed PitchHoverSpd 25 to 15
double PitchHoverSpd = 15;


//all sets from 5 to 10 to slow down the pitch and roll
if (VVessel.z < ySpeedNeed) 
{
VLAP->SetThrusterGroupLevel(THGROUP_ATT_FORWARD,ySpeedNeed-VVessel.z); 
if (Pitchhover) SetPitch((ySpeedNeed-VVessel.z)/-10);//changed
}
if (VVessel.z > ySpeedNeed) 
{
VLAP->SetThrusterGroupLevel(THGROUP_ATT_BACK,VVessel.z-ySpeedNeed); 
if (Pitchhover) SetPitch((VVessel.z-ySpeedNeed)/10);//changed
}
if (VVessel.x < xSpeedNeed) 
{
VLAP->SetThrusterGroupLevel(THGROUP_ATT_RIGHT,fabs(xSpeedNeed-VVessel.x)); 
if (Pitchhover)SetRoll(fabs(xSpeedNeed-VVessel.x)/10);//changed
}
if (VVessel.x > xSpeedNeed) 
{
VLAP->SetThrusterGroupLevel(THGROUP_ATT_LEFT,fabs(VVessel.x-xSpeedNeed)); 
if (Pitchhover) SetRoll(fabs(VVessel.x-xSpeedNeed)/-10);//changed
}


This also can be fixed by adjusting the timing for the retro/main thrust during phase 1 but was not sure about it so just did what i found and seems to work perfect.

Thanks for autopilot!
 
I was trying to land on Olympus with XR2 I did everything that the BLA Needs hover doors or retros were open but Baseland Autopilot owershot the base.And second time it s crashed the ship. Is there anything that I am wrong with it?
 
I was trying to land on Olympus with XR2 I did everything that the BLA Needs hover doors or retros were open but Baseland Autopilot owershot the base.And second time it s crashed the ship. Is there anything that I am wrong with it?

Did you get in a low enough / close enough orbit over the base? Did you start the AP early enough?


This is great, but it would be nice to be able to input an arbitrary set of coordinates to land on (like Basesync can do). Good fun! Works with everything from the Arrow to the DG.
 
I was trying to land on Olympus with XR2 I did everything that the BLA Needs hover doors or retros were open but Baseland Autopilot owershot the base.And second time it s crashed the ship. Is there anything that I am wrong with it?

This ap is developed to land on a body without an atmosphere, I never tested it on Mars. Maybe it can handle Mars landing or support you doing so, but maybe not to 100%...
If you do so, then it's on your own risk ;-)


...This is great, but it would be nice to be able to input an arbitrary set of coordinates to land on...

In fact, you just need to press the MAN button on the upper right and enter the latitude and longitude. (Without base setup before!)
 
Last edited:
Odd bug in DGIV?

I've found a bit of an issue using Baseland on my new laptop and using the DGIV.

Namely, when I have it open and set the base, I get

~-1.#J

under time to handoff. This doesn't happen with the stock Delta Glider, JUST the DGIV series....

It might be something I'm missing in the new install... but this works fine with my old desktop. The laptop is a stock Windows 7 SP1. But then again, so is my desktop.
 
To me it sounds like a division by zero...
Did you open the retro / hover doors?
Maybe it cannot calculate the time because the maximum thrust is 0 if the doors are closed?
 
To me it sounds like a division by zero...
Did you open the retro / hover doors?
Maybe it cannot calculate the time because the maximum thrust is 0 if the doors are closed?

No, retro doors and hover doors open....
 
Back
Top