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

Question No movement SimTools axis testing

Discussion in 'SimTools DIY Version' started by James Robbie, Nov 16, 2017.

  1. James Robbie

    James Robbie Active Member

    Joined:
    May 23, 2017
    Messages:
    111
    Occupation:
    IT Specialist
    Location:
    New Zealand
    Balance:
    538Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi all,

    Setup details:
    2DOF DIY
    Arduino SMC3 with single MM board
    SimTools 2.1

    Short story - I am able to get movement through the SMC3 Utility Tool BUT when trying to assign and then axis test in SimTools, I don't get any response or movement.

    To make it clear, all I am trying to do is go through AXIS TESTING in SimTools, i am not even interested in introducing a game environment yet. I have not set min/max values or anything like that in the game engine.

    HELP PLEASE - Where am I going wrong? What have I not set up? What have I set up wrong?

    Capture.JPG

    Capture1.JPG
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,460
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You have defined 3DOF in the Interface Settings when you only need two, like this: [A<Axis1a>][B<Axis2a>]

    Can I check that you are using the Save button in Axis Assignments and hence only testing Pitch in Output Testing?

    I also want to verify that you are only running SimTools, and not the sMC3 utility at the same time.
  3. James Robbie

    James Robbie Active Member

    Joined:
    May 23, 2017
    Messages:
    111
    Occupation:
    IT Specialist
    Location:
    New Zealand
    Balance:
    538Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Ok, I will make that change. I had not seen whether it was required to have 3 axis defined in the software incase the arduino sketch was expecting to see 3 input commands.
    Correct, only output testing. I was just trying to induce some movement and instead of complicating things - 1DOF at a time to prove things. I have tried with Roll (1 x in reverse) in the same manner but no difference to outcome.
    Correct. Test with SMC3 utility, shut that down, open SimTools, test there.
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,460
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I would suggest that if SMC3 works as expected then there is a problem in communication, check usb cord, comport and the like.
  5. James Robbie

    James Robbie Active Member

    Joined:
    May 23, 2017
    Messages:
    111
    Occupation:
    IT Specialist
    Location:
    New Zealand
    Balance:
    538Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    If SMC3 utility is working correctly, wouldn't that prove the COM port as long as its the same and the USB cable?

    Hopefully its as simple as have 3 axis in the command line...
  6. James Robbie

    James Robbie Active Member

    Joined:
    May 23, 2017
    Messages:
    111
    Occupation:
    IT Specialist
    Location:
    New Zealand
    Balance:
    538Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Any last help, hints or suggestions? Anybody with skill and knowledge willing to remote into my PC and see if they can help me?

    I am pretty much at the end of the motion idea with nothing really to show for it. I am stumped and frustrated and don't have any idea or direction of what i am doing wrong for things not to work. Its dam disheartening and frustrating but I don't feel like I have anything left to try. I don't like giving up! Lol
  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,906Coins
    Ratings:
    +5,027 / 16 / -0
    Do you get anything from axis output testing when in "(a) Axis Output" mode?
  8. James Robbie

    James Robbie Active Member

    Joined:
    May 23, 2017
    Messages:
    111
    Occupation:
    IT Specialist
    Location:
    New Zealand
    Balance:
    538Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi @yobuddy, thanks for the response and a massive apology for the delay in response. Life got in the way and a PC rebuild was required for another reason...

    So I have started from scratch effectively and everything is freshly installed. Confirmed that SMC Utility Tool is showing response from the motors BUT still the same issue of no response from motors through SimTools.

    In answer to your question - no, I don't get anything from output testing when in "(a) Axis Output" mode.

    Can you confirm if I need to go through the arduino code and comment out anything relating to a 3rd motor? I am only specifying 2 x axis in sim tools as suggested by @noorbeast
  9. 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,906Coins
    Ratings:
    +5,027 / 16 / -0
    Your settings look right.
    I'm not sure if you need to comment anything out.
    It's been a while since i played with SMC3.

    What antivirus and firewall are you using buddy?
    yobuddy
  10. 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,906Coins
    Ratings:
    +5,027 / 16 / -0
    @James Robbie,
    Are you running any firewalls or antiviruses that may be blocking UDP communication?
    yobuddy
  11. James Robbie

    James Robbie Active Member

    Joined:
    May 23, 2017
    Messages:
    111
    Occupation:
    IT Specialist
    Location:
    New Zealand
    Balance:
    538Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I'm not running anything special or abnormal. Only running Avast on minimal install settings and Windows built-in firewall

    I will disable both and try running axis testing again and see what happens. Didnt even think about that stuff potentially blocking or stopping things
  12. James Robbie

    James Robbie Active Member

    Joined:
    May 23, 2017
    Messages:
    111
    Occupation:
    IT Specialist
    Location:
    New Zealand
    Balance:
    538Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Right, testing - disabled Avast and Windows Defender Firewall - no change/no movement

    Played around with a couple of other things as well and still no movement. Will pull all wiring AGAIN and make sure everything is wired as per the SMC3 diagram for a MM again...

    :sos o_O :mad: :confused:
  13. 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,906Coins
    Ratings:
    +5,027 / 16 / -0
    Keep us updated buddy.
    I'm very curious as to what the problem could be...
    yobuddy
  14. Radioproffi

    Radioproffi Active Member Gold Contributor

    Joined:
    May 15, 2014
    Messages:
    114
    Location:
    Lviv
    Balance:
    1,567Coins
    Ratings:
    +80 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform, 4DOF, 6DOF
    Try Add Interface 2 with settings:
    upload_2017-12-17_20-0-52.png

    And run SMC3Utils in UDP pass tough mode
    upload_2017-12-17_20-3-49.png

    Try Output test with running SMC3Utils
    • Informative Informative x 1
  15. Jamin01

    Jamin01 New Member

    Joined:
    Jul 15, 2017
    Messages:
    26
    Location:
    Australia
    Balance:
    282Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi again James,

    You may remember me and the help you gave us with the motors etc... Well, now I am in the same boat as you. SMC3 utility works perfectly, however no motion from output testing.

    I have discovered though, that when I look at the "tools" area of the Game Engine the IP address shown in the top right corner is 10.0.0.211 which is different to the 127.0.0.1 that I keep seeing in the instructions. Yobuddy says as I am using the one PC to drive everything it should be set to 127.0.0.1. We can't figure out how to get the IP address shown in the tools area to reflect 127.0.0.1, as I am thinking that this is the issue.

    I am curious, if you are only using the single PC setup, what does yours say?

    Cheers
    Richard
  16. 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,906Coins
    Ratings:
    +5,027 / 16 / -0
    The IP address shown is just a label of the IP address of the PC GameEngine is installed on.
    The one used for communication is the one that GameEngine has for its settings.
    Click 'Manager IP' on the 'tools' page in Game Engine.
    That's the one it is using. (and it should be 127.0.0.1 for a single PC setup)

    The one shown in the apps the IP address of the machine the software is running on.
    Its handy for connection a 2 PC setup together.
    Enter the IP address of Game Engine in Game Manager (and visa versa) and your all set.
    Sorry for the confusion.
    yobuddy
  17. James Robbie

    James Robbie Active Member

    Joined:
    May 23, 2017
    Messages:
    111
    Occupation:
    IT Specialist
    Location:
    New Zealand
    Balance:
    538Coins
    Ratings:
    +64 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi, @Radioproffi, thanks for your response.

    With regard to the Utility software, do any of the settings matter when its set to UDP pass through mode? Utility settings.PNG

    I have tried what you have suggested with the above attached settings and I'm not getting any visual changes in the utility software nor am i getting any movement
    • Useful Useful x 1
  18. Radioproffi

    Radioproffi Active Member Gold Contributor

    Joined:
    May 15, 2014
    Messages:
    114
    Location:
    Lviv
    Balance:
    1,567Coins
    Ratings:
    +80 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform, 4DOF, 6DOF
    There must be your settings. Pls increase PWMmax = 200
  19. Jamin01

    Jamin01 New Member

    Joined:
    Jul 15, 2017
    Messages:
    26
    Location:
    Australia
    Balance:
    282Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Both are set to the same 127.0.0.1. Still no action with output testing
  20. aspe

    aspe New Member Gold Contributor

    Joined:
    Dec 18, 2011
    Messages:
    18
    Occupation:
    v.s
    Location:
    arges.toledo .españa
    Balance:
    15Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    ok.I apologize I use the translator, maybe it's a bad translation. Excuse me again. I will read the thread. Thanks