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

Filters for G-seats

Discussion in 'DIY Motion Simulator Projects' started by SimPotato, Apr 27, 2018.

  1. SimPotato

    SimPotato Member

    Joined:
    May 17, 2017
    Messages:
    47
    Occupation:
    Designer
    Location:
    Gardiner, NY USA
    Balance:
    479Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Is there any way to filter simtools to do the following:

    Filter only DOF3(sway) keeping DOF1(surge) And DOF2 (heave) unfiltered.

    Making Axis 1 to output only negative and Axis 2 to output only Positive??

    Lets say a take a left curve:
    I want the right flaps (Axis 2 Dof3) to rise
    and
    the left flaps (Axis 1 Dof 3) to remain flat and not to depress.

    ww2.jpg IMG_0990.JPG
    Last edited: Apr 28, 2018
  2. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    552
    Location:
    Germany
    Balance:
    4,212Coins
    Ratings:
    +594 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    I don't know if you can achieve this via SimTools settings, but it is definitely possible with some adjustments of your Arduino code.
    Have a look at this code provided by @Spit40.
    If you only want the filter for sway and not for surge, you will have to do some more modifications on this code.
    For example, you could define separate axis for sway and surge, which are both triggering the same servos, but the one with the filter applied and the other without.
    • Informative Informative x 1
  3. early_m

    early_m Active Member

    Joined:
    Jul 28, 2016
    Messages:
    317
    Location:
    Chelmsford
    Balance:
    818Coins
    Ratings:
    +340 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I achieved this using @Spit40 's ard code. Not currently achievable through simtools.
    • Like Like x 1
  4. SimPotato

    SimPotato Member

    Joined:
    May 17, 2017
    Messages:
    47
    Occupation:
    Designer
    Location:
    Gardiner, NY USA
    Balance:
    479Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Thanks, those codes are for servos, but I'm running 200w 12v dc motors on a 2x30 sabertooth with SMC3.
    I think the solution lies somewhere in the configuration on the simtools game engine.
  5. SimPotato

    SimPotato Member

    Joined:
    May 17, 2017
    Messages:
    47
    Occupation:
    Designer
    Location:
    Gardiner, NY USA
    Balance:
    479Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    These two pictures will help visualize the challenge.... Untitled-1.jpg 1.jpg
  6. SimPotato

    SimPotato Member

    Joined:
    May 17, 2017
    Messages:
    47
    Occupation:
    Designer
    Location:
    Gardiner, NY USA
    Balance:
    479Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    I think I have a solution in theory!
    The key relies in the plugin!
    You create a clone of " let's say the asseto corsa plugin" and you modify it.
    You make the Extra 3 telemetry a clone of the SWAY telemetry.
    Now you have two independent telemetry channels for Sway.
    Then you go into the Tuning center and set the game limits for your original Sway Max 10 and Min 0
    Then you set the limits for your Extra3(now your sway2) to Max 0 and Min -10.
    Does This Make any sense? or is it even possible?
  7. SimPotato

    SimPotato Member

    Joined:
    May 17, 2017
    Messages:
    47
    Occupation:
    Designer
    Location:
    Gardiner, NY USA
    Balance:
    479Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Thanks to Value 1
    Here is AC plugin with
    Extra2 is +Sway and Extra3 is +Sway.
    Adjust the settings in TuningCentre first!

    Attached Files:

    • Like Like x 2
  8. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,133
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    47,913Coins
    Ratings:
    +5,027 / 16 / -0
    Hi Guys,
    We should be able to do this without modified plugins like this. :cheers
    First Game Engine needs to be in "Expert" mode, this gives us separate Min/Max files for both (a) and (b) Axis Assignments.
    Then setup you axis assignments like this.

    Notice this is the - (a) Axis Assignments.
    upload_2019-12-26_14-17-3.png

    Notice this is the - (b) Axis Assignments.
    upload_2019-12-26_14-18-3.png

    Then in Tuning Center, make sure both sets of Min/Max settings for (a) & (b) Axis assignments are the same, except for sway.
    For (a) Axis Assignment use a sway like this.
    upload_2019-12-26_14-21-16.png

    And for (b) Axis Assignments use a sway like this.
    upload_2019-12-26_14-22-51.png

    What you have essentially done here is turn off sway in one direction for each axis (the 0 turns them off in that direction.)
    Now all you have to do is change your interface output.
    Wherever you are using <Axis2a> Change it to <Axis2b>.

    With this example above, all game plugins should be usable without modification.
    If anything in the example needs more explaining, let me know!
    Take care, :thumbs
    yobuddy
    • Like Like x 2
    • Informative Informative x 2
  9. SimPotato

    SimPotato Member

    Joined:
    May 17, 2017
    Messages:
    47
    Occupation:
    Designer
    Location:
    Gardiner, NY USA
    Balance:
    479Coins
    Ratings:
    +53 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Yobuddy, You are the best! Thanks. I had the old Simtools w/out expert mo0de.. I'm getting the new one
    • Like Like x 1
  10. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,233
    Location:
    Marseille - FRANCE
    Balance:
    20,876Coins
    Ratings:
    +2,079 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    • Like Like x 1