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 How to setup the speed of simtools 3 parking Position using smc3

Discussion in 'SimTools DIY Version' started by Michail, Feb 4, 2024.

  1. Michail

    Michail Member Gold Contributor

    Joined:
    Jan 5, 2022
    Messages:
    160
    Location:
    Germany
    Balance:
    710Coins
    Ratings:
    +26 / 1 / -0
    Hello everyone,

    I'm reaching out to inquire about configuring the speed setting in SimTools v3, particularly for the parking position. Regardless of whether I set it to 1 or 100, it doesn't seem to make any difference.

    Similarly, I'm encountering an issue where the motors snap to a position upon powering on, rather than moving smoothly with a ramp. I'm aiming to achieve the gradual, controlled motion that linear actuators demonstrate in many videos, where they slowly and smoothly move to a mid-position at game startup.

    Additionally, I've noticed that Symdeck promotes this feature for SimTools 3. However, I'm beginning to wonder if this feature is not compatible with the SMC3 and the serial interface plugin?

    Thank you in advance for your assistance.
  2. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,198Coins
    Ratings:
    +5,093 / 18 / -0
    Hi @Michail,
    I can help you with this buddy.
    I think there may be 2 things going on here, one of which will be fixed in the next release.
    First thou, may I see a screen shot of your serial interface settings for SMC3.
    Chat soon!
    yobuddy
    • Like Like x 1
  3. Michail

    Michail Member Gold Contributor

    Joined:
    Jan 5, 2022
    Messages:
    160
    Location:
    Germany
    Balance:
    710Coins
    Ratings:
    +26 / 1 / -0
    Here you go:

    upload_2024-2-5_17-43-0.png


    Soon, I'll need to integrate an additional Arduino Uno because I'm upgrading from a 2DOF with Traction Loss setup to a 4DOF plus Surge system. Should I then alter Interface2 from ABC to DE, or modify Axis1A, Axis2A, Axis3A to Axis4A and Axis5A, or perhaps adjust to Axis1B, Axis2B?

    Thank You
  4. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,198Coins
    Ratings:
    +5,093 / 18 / -0
    Please make these changes.
    upload_2024-2-5_9-31-49.png

    The problem here is the interface settings are centering the sim at startup and shutdown.
    Please make these changes and you should be good to go.
    (and it should work for every instance except after a pc restart, but it will work there too after the next simtools update)
    Chat soon!
    yobuddy
    • Like Like x 1
  5. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,198Coins
    Ratings:
    +5,093 / 18 / -0
    Using Axis4a, Axis5a and Axis6a would probably be the easiest.
    • Like Like x 1
  6. Michail

    Michail Member Gold Contributor

    Joined:
    Jan 5, 2022
    Messages:
    160
    Location:
    Germany
    Balance:
    710Coins
    Ratings:
    +26 / 1 / -0
    Just delete startup and shutdown markups and set ms to zero?

    So my 2. Interface will be only have A<Axis4a>][B<Axis5a>] and the coresponding COM port?
    Do I have to change some code for in SMC3.ino for the other 2 motors?`Or can I use the same code.
  7. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,198Coins
    Ratings:
    +5,093 / 18 / -0
    Yep :thumbs
    SimTools v3 auto centers the sim before and after the game, so we don't need these for v3 is all.

    Yes, A<Axis4a>][B<Axis5a>] and a different com port will work.
    There is no code change needed as interface 2 will use a different com port.
    Take care! :cheers
    yobuddy
    • Like Like x 1
  8. Michail

    Michail Member Gold Contributor

    Joined:
    Jan 5, 2022
    Messages:
    160
    Location:
    Germany
    Balance:
    710Coins
    Ratings:
    +26 / 1 / -0
    Ok it’s working well. Tested as interfaces 1 because, I only tested the new 2 motors as [A<Axis4a>][B<Axis5a>] and if first interface not connected than I get a beep sind when I try to test the Dof. And the parking feature know works too. Thank you.
    • Like Like x 1
  9. Michail

    Michail Member Gold Contributor

    Joined:
    Jan 5, 2022
    Messages:
    160
    Location:
    Germany
    Balance:
    710Coins
    Ratings:
    +26 / 1 / -0
    Hello @yobuddy, I have another question. Can SimTools v3 assign the suspension movement of each wheel to individual motors or SFX100 actuators at each corner? For instance, designating axis 1 for the front left heave, axis 2 for the front right heave, and so forth, similar to how SimHub operates. This way, if the car drives over a curb, the front motors would heave first, followed by the rear ones, with the front descending first and then the rear. Is this possible with SimTools v3?
  10. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,198Coins
    Ratings:
    +5,093 / 18 / -0
    Anything can be added and then outputted from a plugin.
    Seems like your talking about treating the front actuators as a single axis, and the rear actuators as a single axis.
    This makes sense because if you ran the 4 legs separately, you would get hi-legging from at least one leg of the sim.
  11. Michail

    Michail Member Gold Contributor

    Joined:
    Jan 5, 2022
    Messages:
    160
    Location:
    Germany
    Balance:
    710Coins
    Ratings:
    +26 / 1 / -0
    What exactly do you mean by "hi-legging"?

    I'm aiming to configure each axis individually—for example, axis a1 for heave left front, axis a2 for heave right front, and so forth—rather than assigning the same DOF (such as heave) to all axes uniformly.

    Now, within the DOF configuration options, it's possible to specify for each axis the type of DOF it should handle, such as heave, surge, pitch, and roll, including the percentage of influence for each. This means all axes would receive the heave DOF simultaneously, correct?
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,030
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,878Coins
    Ratings:
    +10,879 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    That is the norm for SimTools, as per the manual, which you can download in the FAQs: https://www.xsimulator.net/community/faq/simtools-settings-tips-and-tricks.18/category

    SimTools mixes each allocated axis on the fly.

    There are also tips in the FAQs regarding how to refine a motion profile: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/
    • Agree Agree x 1
  13. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,198Coins
    Ratings:
    +5,093 / 18 / -0
    I meant if we sent a different value to each corner, say the shock position for each corner of the car, then the legs would not move uniformly and one leg would lift off the ground.

    Yes, correct.

    We could try to take the average position of front shocks, and the average position of back shocks assign the output to the front and back actuators. I could see this working.
    • Winner Winner x 1
    Last edited: Feb 20, 2024