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
vthinsel

F1 2016 UDP Plugin - Manual plugin start 1.0

F1 2016 UDP plugin

  1. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,779 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Perhaps @vthinsel can test for you, as he created the plugin and is the person who can mod the associated values.

    That said if sway actually produces motion then there are two key elements to that, the quality of the data the game supplies and how you tweak your sim for those. I am presuming you actually do have sway output and hence it is the latter to focus on, turn off all other forces axis and tweak sway until it is the best it can be.
    • Like Like x 1
  2. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino

    Dear @noorbeast I turn off all other forces axis, only sway is on, and the movement I get is the same as that of the Surge! (o_O:think) I think the plugin needs to be reviewed.
    At the moment I will play Pcars 2, although I do not like as much as F1, there if everything works well, until hopefully @vthinsel can review the plugin
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,779 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You can change the direction by checking or unchecking the Dir boxes orange, so your sim moves in the correct direction @santanadany.
  4. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    @noorbeast that I know, what I mean is that when braking and accelerating .... not when turning the steering wheel, Surge = Sway , You understand me?

    best regards.
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,779 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I have said from the onset that your settings seem odd: https://www.xsimulator.net/community/threads/f1-2016-udp-plugin.10070/page-2#post-142057

    And in the last posted picture they still were:
    [​IMG]

    [​IMG]

    Can I suggest that you post to your project page, instead of here, and first fix your axis and Dir settings so that they conform to what SimTools expects: https://www.xsimulator.net/community/faq/which-way-to-set-simtool-axis-movements.230/

    Then post pictures of all of your settings and a video that shows the sim movement and game screen at the same time, doing a lap.

    That will make it much easier to assist with troubleshooting.
    Last edited: Oct 15, 2017
  6. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    OK, I have 3 things to show :

    Pcars 2 UDP , 100% working well :
    https://photos.app.goo.gl/rWFsVLEvzsQz4zZM2

    (Question : why does everything work right here? )

    F1 2017 UDP all axis on , don't work correct :
    https://photos.app.goo.gl/bzBOYY4nYfvCUlIo2
    (no Sway correct)

    F1 2017 UDP Only Sway is on, turn off all other force :
    https://photos.app.goo.gl/RaCbZuxDsvGZUZCC2

    (when the brake or throttle is actuated, not when turning , there is no force G to the turn)

    best regards
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,779 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You may think Pcars is 100% working but on a 2DOF your Dir setting cannot possibly be correct, as roll is the opposite of sway but in your settings roll is the same Dir as surge.

    I can only keep repeating myself, you need to fix your Dir settings: https://www.xsimulator.net/community/faq/which-way-to-set-simtool-axis-movements.230/
  8. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    ok, I can change, roll

    but and the video F1 2017 UDP only with Sway?
  9. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    ok, I changed it, the PCArs works even better, and the F2017, when I brake now I'm going to the side ... Sway continues to drive when I brake or accelerate.no when I turn :(
    IMG_1830.JPG IMG_6657.JPG
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,779 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I can see there is sway data in the Tuning Center, so it is a question of settings. But unfortunately until the Dir settings are correct it is not really possible to make firm recommendations, as SimTools mixes allocations on the fly and the incorrect Dir setting will have a significant impact.
  11. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    But now Dir settings are correct, and sway working with he acceleration of the car in longitudinal direction [g] , No with acceleration of the car in lateral direction [g], is it possible that the plugin has an error?
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,779 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The plugin is described as potentially buggy, see the early thread history, and also note @yobuddy's advice re clipping.

    If your Dir settings are now correct then a temporary fix is to set the Dir for sway so it behaves correctly and notify @vthinsel so he can check the plugin itself.
  13. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    ok, thanks
  14. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    5,986Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Hello,

    I have checked the plugin, and sway is extracted directly from the UDP playload with no additional calculation.
    Specs here: http://forums.codemasters.com/discussion/46726/d-box-and-udp-telemetry-information/p1


    I have attached to this mail a small zip/exe file which you can start and that will write to a CSV file interesting values.
    This app listens on UDP port 20777. I also included a SPA run with a couple of graphics. (should work with all codemasters game)

    It looks to work : gforcelat is correlated to steering, and gforcelon is correlated to accelerate/brake

    upload_2017-10-17_8-51-58.png
    upload_2017-10-17_8-52-7.png

    upload_2017-10-17_8-54-6.png

    Let me know your thoughts on the values.

    I noticed a nice thread for F1 2017 http://forums.codemasters.com/discussion/53139/f1-2017-d-box-and-udp-output-specification which provides direct values, but as I do not have the game I cant do much right now for F1 2017.

    Attached Files:

    Last edited: Oct 17, 2017
  15. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hello, @vthinsel, thanks for your help, very interesting information, I am travel for my work this week in Lima, Peru, but the weekend at my house I will be able to perform all the tests and send them to you.

    also happens to me the same with the F1 2016, you do not have it?
    Has anyone else had this problem with the simulator in Ps4?


    thanks

    Dany
  16. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    5,986Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Yes I still have F1 2016, and as you can see in the graphs I do have values for sway.
    Once I'm able to get UDP data from F1 2017, I'll make a plugin (I have already started to do blind coding). If you could make it on SPA track it would be great (this is my reference track, with the nice hill climb that demonstrates pitch)
    Vincent
  17. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
  18. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    My system
    myWindows.png
  19. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    5,986Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    The python application to capture UDP you mean ? Strange. Python should work on any PC windows/linux/whatsoever. You installed version 3.x ?
    Output should look like this:

    upload_2017-10-23_9-34-27.png
    upload_2017-10-23_9-33-47.png
  20. santanadany

    santanadany Member

    Joined:
    Aug 30, 2017
    Messages:
    60
    Location:
    Chile
    Balance:
    604Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    yes, 3.7 Version
    python 3.7.png