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 dash help

Discussion in 'Official Companion Apps' started by tadythefish, Jul 26, 2015.

  1. tadythefish

    tadythefish Active Member

    Joined:
    Jul 8, 2009
    Messages:
    148
    Occupation:
    Process automation engineer
    Location:
    Slovenia
    Balance:
    676Coins
    Ratings:
    +95 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    hello!

    is there any documentation regarding the Game dash functions? MATH, ROUND, PAD?

    My problem is how to convert Boolean to byte. True = 1, False = 0

    thank you!
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,463
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,614Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  3. tadythefish

    tadythefish Active Member

    Joined:
    Jul 8, 2009
    Messages:
    148
    Occupation:
    Process automation engineer
    Location:
    Slovenia
    Balance:
    676Coins
    Ratings:
    +95 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Yes i know how to use MATH, PAD, toHEX functions.... I just tought there is a thread that describes all available functions... Gamedash is one hell of a program... How dou you controll gauges if i may ask? Is there a better software?
  4. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,233
    Location:
    Marseille - FRANCE
    Balance:
    20,875Coins
    Ratings:
    +2,079 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Where do your boolean come from?
    You should share what you are doing in order to be helped ;-)
  5. tadythefish

    tadythefish Active Member

    Joined:
    Jul 8, 2009
    Messages:
    148
    Occupation:
    Process automation engineer
    Location:
    Slovenia
    Balance:
    676Coins
    Ratings:
    +95 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Simraceway. Im using the dash program to extract varous data from the game... But i'm stuck at Shift UP and Shift DOWN variables... The GAME DASH sends tgem as TRUE and FALSE.. And since everyhing that is sent ro my arduino is in integers, i'm looking at ways to change TRUE and FALSE to 000001 and 000000 so i don't need to change the program so much :) the dash is in work in progress so i don't have any pictures yet:) when the project is complete i will post an article here on the forum;)
  6. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,233
    Location:
    Marseille - FRANCE
    Balance:
    20,875Coins
    Ratings:
    +2,079 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    can you tell us how you can see that Gamedash is sending true or false?
  7. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,133
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    47,909Coins
    Ratings:
    +5,027 / 16 / -0
    @tadythefish, use the Replace function.

    Like this,
    Replace True 000001
    Replace False 000000

    It's easy for me to add GameDash functions should we need more, but I believe we have all we need to do just about anything. With that said thou, should we ever need something else, I will simply add the function to the app! If I can help it, I will never let a project go unfinished because the software does not do what is needed.

    take care guys!
    yobuddy
    • Like Like x 2
    • Winner Winner x 1
  8. tadythefish

    tadythefish Active Member

    Joined:
    Jul 8, 2009
    Messages:
    148
    Occupation:
    Process automation engineer
    Location:
    Slovenia
    Balance:
    676Coins
    Ratings:
    +95 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Thank you for your reply! I will try it. As for tge functions ... Is it possible to write all of them down to the download page or to a file so if someone downloads the program he has everything he needs? I couldn't find any descriptions for the available functions, just from varoious posts here on the forum. It's hard to search the whole forum if someone is looking for a specific function :) i know there is MATH, REPLACE, PAD, toHEX and i think its toBIN or toDEC not sure:)

    Thank you!
  9. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,233
    Location:
    Marseille - FRANCE
    Balance:
    20,875Coins
    Ratings:
    +2,079 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I published it as an example in the GameDash FAQ list of functions
    http://www.xsimulator.net/community/faq/gamedash-functions.176/

    • Like Like x 1
    • Agree Agree x 1
    • Winner Winner x 1
  10. tadythefish

    tadythefish Active Member

    Joined:
    Jul 8, 2009
    Messages:
    148
    Occupation:
    Process automation engineer
    Location:
    Slovenia
    Balance:
    676Coins
    Ratings:
    +95 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Missed that one ;)
    Thank you again:)
  11. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,133
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    47,909Coins
    Ratings:
    +5,027 / 16 / -0
    @tadythefish, All the commands are all shown in Game Dash itself.
    1) Click a pencil
    2) click Help
    3) Popup shows all commands.

    ex.jpg

    Is that what you are looking for buddy?
    yobuddy
    • Like Like x 2
  12. tadythefish

    tadythefish Active Member

    Joined:
    Jul 8, 2009
    Messages:
    148
    Occupation:
    Process automation engineer
    Location:
    Slovenia
    Balance:
    676Coins
    Ratings:
    +95 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Hmmm... I can't remember but I think i clicked the help button and didn't what you see... I don't know i will check this afternoon.

    Anyway i would like to thank everyone for help!

    The dash works now. It still needs cosmetic work...

    I made a quick video of the gauges. I used a Yamaha FZS600 gauges + Arduino nano + Gamedash

    And the fuel gauge also works ;)

    • Winner Winner x 2
    Last edited: Jul 30, 2015
  13. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,233
    Location:
    Marseille - FRANCE
    Balance:
    20,875Coins
    Ratings:
    +2,079 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    looks good!
    what motors are you using to move the gauges?
    • Agree Agree x 1
  14. tadythefish

    tadythefish Active Member

    Joined:
    Jul 8, 2009
    Messages:
    148
    Occupation:
    Process automation engineer
    Location:
    Slovenia
    Balance:
    676Coins
    Ratings:
    +95 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    I didn't hack the gauges :) they are stock... The arduino sends pulses to the gauges (frequency control, not PWM)
  15. tadythefish

    tadythefish Active Member

    Joined:
    Jul 8, 2009
    Messages:
    148
    Occupation:
    Process automation engineer
    Location:
    Slovenia
    Balance:
    676Coins
    Ratings:
    +95 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    The simulator was already working but i wanted to make the motors more quiet. So i raised the frequency of the PWM pins and ofcourse i blew up the controllers:)

    Now that the gaues are complete i can resume work on my new controller that uses motors with encoders for positioning ( servo). I didn't like the original arduino simulator software. So i made a new program from scratch (only copied the serial recieve and convert from hex to dec part of the code;) )

    I will write a post when it is finished;)
    • Like Like x 2
  16. Nathan Older

    Nathan Older Member

    Joined:
    Mar 17, 2014
    Messages:
    36
    Balance:
    211Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    2DOF
    wow, need to get a dash like that! Would love a real rev counter at least.