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

Actuators move randomly in LFS

Discussion in 'SimTools DIY Version' started by zhangxiaobao, Jun 15, 2015.

  1. zhangxiaobao

    zhangxiaobao New Member

    Joined:
    Mar 25, 2014
    Messages:
    10
    Balance:
    300Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN5, 6DOF
    Hello,

    I'm trying to set up a 2-axis simulator. I have already set up the axes, and in 'output testing' the actuators move correctly. However when I patch LFS and run the game, the actuators seem to move randomly with no resemblance at all to the in-game pitch and roll. I have no idea what's wrong. Can you help me?

    I'm running LFS 0.6H on Windows 8.1. A friend running Windows 7 had the same problem.

    Thanks
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,539
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,052Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You really need to supply more information about what you have and have not done.

    What actuators and control boards is your simulator using?

    For troubleshooting purposes it helps if you post screenshots of all of your settings and a video of the movement you are observing.

    Is the status showing as connected for the game?

    Have you established base settings in the Tuning Center? http://www.xsimulator.net/community/faq/set-base-tuning-motion-values-in-the-tuning-center.122/
  3. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,162
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,171Coins
    Ratings:
    +5,036 / 16 / -0
    I'm guessing that you want to be using sway and surge...
    • Like Like x 1
  4. zhangxiaobao

    zhangxiaobao New Member

    Joined:
    Mar 25, 2014
    Messages:
    10
    Balance:
    300Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN5, 6DOF
    Hello,

    it seems there's a problem with game output. As you can see in the video below, the values seem to fluctuate wildly.

    Last edited: Jun 16, 2015
  5. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,162
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,171Coins
    Ratings:
    +5,036 / 16 / -0
    @zhangxiaobao, You really need to supply more information about what you have and have not done.
    Screenshots of your setup or something...
    yobuddy
    • Agree Agree x 2
  6. zhangxiaobao

    zhangxiaobao New Member

    Joined:
    Mar 25, 2014
    Messages:
    10
    Balance:
    300Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN5, 6DOF
    OK, I actually uploaded two videos earlier, but then I found the game output to be the cause, so I didn't post them. Here they are:




    What I have done:
    installed Simtools, set up interface and axis settings, patched LFS.

    Please let me know if more information is needed.

    Thank you!
  7. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,162
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,171Coins
    Ratings:
    +5,036 / 16 / -0
    First of all, if we are building a 2dof sim, you probably want to use Sway and Surge.
    Next, may I see the max min file for LFS please?
    yobuddy
    • Agree Agree x 1
  8. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,162
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,171Coins
    Ratings:
    +5,036 / 16 / -0
    Also, make sure the axis assignment are the same when you select lfs on the axis assignment page.
    • Agree Agree x 1
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,539
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,052Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I already asked if you had established base settings for the Tuning Center and gave the link on how to do so, but you have not confirmed if you have done so.

    Can you please verify and include screenshots for the Tuning Center.
  10. zhangxiaobao

    zhangxiaobao New Member

    Joined:
    Mar 25, 2014
    Messages:
    10
    Balance:
    300Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN5, 6DOF
    Thank you very much for your help and patience!

    To @yobuddy:
    Yes, but I'm going to build a 6DOF. This setup is just for testing whether the software would work.
    Yes, they are the same when I select LFS.

    To @yobuddy and @noorbeast:
    Yes, I have done that, and I found that the captured min/max value is actually smaller than the default, so I don't think that's the problem.
    Here is a screenshot:
    tuningcenter.jpg
    And I suppose the 'min/max file' is the same thing as this?

    Also, I found that the inputs all go to zero when I select exterior views.
    What might be the problem?

    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,162
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,171Coins
    Ratings:
    +5,036 / 16 / -0
    LFS only outputs data when your in the car, so thats just how the game works.
    The data fluctuates because the car is started, Its just extremely small numbers.
    May I see you axis assignments for LFS, screenshot?
    yobuddy
    • Agree Agree x 1
  12. zhangxiaobao

    zhangxiaobao New Member

    Joined:
    Mar 25, 2014
    Messages:
    10
    Balance:
    300Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN5, 6DOF
    Here's the screenshot:

    lfsaxis.jpg

    I'm sorry, but it's not "small" fluctuations. The output value goes from 0 to 10000000 then to 0. Sometimes it shows "not a number".
  13. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,162
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,171Coins
    Ratings:
    +5,036 / 16 / -0
    I built all of SimTools around LFS, So I know for sure LFS works.
    yobuddy
    • Like Like x 1
  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,539
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,052Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The smaller the min/max the stronger and more sensitive the output.
  15. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Did you try sway and surge? like @yobuddy suggested?
    What actually are the actuators?
  16. zhangxiaobao

    zhangxiaobao New Member

    Joined:
    Mar 25, 2014
    Messages:
    10
    Balance:
    300Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN5, 6DOF
    So, guys, today as I was playing with OutSim and trying to debug this issue, I found a strange thing. For certain values of heading, pitch, roll or other inputs, a wrong value is shown in "Game Data" in "Tuning Center".

    I have absolutely no idea why would this happen. If you're interested here's the script I used to debug (Python 3.4):
    http://pastebin.com/10VNhVwT

    If I run this while running LFS, I expect to see a yaw of 4.27 in "Tuning center", while it shows 3.35966658277133E-37.
    test.jpg

    Can you replicate this behavior?

    Thank you.
  17. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,497Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Hi @zhangxiaobao
    You are aware that outsim outputs the values in world coordinates while these are output in local coordinates in SimTools?
    Before comparing the OutSim output, you must do this mathematical transformation.
    Otherwise I expect the values to be different (OutSim vs SimTools)!
    • Informative Informative x 1
  18. zhangxiaobao

    zhangxiaobao New Member

    Joined:
    Mar 25, 2014
    Messages:
    10
    Balance:
    300Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN5, 6DOF
    Yes I'm aware of that. It seems that OutSim outputs positions, velocities and accelerations in world coordinates, while pitch, roll and heading is local. I have also done the transformation from radian to degree. For some values that I input, the value shown in Tuning center is the same as printed, while for some it's very different(shows a very small or very large number). I found this out by first using random numbers.
  19. zhangxiaobao

    zhangxiaobao New Member

    Joined:
    Mar 25, 2014
    Messages:
    10
    Balance:
    300Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN5, 6DOF
    Yes, I tried that, and it's still not working.
    I don't really know what the actuators are. My friend built and gave them to me. I'm rather illiterate about hardware. They are used only for testing. Quite small, as you can see. But they use the SCN5 interface.
    • Like Like x 2
  20. fzxj520

    fzxj520 Active Member

    Joined:
    May 14, 2015
    Messages:
    176
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    1,341Coins
    Ratings:
    +88 / 1 / -0
    My Motion Simulator:
    2DOF
    • Did you try to use the game to other plug-ins? I also use lfs plug-ins, and as your case. Then I try to download and use the RBR plugin normal output.
    Added:
    • Or Change the language locale to English (
    Last edited: Jun 28, 2015