Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Quaternion rotation in 3D
Forum Updated to NodeBB v4.3 + New Features

Quaternion rotation in 3D

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 682 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    viniltc
    wrote on last edited by
    #1

    Hi all,

    I've got a IMU sensor. I get quaternion values from the sensor. I'm looking forward to a program to visualize the 3D rotation of the sensor. Any suggestion would be helpful.

    Thanks in advance

    Pl45m4P 1 Reply Last reply
    0
    • V viniltc

      Hi all,

      I've got a IMU sensor. I get quaternion values from the sensor. I'm looking forward to a program to visualize the 3D rotation of the sensor. Any suggestion would be helpful.

      Thanks in advance

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @viniltc said in Quaternion rotation in 3D:

      visualize the 3D rotation of the sensor

      In which way? Just visualize the rotation angles or rotate an actual 3D object in a virtual environment?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      V 1 Reply Last reply
      1
      • Pl45m4P Pl45m4

        @viniltc said in Quaternion rotation in 3D:

        visualize the 3D rotation of the sensor

        In which way? Just visualize the rotation angles or rotate an actual 3D object in a virtual environment?

        V Offline
        V Offline
        viniltc
        wrote on last edited by
        #3

        @Pl45m4
        Hi,
        I need to visualize a 3d object in virtual environment.

        Pl45m4P 1 Reply Last reply
        0
        • V viniltc

          @Pl45m4
          Hi,
          I need to visualize a 3d object in virtual environment.

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on last edited by
          #4

          @viniltc

          You can use Qt3D (C++ or QML) for that.

          You can use just a standard cube (other basic shapes are supported) or you could create your own mesh / .obj - file with e.g. Blender and import it.

          Qt3D https://doc.qt.io/qt-5/qt3d-index.html

          Here are some examples https://doc.qt.io/qt-5/qt3d-examples.html.
          I can recommend the ShadowMap QML Example (QML) and the Basic Shape C++ Example

          You can set the transformation by using QQuaternion and your quaternion data directly
          https://doc.qt.io/qt-5/qquaternion.html


          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved