ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Can't get data from second imu

    VOXL 2 Mini
    2
    6
    254
    Loading More Posts
    • 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.
    • M
      mkriesel
      last edited by

      Hi, I have a voxl 2 mini on sdk version 1.1.2 and I want to be able to read data off of both imus however I can only get data off of one of the imus, imu_apps. According to the documentation https://docs.modalai.com/voxl2-mini-onboard-sensors/#imus the other imu is imu_px4 but it shows up blank in voxl-inspect-imu imu_px4. I've tried starting px4 and px4-imu-server to fix this but it didn't seem to help. What am I missing to access the second imu. Thanks.

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @mkriesel
        last edited by

        @mkriesel The PX4 IMU data is only available in PX4. While PX4 is running you can issue the commands px4-listener sensor_accel and px4-listener sensor_gyro to see the data from the IMU. Also, it is likely available via Mavlink or ROS.

        M 1 Reply Last reply Reply Quote 0
        • M
          mkriesel @Eric Katzfey
          last edited by

          @Eric-Katzfey I don't see anything being published in ros and it doesn't seem like anything is being sent on the /run/mpa/imu_px4 pipe. I would like to be able to use both imus in a program I'm writing so is there a way to get the data out like imu_apps and outside of px4 or is px4 the only thing that can use that imu?

          Eric KatzfeyE 2 Replies Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @mkriesel
            last edited by

            @mkriesel The PX4 IMU data is only available in PX4

            1 Reply Last reply Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @mkriesel
              last edited by

              @mkriesel You would have to write custom PX4 code to export that data to a pipe

              M 1 Reply Last reply Reply Quote 0
              • M
                mkriesel @Eric Katzfey
                last edited by

                @Eric-Katzfey ok, thank you

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB | Contributors