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

Request (Feature) Game Pause, Drop rig down to lowest Heave limit

Discussion in 'SimTools DIY Version' started by Murdoc, Feb 3, 2020.

  1. Murdoc

    Murdoc New Member

    Joined:
    Sep 9, 2014
    Messages:
    9
    Location:
    Boksburg, Gauteng
    Balance:
    - 204Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Hi All,

    I have a feature request, not sure if it is just me or if there are others who may have this problem too.

    I have a 6dof Rotational Stewart Platform rig, using 600W 12V DC brushed motors, with 50:1 wormgear gearboxes, and Sabertooth 2x60 drivers, with Arduino SMC3 interfaces.

    When paused in a game menu such as Assetto Corsa, the motors are holding up the entire rig in a stationary position, and the brushes in the motors get quite hot. I have made major modifications to the motors to add active cooling which helped a lot, however when stationary the brushes do get quite warm.

    I have tried setting deadzones in the SMC3 software, and while this does solve the problem somewhat, the resolution of the movement is heavily affected and quite noticeable.

    Long story short, here is my question:

    Is there a way to implement that, when Simtools does not receive any telemetry, or receives telemetry which does not change (with hysteresis setting) for a certain time period (like 5 seconds maybe), for it to then level out the platform, and lower the heave all the way to the lower axis limits?

    In a rotational 6dof rig, this should in most cases then require zero correction from the motors and thus allow for a "cooldown" of sorts.

    Thanks for listeneing, and thanks for the awesome software!

    Cheers
  2. Murdoc

    Murdoc New Member

    Joined:
    Sep 9, 2014
    Messages:
    9
    Location:
    Boksburg, Gauteng
    Balance:
    - 204Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Just to add: It will also help to get in and out of a rig which is already tall to begin with .

    Thanks
  3. Murdoc

    Murdoc New Member

    Joined:
    Sep 9, 2014
    Messages:
    9
    Location:
    Boksburg, Gauteng
    Balance:
    - 204Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Lol ok I guess I'm alone in this one :)
  4. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,162
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,173Coins
    Ratings:
    +5,037 / 16 / -0
    The soft centering was written in a way, that we can add a "home position" later
    So this is planed for a future release.

    Although, it sorta makes sense to center during a game pause or in menus and only park the sim at game end.
    Maybe we could have a few options thou.
    Take care,
    yobuddy
    • Like Like x 1
    • Informative Informative x 1
  5. Murdoc

    Murdoc New Member

    Joined:
    Sep 9, 2014
    Messages:
    9
    Location:
    Boksburg, Gauteng
    Balance:
    - 204Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Thanks for the reply, and thanks for the good coding which allows for this!
    It would be quite nice, also because when i switch the power off to my rig while still sitting in it, it might fall to one side and let the motors go past their set limits, which then means i have to go back to the SMCutils for each controller and set the limits higher, enable the motors, then set my limits back again.

    If it "parks" at the bottom, then this cannot happen which would allow me to disconnect the power before exiting.

    Cheers!
  6. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,574
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 38 / -0
    My Motion Simulator:
    AC motor, Motion platform
    Maybe I am reading this wrong, but how is changing the height of your rig going to change how the motors are driven? Unless they are sitting at the bottom stops of the actuator (which they are likely not) then they still will be supporting the weight of your rig. Also when SMC3 is not receiving data, it still has to control/drive the motors to ensure they do not move off station independent to Simtools. You could also add code to SMC3 driven simply by a switch interrupt in the cockpit to park the actuators at a chosen (in code) height.
    • Like Like x 1
  7. Murdoc

    Murdoc New Member

    Joined:
    Sep 9, 2014
    Messages:
    9
    Location:
    Boksburg, Gauteng
    Balance:
    - 204Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Ok, so let me try and explain a bit better.
    If the rig is in its center position, the cranks on the worm gearboxes are half way in their "stroke".
    When you remove power to the rig, which includes the Sabertooth drivers, then there is nothing holding the cranks (and the rig) in their position anymore.
    Because of the height of center position above the lowest position, the rig starts moving down and accelerates past the motor limit set in SMC3.
    If the rig was way lower before powering off, chances are that this would not happen.

    I could set the motor limits lower i guess, but this causes simtools to change the "scale" as well, and results in having way smaller numbers under the axis assignments.

    Granted this only happens when I am seated in the rig, and lean over to hit the power switch, so this might be very specific to my case.

    Maybe I'm doing this all wrong though... Perhaps I should remove the limits completely in SMC3, and only set the axis limits in Simtools? I'll try this...

    Thanks for the suggestion on the custom code on SMC3, I didn't even think of this. I could let an interrupt ignore incoming data and move to a preset location instead. I might end up doing this, thanks!

    This is the rig more or less:

    [​IMG]


    This is the lowest position, motor limits are set to some distance past this though:

    [​IMG]

    This is what happens when seated in the rig and power is disconnected (motors go way past set limits in SMC):



    Thanks everyone
  8. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,162
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,173Coins
    Ratings:
    +5,037 / 16 / -0
    I believe this should actually be the lowest position possible.
    And the max length should be 180deg opposite this location.
    Instead of the strait down to strait up location its set to now.
    I hope this makes sense?

    Either way thou, parking location is in the works to be included in the future.
    Take care,
    yobuddy
  9. Murdoc

    Murdoc New Member

    Joined:
    Sep 9, 2014
    Messages:
    9
    Location:
    Boksburg, Gauteng
    Balance:
    - 204Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Yes I agree that's where the lowest should be, however there was a reason why I set it up like that. I can't remember what that reason was though! Top most position is 180 opposite of what the video's extreme lowest position is. Guess I'll relook at that soon.

    I've in the meantime removed the motor limits in SMC3 completely and set axis limits of 75% in Simtools instead.
    Same range of motion I had previously, still wondering why I didn't do it like this in the first place. (I have a bad memory)

    Thanks again for your efforts
    • Like Like x 1