Thread: Calculation of g-forces in LOMAC
08-31-2007, 03:43 PM #1
- Join Date
- Aug 2007
Calculation of g-forces in LOMAC
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?
09-04-2007, 05:59 PM #2
- Join Date
- Sep 2007
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.
B. Data on aircraft velocity wrt the global axis system eg North, East and Vertical velocities and aircraft heading, pitch and roll.
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.
09-07-2007, 08:30 PM #3
- Join Date
- Aug 2007
Thank you for enlightening the issue some more. We seem to be able now to calculate the g-forces with:
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
09-10-2007, 07:26 AM #4
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...)
My 6DOF motion controller project:
By grumman_gooser in forum Cockpit Parts and Motion PlatformsReplies: 1Last Post: 08-17-2008, 02:42 AM
By cesarfsim in forum OpenCockpits General DiscussionReplies: 6Last Post: 04-01-2008, 11:12 AM
By Roland in forum Cockpit Parts and Motion PlatformsReplies: 1Last Post: 06-24-2006, 10:37 PM
By hugso in forum Phidgets & Cockpit Simulator BuilderReplies: 1Last Post: 04-26-2006, 07:51 AM
By Jonathan Richardson in forum PM General Q & AReplies: 1Last Post: 02-02-2005, 12:36 PM