Thread: Calculation of g-forces in LOMAC

1. Calculation of g-forces in LOMAC

Hi gents,

We would like to use the LUA export data of LockOn to make a simulator plugin.

Does anyone know, how to calculate g-forces out of these data?

LoGetIndicatedAirSpeed() -- (args - 0, results - 1 (knots))
LoGetTrueAirSpeed() -- (args - 0, results - 1 (knots))
LoGetAltitudeAboveSeaLevel() -- (args - 0, results - 1 (feet))
LoGetAltitudeAboveGroundLevel() -- (args - 0, results - 1 (feet))
LoGetAngleOfAttack() -- (args - 0, results - 1 (degrees))
LoGetAccelerationUnits() -- (args - 0, results - 1 (G))
LoGetVerticalVelocity() -- (args - 0, results - 1(feet per sec))
LoGetADIPitchBankYaw() -- (args - 0, results - 3 (degrees))
LoGetMCPState() -- (args - 0, results - 1 (table of key(string).value(boolean))

Imho the g-force value would have to be combined with a vector information. We dont have a clue where to start.
The centrifugal forces could be calculated with f(c)=mxv²/r
But the mass value isnt provided by LOMAC.

Is there maybe another way to calculate the g-forces?

regards
ego

2. Accels

Hi Ego,

I'm sorry but I don't know much about LOMAC - assuming it is a flight sim?

G-forces as far as I can tell are the additional forces felt by the pilot in the aircraft's local vertical axis direction due to the local vertical component of the aircraft's acceleration. So, assuming this definition is correct, you can calculate GForce if you are able to calculate the aircraft's instantaneous acceleration vector and you know how this is orientated wrt the aircraft's local axis system. To do this you could use either:

A. High resolution data on aircraft position, height & orientation, eg latitude, longitude & height and aircraft heading, pitch and roll.

or

B. Data on aircraft velocity wrt the global axis system eg North, East and Vertical velocities and aircraft heading, pitch and roll.

or

C. The full set of local acceleration components - not likely.

It may be possible to get there if you have a full set of local velocity components plus heading, pitch and roll data because this data can be transformed into a global velocity vector and hence a global acceleration vector knowing time step data.

Do you think you can get any of the above full sets of data out? If you can I should be able to help you calculate GForce.

Ian

http://buggies.builtforfun.co.uk/

3. Hi Ian

Thank you for enlightening the issue some more. We seem to be able now to calculate the g-forces with:
-> LoGetSlipBallPosition()

Btw, your DIY simultator is the coolest what I have seen so far! I tumbled about the cad pics some weeks ago, and I never thought that you'll be able to make that thing work.

I am surprised that it works. And it works amazing well even!

Imho Tronicgr should uprgrade his joyrider with your heave mechanism.
His simulator seems to be a little more comfortable

regards
ego

4. Thanks Ego,

But converting my joyrider to accept heave will be a challenge. Its too heavy to lift alone as it is now. I was thinking adding a limited heave only in the seat to avoid big sized motors...

Sorry If a didind respond on your request for LOMAC but other things troubles me now (I think you know what I mean...)

Regards, Thanos

Originally Posted by egoexpress
Imho Tronicgr should uprgrade his joyrider with your heave mechanism.
His simulator seems to be a little more comfortable

regards
ego