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

Tutorial 360 degree motion?

Discussion in 'New users start here - FAQ' started by Kasza Robert, Jan 10, 2023.

  1. Kasza Robert

    Kasza Robert New Member Gold Contributor

    Joined:
    Dec 27, 2022
    Messages:
    6
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Hello everyone, I'm new to the forum after searching for projects related to building a flight simulator. Therefore I am working on a 3-axis aerobatic flight simulator with 360 degrees of freedom. The problem I'm facing is that I don't know if the telemetry from simtools can provide me with the information needed to create infinite loops or rolls. Many thanks already for the valuable information found here.
  2. 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,880 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    @yobuddy can explain further as to rotation and SimTools.

    But can you please provide an example or drawing of what you would like to create and why.

    While continuous rotation may seem a good idea there are technical/cost complexities for questionable motion outcomes in terms of exploiting weaknesses in psychological and physiological processing.
  3. Kasza Robert

    Kasza Robert New Member Gold Contributor

    Joined:
    Dec 27, 2022
    Messages:
    6
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Thanks noorbeast for creating the new theard, I didn't know where to ask at first. Regarding the simulator, I will use 3 three-phase motors with harmonicdrive reducers, therefore I had to modify the smc3 code and implement the protocol for brushless motors. For feedback I implemented reading directly from the motor driver, but in the future on the simulator I will use the encoder with which the motor is equipped. Initially, I use 3 miniature CNC motors with the related drivers for the test. For complete 360 degree rotations, I will use rotary contacts without stroke limit. At the moment I have a problem related to the interpretation of simtools data. In Xplane 11 or 12, if I perform an aerobatic loop when reaching the value 90 (ie vertical), if I continue the looping, this value starts to decrease back to the minimum, which reverses the direction of my engine, when it should have continued in the initial direction. My question is, if simtools can provide information for the correct execution of the looping, if yes, it means that I have to find a protocol to implement in the smc3 code that uses this information correctly. I am attaching a few more pictures of the project and the engines I will use.
    Project sim.jpeg Project sim1.jpeg Harmonicdrive motor.jpeg
  4. KydDynoMyte

    KydDynoMyte Fool's Gold Contributor

    Joined:
    Sep 5, 2011
    Messages:
    113
    Location:
    RTP, NC
    Balance:
    64Coins
    Ratings:
    +28 / 2 / -0
    My Motion Simulator:
    3DOF
    I think it depends on the plugin. Like the DCS one you can specify if you want angular rates or Euler angles. On the YawVR I only have 360° available on the Yaw axis. But I imagine the same issues and workarounds we use would translate to pitch and roll too. Most rigs don't have 360° on any axis so most plugins seem to use angular rates so they don't run into the rollover problem. When we convert yaw axis angular rates to fake heading angle data when we need to, if we don't keep 1:1 with the sim you don't notice like you would with pitch and roll. An IMU is no good for a yaw axis because of drift, but I bet it'd work good for keeping track of your pitch and roll orientation accurately. Good luck to you.
  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,199Coins
    Ratings:
    +5,093 / 18 / -0
    Whats needed here is a hardware interface that knows how to roll over is all.
    Usually when you are all the way left say -180 and you get a 180 it will roll the sim all the way right.
    You need a interface that will roll over is all.
    Take care,
    yobuddy
  6. Kasza Robert

    Kasza Robert New Member Gold Contributor

    Joined:
    Dec 27, 2022
    Messages:
    6
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    I understand, thank you very much for the information, I will document myself about this. I have another question, in the tuning center on the pitch domain in xplane 11 and 12 I cannot capture more than +-89.53, I am attaching a picture.
    Image 2023-01-11 at 23.32.29.jpeg
  7. Kasza Robert

    Kasza Robert New Member Gold Contributor

    Joined:
    Dec 27, 2022
    Messages:
    6
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Hello @yobuddy, maybe you can help me with a problem for which I can't find a solution. In the tests when I use simtools, I don't have a linear movement of the motors, therefore I connected a diagnostic interface with an oscilloscope to see exactly where the problem is. while moving the cursor from 100% to -100%, 4 areas appear where the movement is not linear, a phenomenon that disrupts the rotation of the engine back and forth in these areas. I repeated the same test with the SMC utility to be able to make a comparison, and here everything works linearly exactly as it should, including the engine rotation being constant. I attach 2 videos below for example. Any information is very helpful, thanks.
    https://youtube.com/shorts/j3RDT2lqsgY
    https://youtube.com/shorts/DEU7I1ntDAY
  8. 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,199Coins
    Ratings:
    +5,093 / 18 / -0
    Your videos are set to private buddy.
    The output is linear, unless you have set the output to rotational for the axis that is.
    Chat soon,
    yobuddy
  9. Kasza Robert

    Kasza Robert New Member Gold Contributor

    Joined:
    Dec 27, 2022
    Messages:
    6
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    I set the videos on the public. I tried in both variants and linear and rotational but there is no change, I receive the same output signal.
  10. Kasza Robert

    Kasza Robert New Member Gold Contributor

    Joined:
    Dec 27, 2022
    Messages:
    6
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Hello @yobuddy, you managed to view the videos I posted, I made them public. I have exhausted all the settings, but the signal remains unchanged, there are still the 4 areas where the interference can be seen on the oscilloscope.
  11. 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,199Coins
    Ratings:
    +5,093 / 18 / -0
    I can't really tell what you are trying to show me.
    For testing thou, I suggest using Axis output, and not DOF output.
    (As I'm just not sure what your default profile looks like for DOF output testing is all.)

    If you want your simulator to do 360's, then your going to need hardware that knows how to do 360's is all.
    For instance, the smc3 firmware, and most like it, are not setup to do such things.

    The linear vs rotational output is where you want even steps when connecting a rod to a rotational axis.
    It's not to do 360's is all.

    Linear output axis.
    P1010402.JPG

    Rotational output axis
    P1010315.JPG