1. 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
  2. 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!
  3. 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
  4. 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

Game engine output

Discussion in 'SimTools DIY Version' started by hape, Aug 16, 2015.

  1. hape

    hape New Member

    Joined:
    Jul 19, 2015
    Messages:
    14
    Location:
    Germany
    Balance:
    565Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    hi @all
    so i have managed to connect everything that i can see output out of the game in the section"Output Testing -> Virtual Axis" and also i can see in my Arduino coming data thru the "Axis Testing".
    Now my questions:
    first) i need for the 2DOF two Axis (Axis1 and Axis2). I don't know which i have to take (for example with RACE07)?
    second) i want to have a range in the output between 1 and 1024 (thats the maximum which the Pot of the motor can do precise). For now i have done binary output 16Bit so i thought i get 2^16 but that isn't true. did someone know whats the correct data to fill in to get this output.
    thx for helping in advance
    hape
  2. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,199Coins
    Ratings:
    +5,093 / 18 / -0
    your looking for 10bit (1024 values)
    yobuddy
  3. hape

    hape New Member

    Joined:
    Jul 19, 2015
    Messages:
    14
    Location:
    Germany
    Balance:
    565Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    ok that make sense. So did the program then 10Bit 10Bit 10Bit and so on or is this two complete byte filled with 10Bit (8Bit 2Bit)?
    But why is 16 Bit not the max amount of 2^16?

    And my other question what do i have to mix to get an output for 2DOF?

    thx for helping
    hape
  4. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,199Coins
    Ratings:
    +5,093 / 18 / -0
    it is, 16 bits: maximum representable value 2^16 - 1 = 65,535 max values (or 0 to 65,535)

    you want sway and surge for a basic 2dof sim.
    yobuddy