1. This Software is no longer supported by us. Please download the new motion control software SimTools.
    Dismiss Notice
  2. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  3. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  4. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  5. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

iRacing plugin for new SDK - Updated

Discussion in 'Force-Sender & Plugins' started by pholt, Aug 24, 2011.

  1. pholt

    pholt New Member

    Joined:
    Aug 24, 2011
    Messages:
    2
    Balance:
    7Coins
    Ratings:
    +0 / 0 / -0
    I've written a plugin to work with the new SDK from iRacing which allows multiple clients to access the sim without the need of intermediate proxies. It's based on the provided GPxPlugin source.

    My main focus was to provide data for the gauge system. [strike]I don't have a motion system
    nor any experience with them so the values passed by that part of the plugin are a best
    guess on my part and may or may not work. I would welcome any help people might offer
    on refining the data for the motion system.[/strike] Thanks to sirnoname, I've refined the motion values.

    It provides:

    Motion data

    Current Gear
    Current Speed
    Lateral force
    Vertical force
    Longitudinal force
    Pitch
    Roll
    Yaw
    Pitch Rate
    Roll Rate
    Yaw Rate


    Gauge data

    Vehicle speed
    RPM
    Gear
    Fuel (in millilitres and percentage remaining)
    Fuel pressure
    Coolant temperature and level
    Oil pressure, temperature and level
    Electrical system voltage
    Warnings for water temperature, fuel pressure, oil pressure, engine stalled,
    pit limiter active and rev limiter active

    Lap count
    Position in session
    Last lap time
    Best lap time

    More detailed info is contained in the readme file.

    Attached Files:

  2. pholt

    pholt New Member

    Joined:
    Aug 24, 2011
    Messages:
    2
    Balance:
    7Coins
    Ratings:
    +0 / 0 / -0
    Re: iRacing plugin for new SDK

    Here's what I did with the motion part of the plugin. I loaded the old iRacing plugin and looked at the input slots for motion. I duplicated those names in my new version and assigned the iRacing data that seemed most appropriate.

    This is a list of what each effect slot provides:

    Effect 21: Current Gear-current gear
    Effect 22: Current Speed -current speed in millimetres per second
    Effect 23: Gear shake effect -I didn't know what to put here so left it at 0
    Effect 24: nothing -nothing
    Effect 25: Lateral force -Lateral acceleration in m/s^2 * 100
    Effect 26: Vertical force -Vertical acceleration in m/s^2 * 100
    Effect 27: Longitudinal force -Longitudinal acceleration in m/s^2 * 100
    Effect 28: Pitch -Pitch orientation in radians * 100
    Effect 29: Yaw -Yaw orientation in radians * 100
    Effect 30: Roll -Roll orientation in radians * 100
    Effect 31: Car velocity X -nothing
    Effect 32: Car velocity Y -nothing
    Effect 33: Car velocity Z -nothing

    The last three values aren't provided by the new SDK. There is a value for pitch, roll and yaw rate, given in radians per second. I could put those in place of the car velocity values if it would be useful for motion.
  3. willow4500

    willow4500 New Member

    Joined:
    Oct 17, 2011
    Messages:
    1
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    I am having issues with this plugin

    I have it in the xsim>plugins folder but it will not show up in the selection list in the force sender

    Am I doing something wrong or am I just missing something?