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

Expanding eaorobiies Rc code

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by mcherni, Sep 25, 2017.

  1. mcherni

    mcherni New Member

    Joined:
    Aug 4, 2017
    Messages:
    9
    Occupation:
    mechanical design. aircraft engine design
    Location:
    Melbourne Australia
    Balance:
    233Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    Arduino
    I have used Eaorobbies @eaorobbie code with great success as 2dof. I am now attempting to expand to 3 dof by adding another axis "B" on pin 7. With my very limited arduino code experience I am missing something. The new axis when manual actuated by slider seems to work in negative direction but in the positive direction it goes to full lock the at the end of scale seems to snap back to position. Could some one with more coding experience have a look at what i have done and guide me/teach/show me the error of my ways.
    Thanks in advance

    See cad image of where Im trying to get to.

    Attached Files:

  2. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    505
    Location:
    Athens
    Balance:
    16,715Coins
    Ratings:
    +498 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    on line 13 try this
    Code:
    const char kActuatorName[kActuatorCount] = { 'R', 'L', 'B' };
    there is a space missing after the 'B'
    here is the link i followed for expanding this code https://www.xsimulator.net/community/threads/my-project-guide-me.5682/#post-59262
    i am not an experience coder just compared it with my setup and saw this difference.
    if you still have any problems after that i could share my setup to you
    • Informative Informative x 1
  3. mcherni

    mcherni New Member

    Joined:
    Aug 4, 2017
    Messages:
    9
    Occupation:
    mechanical design. aircraft engine design
    Location:
    Melbourne Australia
    Balance:
    233Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks i will try it out tonight.
  4. mcherni

    mcherni New Member

    Joined:
    Aug 4, 2017
    Messages:
    9
    Occupation:
    mechanical design. aircraft engine design
    Location:
    Melbourne Australia
    Balance:
    233Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks for your help. but i found the problem. End of block delimiter was missing from interface settings
    delimiter .JPG .
  5. mcherni

    mcherni New Member

    Joined:
    Aug 4, 2017
    Messages:
    9
    Occupation:
    mechanical design. aircraft engine design
    Location:
    Melbourne Australia
    Balance:
    233Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    Arduino
    Blue tack sim seat 3dof wobbly is up and running. I know the geometry doesn't work but but it was just to get heave happening.
    Next is dodgy Stewart platform like in the cad. above

    Attached Files: