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

No motor movement at all

Discussion in 'New users start here - FAQ' started by marky000, Aug 26, 2014.

  1. marky000

    marky000 New Member

    Joined:
    Aug 23, 2014
    Messages:
    19
    Balance:
    306Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    Arduino
    Hey guys,

    Can someone check out my thread here:

    http://www.xsimulator.net/community/threads/complete-sim-tools-noob.5717/

    I really need some help figuring out why I can't get any movement out of the motor in Sim Tools (moving sliders test in game engine) but tests appear ok using Arduino software.

    Any help would be greatly appreciated.
  2. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,462Coins
    Ratings:
    +3,318 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Hi @marky000
    First of all: Are you getting data in Tuning Window?
  3. prilad

    prilad Well-Known Member SimAxe Beta Tester SimTools Developer

    Joined:
    Apr 29, 2012
    Messages:
    380
    Location:
    Dubna, Russia
    Balance:
    9,612Coins
    Ratings:
    +512 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 4DOF
    No, @value1 and @marky000 ;)
    At first - what Arduino sketch do you (Marky) use? Send us your code, please.
    May be your code can't receve data from PC?
  4. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,390Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
  5. marky000

    marky000 New Member

    Joined:
    Aug 23, 2014
    Messages:
    19
    Balance:
    306Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    Arduino
    The sketch data I used to get some motor movement in Arduion IDE is at the bottom of this page http://arduino.cc/en/Tutorial/DueMotorShieldDC

    However, I saw no reference to providing sketch data in the Simtools Quickstart guide so I am curious why you ask this question.

    I was under the impression that the slider test in Game Engine should generate some motor movement without the need for any Arduino sketch. That was how I interprated the Quick Start Guide anyway.

    I am a novice when it comes to sketch code so at this stage I am happy to just get some random motor movement in Sim Tools (as I was able to achieve via Arduino IDE program).
    Last edited: Aug 27, 2014
  6. marky000

    marky000 New Member

    Joined:
    Aug 23, 2014
    Messages:
    19
    Balance:
    306Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    Arduino
    Glad you asked. Problem was I couldn't find the "tuning window". I assumed it was accessed under Game manager but couldn't find it. Found nothing in FAQ about it as well.
  7. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    its under game engine, along with settings
  8. marky000

    marky000 New Member

    Joined:
    Aug 23, 2014
    Messages:
    19
    Balance:
    306Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    Arduino
    Can you be more specific? I have had a look in Game Engine before but I have not seen something referred to as the Tuning Window. I only know of the Output testing window with the sliders which did not work for me.
  9. prilad

    prilad Well-Known Member SimAxe Beta Tester SimTools Developer

    Joined:
    Apr 29, 2012
    Messages:
    380
    Location:
    Dubna, Russia
    Balance:
    9,612Coins
    Ratings:
    +512 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 4DOF
    Hi, @marky000 . Let me briefly instruct you on the work of the simulator.

    "Data flow" from game to motors is..
    1 - SimTools with specific plugin extracts motion data from your favorite game.
    2 - SimTools recalculated "motion raw" data into "axis" data and sends it to motion controller ( SimAxe, Arduino, JRK ets.)
    3 - Motion controller receives data and makes control values for motors.

    Very important thing - motion controller should understood format data are sent from SimTools.
    If you use Arduino as motion controller, you should upload to arduino special "sketch" which can receive and decode data packet from SimTools.
    You can found an example of sketch there:
    http://www.xsimulator.net/community/marketplace/arduino-code-2dof-and-2-pins-direction-hbridge.67/
    Moreover sketch must be configured so that the desired signals received on the appropriate controller's pins.

    Regards,
    prilad.
    • Like Like x 1
    • Informative Informative x 1
  10. marky000

    marky000 New Member

    Joined:
    Aug 23, 2014
    Messages:
    19
    Balance:
    306Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks for explaining.

    Am I right in say that "motion raw" = DOF?

    Just so I am getting the terminolgy right here.
  11. prilad

    prilad Well-Known Member SimAxe Beta Tester SimTools Developer

    Joined:
    Apr 29, 2012
    Messages:
    380
    Location:
    Dubna, Russia
    Balance:
    9,612Coins
    Ratings:
    +512 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 4DOF
    • Like Like x 1
  12. marky000

    marky000 New Member

    Joined:
    Aug 23, 2014
    Messages:
    19
    Balance:
    306Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    Arduino
    From Wikipedia:

    Six degrees of freedom
    The motion of a ship at sea has the six degrees of freedom of a rigid body, and is described as:[2]

    Translation:

    1. Moving up and down (heaving);
    2. Moving left and right (swaying);
    3. Moving forward and backward (surging);
    Rotation

    1. Tilts forward and backward (pitching);
    2. Swivels left and right (yawing);
    3. Pivots side to side (rolling).

    So I guess I was right :) DOF = Motion Raw Data