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

    Can't get data from second imu

    VOXL 2 Mini
    2
    6
    315
    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 30 Apr 2024, 22:07

      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.

      E 1 Reply Last reply 30 Apr 2024, 23:00 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @mkriesel
        last edited by 30 Apr 2024, 23:00

        @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 30 Apr 2024, 23:32 Reply Quote 0
        • M
          mkriesel @Eric Katzfey
          last edited by 30 Apr 2024, 23:32

          @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?

          E 2 Replies Last reply 1 May 2024, 15:35 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @mkriesel
            last edited by 1 May 2024, 15:35

            @mkriesel The PX4 IMU data is only available in PX4

            1 Reply Last reply Reply Quote 0
            • E
              Eric Katzfey ModalAI Team @mkriesel
              last edited by 1 May 2024, 15:36

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

              M 1 Reply Last reply 1 May 2024, 18:03 Reply Quote 0
              • M
                mkriesel @Eric Katzfey
                last edited by 1 May 2024, 18:03

                @Eric-Katzfey ok, thank you

                1 Reply Last reply Reply Quote 0
                1 out of 6
                • First post
                  1/6
                  Last post
                Powered by NodeBB | Contributors