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

X-sim plugin data format

Discussion in 'Force-Sender & Plugins' started by overloaded, Oct 19, 2011.

  1. overloaded

    overloaded New Member

    Joined:
    Oct 19, 2011
    Messages:
    4
    Balance:
    8Coins
    Ratings:
    +1 / 0 / -0
    Hello everyone!

    I`m trying to interface different games from own software to play with forces-to-platform position algorythms, using x-sim plugins.

    What I need (please see attached image) is Ax Ay Az acceleration(in Gs, where in static position Az = -1, Ax = 0 pointing right, Ay = 0 pointing to the forward of vecicle ), and Wx Wy Wz angular speeds in rad/sec.

    I`ve seen source of plugin but can't figure out for sure the right parameters position and sign in data[22] array(see code) and their format and units of measure.

    I understood that for example
    Ax = -data[12] / 100000 (G), but if it is possible to get info on indexes for all 6 params please post it in format provided in my example an according to attached image.

    Forehead thank you.

    Code:
    typedef struct PluginDataEx
    {
    	int			data[22];  
    	int			speed;					//current speed in kmh
    	int			rpm;					//rpm
    ..........................................
    XYZ.gif