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 6DOF/Stewart/Hexapod Interface for linear and rotating actuators

Discussion in 'FlyPt Mover' started by pmvcda, Jan 2, 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
    No wait I spoked to fast.

    With “Use simtools order” The idea was to use the following mapping right?

    Something is still mixed up. Could you doublecheck it?

    I thought you will modify the dll for that purpose

    65C25D73-521A-484C-B3CB-D2927214A63C.jpeg
  2. 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
    You see the issue?
    48BC570B-D51F-464C-915C-6792A315D1B3.jpeg 1D7645D1-E4C2-47EF-A867-83EC7164695B.jpeg
  3. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,159
    Location:
    Portugal
    Balance:
    15,270Coins
    Ratings:
    +2,534 / 17 / -0
    My Motion Simulator:
    6DOF
    :think:confused: Give me a minute...


    The idea was to also change the order in the interface, so I didn't change the DLL.

    EDIT:
    OK, found the problem.
    When I tested, I think I forgot to change order in SimTools axis assignements.... So there was no error.
    New build on the way.
    Last edited: Mar 14, 2019
  4. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,159
    Location:
    Portugal
    Balance:
    15,270Coins
    Ratings:
    +2,534 / 17 / -0
    My Motion Simulator:
    6DOF
    Version 1.7.6

    Download in first post

    Corrected bug in pose components order...
    Added description in tooltip

    Sem nome.jpg
  5. 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
    Your yaw could be inverted but that’s cosmetic.

    It looks coherent. It seems you nailed it
  6. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,159
    Location:
    Portugal
    Balance:
    15,270Coins
    Ratings:
    +2,534 / 17 / -0
    My Motion Simulator:
    6DOF
    New version in 2 minutes.
    Not the yaw, but picked an old code with auto gain for the actuators...
  7. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,159
    Location:
    Portugal
    Balance:
    15,270Coins
    Ratings:
    +2,534 / 17 / -0
    My Motion Simulator:
    6DOF
    Version 1.7.7

    In the first post...

    -Now we can see the serial data sent without connecting a board.
    -Grabbed an old code that auto tunes the actuators gain. This avoids clipping on the rig.

    It was a first test to look for a complete auto calibration.
    Before auto calibration:
    anotdjusted.jpg


    After:
    adjusted.jpg


    How it works?
    While activated, the auto tune decreases the gain, each time the rig is out of range.
    So to use it, increase gain and press the button.
    Make a lap in a car sim or an air plane without big spikes.
    When you see that there's no more adjustment done in gain, stop the auto adjustment.
    You can now increase the gain a small value, taking into account that the spikes that generated the value are something that occurs sporadically.

    It's not avoiding clip in the pose components (maybe in a next version), but on the complete rig.
    Clipping in the pose components, should be treated with the filters.
  8. C1500

    C1500 Active Member

    Joined:
    Nov 19, 2018
    Messages:
    165
    Location:
    Germany
    Balance:
    1,119Coins
    Ratings:
    +86 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Sorry Still a big problem on my side.

    The working 1.6.8 loks like this:
    FlyPT Hexapod Interface 1.6.8.png

    Here are the not working Versions:
    1.7.5:
    FlyPT Hexapod Interface 1.7.5.png
    Same problem as in 1.7.7, but more red lines ;o)
    FlyPT Hexapod Interface 1.7.7.png

    When i copy my old 1.6.8 in the folder, it works normally.
    But the 1.7.5 and also 1.7.7 the rig is going in lowest position even if the box is not checked.
    No movement also from SimTools.

    Kind regards
    Peer
  9. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,159
    Location:
    Portugal
    Balance:
    15,270Coins
    Ratings:
    +2,534 / 17 / -0
    My Motion Simulator:
    6DOF
    I'm taking a look... but it's strange, not even SimTools?
    Try to run the new version in a different folder and see if you are asked for permission to run it.
    Be sure that there's no setup file in that folder.
  10. C1500

    C1500 Active Member

    Joined:
    Nov 19, 2018
    Messages:
    165
    Location:
    Germany
    Balance:
    1,119Coins
    Ratings:
    +86 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Yes, there is always the question at the first start.
    Also on the 1.6.8, but this one works
    Every time i copy the different versions into the same folder.
    Also in a new folder.
  11. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,159
    Location:
    Portugal
    Balance:
    15,270Coins
    Ratings:
    +2,534 / 17 / -0
    My Motion Simulator:
    6DOF
    OK, from the images I think the problem is on the changes I made to calculations.
    Can you show me the rig measures. I want to reproduce the problem.
    And SimTools, are you able to connect it to the interface?
  12. C1500

    C1500 Active Member

    Joined:
    Nov 19, 2018
    Messages:
    165
    Location:
    Germany
    Balance:
    1,119Coins
    Ratings:
    +86 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    I´ve tried a complete new Folder and Setup and get the same not working result.
    Here are my rig dimensions
    MyRig.png

    Thanks in advance
    • Like Like x 1
  13. C1500

    C1500 Active Member

    Joined:
    Nov 19, 2018
    Messages:
    165
    Location:
    Germany
    Balance:
    1,119Coins
    Ratings:
    +86 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Yes, i can connect to simtool and also control the sliders from simtool:
    SimToolConnection.png
    • Like Like x 1
  14. 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
    If I may interfere again, I think it’s valuable what you are implementing however it should be switchable with a checkbox so the user has the freedom if he wants to use it or not.

    As you managed the kinematic, the scaling and the consistency in the interface which are the basis, everything on the top of it should be an selectable additional feature.
  15. pmvcda

    pmvcda aka FlyPT

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

    It's a checkbox with button style.
    Red=Active
    Normal=Inactive
    I'm correcting an error for @C1500 and I will change the style to traditional checkbox.
    • Like Like x 2
  16. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,159
    Location:
    Portugal
    Balance:
    15,270Coins
    Ratings:
    +2,534 / 17 / -0
    My Motion Simulator:
    6DOF
    Version 1.7.8

    In first post...

    Removed a comment in the code that was allowing angles bigger than 180 or less than -180 (@C1500 problem)
    Changed auto gain to check box classic style
    • Like Like x 1
  17. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    2,159
    Location:
    Portugal
    Balance:
    15,270Coins
    Ratings:
    +2,534 / 17 / -0
    My Motion Simulator:
    6DOF
    @C1500

    You can use the following settings:
    Sem nome.jpg

    If they rotate in the wrong direction, try to check "Output swap swapped"
    • Agree Agree x 1
  18. C1500

    C1500 Active Member

    Joined:
    Nov 19, 2018
    Messages:
    165
    Location:
    Germany
    Balance:
    1,119Coins
    Ratings:
    +86 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Hi FlyPT
    1.7.8 is working great
    Thank´s

    But, "Output swap swapped" is not working for me
    with my settings the "heave" is working good up and down.
    If i use your settings with swapped, the rig turns left and right instead of not up and down.

    Kind regards
    Peer
  19. 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
    Clever idea
  20. C1500

    C1500 Active Member

    Joined:
    Nov 19, 2018
    Messages:
    165
    Location:
    Germany
    Balance:
    1,119Coins
    Ratings:
    +86 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Sorry,
    misunderstanding on my side.
    To swap the swapped swap, swaps it to the right swap. *lol*

    It works great with the checked "Output swap swapped" checkbox

    Thanks and good night ;)
    Peer
    • Funny Funny x 1