Results 1 to 4 of 4
  1. #1
    Our new friend needs to reach 10 posts to get to the next flight level egoexpress's Avatar
    Join Date
    Aug 2007
    Location
    Germany
    Posts
    6
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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. #2
    75+ Posting Member



    Join Date
    Sep 2007
    Location
    Scotland
    Posts
    83
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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. #3
    Our new friend needs to reach 10 posts to get to the next flight level egoexpress's Avatar
    Join Date
    Aug 2007
    Location
    Germany
    Posts
    6
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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. #4
    25+ Posting Member TronicGr's Avatar
    Join Date
    Sep 2006
    Location
    San Diego, CA
    Posts
    49
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thumbs up

    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



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

    regards
    ego
    My 6DOF motion controller project:
    http://motionsim.blogspot.com/

Similar Threads

  1. Manipulating actuators for g-forces
    By grumman_gooser in forum Cockpit Parts and Motion Platforms
    Replies: 1
    Last Post: 08-17-2008, 02:42 AM
  2. Led current calculation
    By cesarfsim in forum OpenCockpits General Discussion
    Replies: 6
    Last Post: 04-01-2008, 11:12 AM
  3. Motion platform acceleration calculation & test info
    By Roland in forum Cockpit Parts and Motion Platforms
    Replies: 1
    Last Post: 06-24-2006, 10:37 PM
  4. G forces in fight sim
    By hugso in forum Phidgets & Cockpit Simulator Builder
    Replies: 1
    Last Post: 04-26-2006, 07:51 AM
  5. Load calculation - Engineering background?
    By Jonathan Richardson in forum PM General Q & A
    Replies: 1
    Last Post: 02-02-2005, 12:36 PM