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
    I’ve smelled it man!
    I know it’s a bit tricky but I am sure you’ll manage
    ;-)
  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
    Crank angular pos. would also be useful for empirical comparison of the 3D model with the reality.

    Don’t go fast, take your time
  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
    It's not tricky, it's a stupid error.
    The cause for this was the idea of showing the 3D view not being affected by scale... So forgot some of the consequences.
    In the new update, it's changing the view. Scale is applied on the translations of the pose transformation.
  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

    Download in first post of this topic

    Well, new version with:

    -Some optimisations
    -Corrected scale
    -Output in mm/º relative to middle travel/angle of actuator
    -Output in mm/º relative to bottom joint of linear actuator or horizontal plane for rotating actuators
    -Output in %

    To select, click the radio button (round check boxes in actuators output)
    Sem nome.jpg
    • Winner Winner x 1
    Last edited: Mar 7, 2019
  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
    That’s helping - thanks
  6. 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
    What is the value 42.0 in this case?

    Attached Files:

    • Like Like x 1
  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
    AHAH...

    Ok new build on the first post...

    Forgot to change signal when actuators work on the opposite side/direction
    Copy/Paste, but no signal changed.
  8. 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
    good!
    we would need the same for bit output plz. (feature needed for sensor attachment freedom)
    you could call it "neg135 - pos246" "pos. 123456" like @Thanos do.

    increasing bit value while moving up for all actuators.
    • Like Like x 1
  9. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,797Coins
    Ratings:
    +3,322 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    • Funny Funny x 3
  10. 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.2
    Download in the first post of this topic as usual.

    -Now with "bit range" output
    -In the rotating rig, it's possible to say what type of output to use:

    Sem nome.jpg

    Output swapped allows us to say, if we want:
    -Output depending on direction of rotation (what we had until now - unchecked)
    -Output increasing if rig goes up (checked)
    • Like Like x 3
  11. 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
    Very good! Thanks.

    Would you consider to implement small repetable loops to test the pid, acceleration, vibration capability and movement accuracy?

    Maybe something similar to what I did already:

    Speed/amplitude/wait time/amount of oscilations, at least on the heave.



    Thanks
    Last edited: Mar 9, 2019
  12. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    959
    Occupation:
    Tech Artist
    Location:
    Quebec, Canada
    Balance:
    7,779Coins
    Ratings:
    +896 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    I just want to say that with version 1.7.2, my rig does not move at all.
    I went back to version 1.6.8 and all is fine.
    I used the 1.6.8 configuration file to update 1.7.2.
    I see the pose slider moving with simtools forces. I see the graphics moving and I see the 3D model move.
    The rig do not move.

    In the 3D model, there was sway in roll and surge in pitch, even though they were not checked. I checked them and unchecked them. The sway and surge were now acting normally.
    • Like Like x 1
  13. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,573
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 39 / -0
    My Motion Simulator:
    AC motor, Motion platform
    Hmm, watch out for feature creep, it can be a killer. Seen this happen with the AMC.
    • Agree Agree x 1
  14. 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
    Sorry,
    can't take a look today.
    But it's strange, because I didn't touch on the serial output... :think
  15. 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
    Is this how you want to use the scale factor?
    fly1.JPG fly2.JPG
    same pose, different arm angle???
    Last edited: Mar 9, 2019
  16. 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
    the scaling factor should concern the real model and not the 3d one. Therefore it should not touch the kinematic but bit output only. Am I right?
  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
    That's just a visualization "problem" .
    Different scale, different angle.
    I'm on the phone, but I will explain it better when I can.
    Hate phones for posting...
  18. 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
    Sure, It’s just a geometrical nonsens. Il you look for consistency you may want to correct it.
  19. 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
    So what do you Want?
    Cosistency between preview angle and real angle
    Or Cosistency between platform positions
    Because to obtain same proportions in one, makes the other one wrong.
    That's no problem for linear, but you see it in rotational.
    Or am I loosing something here?
    Maybe remove scale. That way, there's no problem and it's one less calculation....
  20. 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
    Scaling may not modify the geometry of your 3D model. It has to scale the bit output only.

    What I want is the ability to use the scale factor in order to use my 360 sensors and than see on the 3D model exactly what I see in the reality.

    That’s what I call consistency.

    I said it’s tricky... a bit

    Scaling is scaling kinematic is kinematic.

    You may want to find a way how to split those