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

Question doubbling Surge Channel ?

Discussion in 'DIY Motion Simulator Projects' started by sci666, Jul 5, 2023.

  1. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    is there a possibility to add a 7th channel to a 6 DOF configuration with an additional "surge"

    i plan to use the additional channel as a seatbelt tensioner channel - so for braking it should tighten the belt.

    Very best :thumbs
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I am presuming it has its own controller in which case you can use the b axis, so in Interface Settings <Axis1b> then in Axis Assignments use the (b) Axis Assignments tab and configure it to surge.
    • Like Like x 1
  3. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    yes. own controller and everything completely independent to the rest of the 6 motors.... i will check the A and B axis thing. many thanks
  4. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    additional question... if i want to use b axis for traction loss as well i have to add the B axis also to the A Axis motors ? how i have to change the value ?[​IMG]

    add [A<Axis1b>][B<Axis2b>] ???!


    i testet it with [A<Axis1a>][B<Axis2a>][A<Axis1b>][B<Axis2b>] and so on ...but it doesnt work ....seems thet the a and b axis interferes with each other and the sim makes terrible noises and shackes like hell ...
    Last edited: Jul 6, 2023
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    See pages 27 and 41 of the SimTools manual: https://www.xsimulator.net/community/faq/rtfm-start-with-the-official-simtools-documentation.117/

    Each hardware interface has to be configured and assigned, there are 6 slots available, then a and b are separated Interface Type dedicated hardware, not mixed:
    interface.jpg

    Then and Axis Assignment can be made using the (a) and (b) tabs in axis assignments:
    AxisAssignemnts.jpg
    • Like Like x 1
  6. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    yes, got it but doesnt semm to work .... i have 3 interfaces in use now, for the 6DOF, each channel 2 motors .... for the planned belt tensioner i want to use channel 4 ..so that is no problem ....

    what i wanna do in addition is to use Extra1 (for traktion oss) so i have to configure a "7th DOF" with a similar yaw setting for the traktion loss- but therefore i have also to use axis b, right because i have only 6 DOFs in the configuration screen for axis "a" .... soo how can i achieve that ? i have to add configurations for axis"b" for the motors which already use axis a. and if i do that as mentioned above the sim goes nuts :/

    is it explained good or should i add some screenshots ?:oops:
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Yes please provide pictures of all settings.
  8. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    ok thanks i have to do it later because all the stuff is on my simrig PC
  9. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    here we go:
    interface 1 to 3 settings here i would add [A<Axis1b>][B<Axis2b>] ?!?!?!?! or is it C...D.... ?
    [​IMG]
    [​IMG][​IMG]

    and here we got the DOF Settings for Axis A:

    DOF1 to 3
    [​IMG]
    Dof 4 to 6:

    [​IMG]
    (Axis 6a for yaw should also be 30 ;D)

    and Axis B for the Extra 1 which is Yaw (Copy of Dof 4 in my case, right ? )
    [​IMG]
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    In your Interface 1-3 you have the controllers for your 6 axis. The controller for the harness, and by the looks of it, traction loss (Extra1) should go on Interface 4 and be [A<Axis1b>][B<Axis2b>]
  11. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    So i can add the 4th channel to the same com port as another channel?
  12. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Oh I think we got something wrong.... To yaw the rig for traction loss I need All 6 Motors so I have to add channel 4, 5 and 6 with axis b, right? It's so confusing
  13. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    No, each controller needs its own assigned port.
  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,571Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Yaw is one of the 6 axis, you already had those set up.

    Traction loss is a different physical axis, with a physical pivot point near your feet. What is the physical design of your rig, please post pictures
  15. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    [​IMG]
    Ok. I know that, but I thought that traction loss can be "simulated" with a similar setting like yaw and add this as extra1 or do I dont need it, because the sim uses already yaw for this movement?
  16. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    So Back to Main topic. Traction loss is another one I take care later.

    So i doubbled the surge channel with an additional arduino on channel 4. everything works well. But it there a way to cut off All positive movement on the second surge axis but not on the regular?

    I use this channel for the belt tentioner. But I dont want to loosen the belt while accelerating above the neutral position.
  17. sci666

    sci666 Active Member Gold Contributor

    Joined:
    Mar 18, 2021
    Messages:
    186
    Location:
    Germany
    Balance:
    1,146Coins
    Ratings:
    +70 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    it seems there is no Software solution for this so I so it in a mechanical way. I have to redo it in a prettier way
    So this is my belt tentioner Motor : linked with surge of the 6dof rig.
    [​IMG]
  18. GWiz

    GWiz Active Member

    Joined:
    May 12, 2019
    Messages:
    187
    Occupation:
    Dentist
    Location:
    Aberdeenshire, Scotland
    Balance:
    1,504Coins
    Ratings:
    +121 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    You are correct that with your 6 DOF setup, you can have a traction loss effect by moving the rear 2 actuators causing the back to 'slide' side to side. Most plugins use Extra 1 as the channel to setup this effect.

    The easiest way to configure the belt tensioner for surge on deceleration only is to alter the arduino code to output the data accordingly using a map function. It will depend on the code you are using, but something like:


    servoData[0] = map(rawServoData[0], 128, 255, 0, 180); // Map the data to servo i.e. 0, 255, 0, 180 is from bytes 0 to 255 mapped to 0 to 180 degrees

    This works on the assumption that the surge data is from 0 to 255 and that the neutral position is 127 to 128. It ignores anything below this and maps positive surge data to a 180 degree servo so that it will only move with surge one way.
    • Informative Informative x 1