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

output data from Simtool can not has stabilization

Discussion in 'LFS - Live For Speed' started by Thaodang, Jun 22, 2023.

  1. Thaodang

    Thaodang New Member

    Joined:
    Aug 26, 2022
    Messages:
    8
    Balance:
    18Coins
    Ratings:
    +0 / 0 / -0
    Dear Everyone,
    I already used simtool with demo 2.4 version for testing LiveForSpeed game with some configuration as below:
    upload_2023-6-22_9-10-52.png

    I want to send data packet with 24 bytes from simtool to my application by ethernet as below:

    upload_2023-6-22_9-11-21.png
    When I use wireshark for capturation data length from simtool, it is wrong data length as below image.

    It is 23 bytes, sometime is 24 bytes. I don't know the reason why lost output data from simtool.
    upload_2023-6-22_9-12-9.png

    Could someone help me for making configuration right? From that, output data from simtool is 24 bytes right ?

    I will buy license Simtool and game plugin when I use better than with demo LFS game.

    Thank you so much!
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,862
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,009Coins
    Ratings:
    +10,845 / 53 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please grab a copy of the SimTools manual and keep it handy for reference: https://www.xsimulator.net/community/faq/rtfm-start-with-the-official-simtools-documentation.117/

    Then see the FAQ SimTools section: https://www.xsimulator.net/community/faq/simtools-settings-tips-and-tricks.18/category

    In particular note that total axis assignment should be around 100% today, not 100% per axis: https://www.xsimulator.net/community/faq/axis-assignment-percentage-totals.120/

    Also note LFS must be run before patching it for motion: https://www.xsimulator.net/communit...run-in-first-person-mode-before-patching.365/

    Then see the FAQ tuning tips: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/
  3. Thaodang

    Thaodang New Member

    Joined:
    Aug 26, 2022
    Messages:
    8
    Balance:
    18Coins
    Ratings:
    +0 / 0 / -0
    Thank you for your sugesttion. I saw some link guildeline above, but I can not see information that I need.

    I already maked connection between Simtool and LiveForSpeed game successfully. Game's motion data already had in Virtual Axis of Simtool's output Testing.

    However, I received motion data wrong ,when I capture data packet from Simtool. I gest that I make configure wrong. I mean, data length is right of 24 bytes, but I only received 23 bytes when I capture data in wireshark.

    Could someone help me how to have configure right ?

    Thank you

    please see step by step that I have detail method:
    step 1: Setup 6 Asix (Asix1a. .. Axis6a) as below
    upload_2023-6-22_16-32-37.png
    step2: setup configuration ethernet for receiving 6 Axises (example: Axis1a is float 4 byte) as below
    upload_2023-6-22_16-33-1.png
    step 3: Run Game and capture data packet by wireshark tool.
    upload_2023-6-22_16-33-38.png
  4. Thaodang

    Thaodang New Member

    Joined:
    Aug 26, 2022
    Messages:
    8
    Balance:
    18Coins
    Ratings:
    +0 / 0 / -0
    Dear,

    Could someone help me , please ?
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,862
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,009Coins
    Ratings:
    +10,845 / 53 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    @yobuddy may be able to advise re bytes, but the more fundamental issue is likely to be what I outlined in terms of misconfiguration issues.
  6. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    Send the data as 'binary' to have a stable output for length.
    When sending as decimal, The length can change quite a lot.
    If one of the values of an axis is "1" the length is one, where if its a "239" its a 3.
    But if you send the data as binary, you will get 2 chars for each axis or 12 chars for output.
    Give it a try buddy.
    Take care,
    yobuddy
    • Informative Informative x 1