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

FlyPT Mover

Discussion in 'FlyPt Mover' started by pmvcda, May 30, 2019.

  1. hexpod

    hexpod http://heXpod.xyz

    Joined:
    Apr 18, 2016
    Messages:
    1,185
    Location:
    berlin
    Balance:
    7,636Coins
    Ratings:
    +369 / 5 / -0
    My Motion Simulator:
    DC motor, 6DOF
    @pmvcda Still thinking... maybe there is a simple way to detect the screen area and place the main mover window on screen 1 only if there is a mismatch ?
  2. johnnhyzuo

    johnnhyzuo New Member

    Joined:
    Apr 30, 2021
    Messages:
    3
    Balance:
    50Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, 4DOF, 6DOF
    I found in yaw that I forgot to write the spike filter. Now it has been resolved. Thank you for providing such a good program.
  3. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,115
    Location:
    Portugal
    Balance:
    15,011Coins
    Ratings:
    +2,510 / 17 / -0
    My Motion Simulator:
    6DOF
    I'm traveling today, I will help you later.
    Can you send me the setup. Would like to see the full "picture".
    You can also share it in Mover 3.5.0.
    • Friendly Friendly x 1
  4. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,115
    Location:
    Portugal
    Balance:
    15,011Coins
    Ratings:
    +2,510 / 17 / -0
    My Motion Simulator:
    6DOF
    I already have 3.5.1 in the works.
    I'm now storing the position.
    I check for the full desktop area limits and force all windows to stay inside those.
    So even if your setup is beyond the desktop of another user, he will always have access to it when opening the setup.
  5. Skuldi

    Skuldi Member Gold Contributor

    Joined:
    Aug 16, 2020
    Messages:
    53
    Location:
    Germany NRW
    Balance:
    265Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    ok, did some more testing.
    When i start the game, fly pt load the right profile. But when i start in air and land or when i start on ground and take off, fly pt does not change to the other profile.

    I wanted to mix shooting strength in pitch for some nice recoil effect but there is a random spike every 10 second when i do not us the guns.

    Windsim works nice with speed and i love the "pose from RPM" funktion :D
  6. daz_bike

    daz_bike New Member

    Joined:
    Aug 15, 2021
    Messages:
    5
    Balance:
    - 25Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    3DOF
    Fairly new to FlyPT. I find that my actuators are moving very slowly and not able to keep up with pitch on the inclines and declines of tracks.

    Brands Hatch for example, the big dip after the finish line. It slowly pitches down for the decline but isn't fast enough to react to the change to the incline making it feel flat.

    I have a 3 DOF SFX-150 using a Thanos controller. My actuators are rated for something like 250mm/sec, so they should be moving much quicker. Using SRS software they move much quicker.

    How do do I set or control the speed of the actuators in FlyPT? Thanks for any help.
  7. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Hello

    Mr Nag here haha. I see there is a new source for AOA in the game but sadly nothing in the DCS world source yet. I have made a workaround for it so i use the export to put AOA into canopy instead so i can use that but given that we have custom hooks. Is there an easy way for me to add things into the export and get that with the UDP hook? There's so much i'd like to add.

    Added a local aoa and put that in place of canopy

    Code:
    function FlyPT_Mover_Callbacks.onSimulationFrame()
    
        local acceleration = Export.LoGetAccelerationUnits()
        local speed = Export.LoGetVectorVelocity()
        local pitch, roll, yaw = Export.LoGetADIPitchBankYaw()
        local rotationSpeed = Export.LoGetAngularVelocity()
        local altitude = Export.LoGetAltitudeAboveGroundLevel()
        local aoa = Export.LoGetAngleOfAttack() -- added AOA
        local o = Export.LoGetSelfData()
    
    
    Code:
        aoa,            -- 21 = Canopy open (%)  Using the canopy for aoa 
    
  8. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,115
    Location:
    Portugal
    Balance:
    15,011Coins
    Ratings:
    +2,510 / 17 / -0
    My Motion Simulator:
    6DOF
    I will add it in 3.5.1
    But, you can use the custom udp
    In the Lua file set the data you want
    Usually each value is a single/float with 4 bytes.
    Set the custom udp with the values you want to get. Position is given in bytes.
    • Informative Informative x 1
  9. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,115
    Location:
    Portugal
    Balance:
    15,011Coins
    Ratings:
    +2,510 / 17 / -0
    My Motion Simulator:
    6DOF
    Send me your setup.
    If you use high values in the low pass filters, you get lag as a secondary effect.
    Maybe you could try to use the butterworth filter instead of Ema. It has a faster response
  10. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,115
    Location:
    Portugal
    Balance:
    15,011Coins
    Ratings:
    +2,510 / 17 / -0
    My Motion Simulator:
    6DOF

    Do you have a link where we have all the values for DCS?
    And by aircraft?
    I would like to have them all in Mover.
  11. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Am afraid apart from the default export.lua i havent been able to find much if any good info. If it exists it seems really difficult to find.

    Mainly i would look to mods/aircraft/YOUR_ACFT/Cockpit/Scripts", especially "clickabledata.lua", "mainpanel_init.lua" and "devices.lua".

    And perhaps you can get some insight from Simshaker.lua He does all this.

    simshaker.png

    Attached Files:

    • Like Like x 1
    Last edited: Aug 15, 2021
  12. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    If i understand this correctly

    Add Local in Export. lua

    Add another %.4f and that would be nr 24
    Add AOA -- 24

    Then set this to 24? No clue on this one but it should be each 4 or each 8?

    I havent been able to get any data so far. Also im assuming it does not matter if i export from the DCS to the Custom, it will get all exported data?

    MoverUDP.png
    Last edited: Aug 15, 2021
  13. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,115
    Location:
    Portugal
    Balance:
    15,011Coins
    Ratings:
    +2,510 / 17 / -0
    My Motion Simulator:
    6DOF
    To use this, you need to set all the values on the custom UDP.
    Wait some time and I will post a new build with AOA.
  14. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Thanks but i'd rather learn so i can set things up so i can do this if i need it in the future too.

    My main issue is that i dont actually know what offset byte to set in so if you can help me out on that one and give a small example then im sure i can figure things out.

    If each is a float and is a 4 digit + decimal nr with xxxx.xxxx and a space then i was thinking 9 18 27 and so on but i cant get all the numbers then it just wont connect if i go higher. I do get some values here and there but it seems to not work right and i can never get any of type float, only ints.


    Code:
        socket.try(DCSClient:send(
        --               00   01   02   03   04   05   06   07   08   09   10   11   12   13   14   15   16   17   18   19   20   21   22   23
        string.format("%.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f",
    [/]
  15. Rainman@121

    Rainman@121 New Member Gold Contributor

    Joined:
    Jul 2, 2021
    Messages:
    3
    Balance:
    - 30Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Hello - I like to start by saying your work is brilliant! I'm fully functional with FS2020, DCS, X-Plane, and a couple of car sims as well. I just installed your latest release and was hoping that the bug with FS2020 SimConnect and Directs/Transducers was resolved. I'm not sure that you're aware of them yet so I've uploaded a couple of photos for reference. I have to reselect both air and ground every time I start the software due to the source name only showing "SimConnect" not "SimConnect - Air" or ground like it does for the Poses. Any help would be greatly appreciated.

    Attached Files:

    • Informative Informative x 1
  16. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,115
    Location:
    Portugal
    Balance:
    15,011Coins
    Ratings:
    +2,510 / 17 / -0
    My Motion Simulator:
    6DOF
    @Trigen,

    Here's an example:
    upload_2021-8-16_9-37-6.png

    This for a lua script where you put the values in that order.
    Notice, that since each value is a float (4 bytes), we get the values at 4 bytes interval.

    You can make an air and ground source also.
    If you differentiate them in the lua, you coud do something like:
    upload_2021-8-16_9-39-53.png
    Notice the source #1 and #2.
    And in the pose they show like:
    upload_2021-8-16_9-41-1.png

    If you want to, you can set a filter for each value.
    With UDP, you can access data only once.
    So if you want to use just AOA in this source, you have to output AOA in a different port (in the lua script) and get it through the custom UDP source, while you keep the other port for the current values.
    • Winner Winner x 1
  17. Marco Annunziata

    Marco Annunziata Member Gold Contributor

    Joined:
    Dec 2, 2019
    Messages:
    116
    Balance:
    844Coins
    Ratings:
    +17 / 0 / -0
    My Motion Simulator:
    DC motor, Motion platform, 6DOF
    I believe to have found the issue, it's just a parameter on the mover.
  18. Trigen

    Trigen Active Member

    Joined:
    Nov 25, 2018
    Messages:
    484
    Balance:
    2,872Coins
    Ratings:
    +178 / 1 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Appreciate the example. Cheers. I know im getting the data as when i forward to port 4125 to the default DCS source via the custom UDP i get all the values but there's just nothing there in the custom one when set it like this example. Using the included DCS export script fromyou
  19. J-1775

    J-1775 Aviator

    Joined:
    Jan 28, 2014
    Messages:
    172
    Location:
    Switzerland
    Balance:
    1,546Coins
    Ratings:
    +51 / 0 / -0
    My Motion Simulator:
    6DOF
    @pmvcda : Have uploaded a couple of profiles, the first some hours ago, the second just now. Received confirmation, but can't find any of them online. Any ideas? Do you make a manual check?
    upload_2021-8-16_17-12-40.png
  20. J-1775

    J-1775 Aviator

    Joined:
    Jan 28, 2014
    Messages:
    172
    Location:
    Switzerland
    Balance:
    1,546Coins
    Ratings:
    +51 / 0 / -0
    My Motion Simulator:
    6DOF
    Thanks Hannibal, you're right, this looks strange. For my latest version which I today uploaded into the repository I have indeed reduced sway movement quite much. I feel like sway is probably more important in racing profiles than for aircraft. But maybe one day I learn how to use it for aircraft?