# Can't get data from second imu

Source: https://forum.modalai.com/topic/3382/can-t-get-data-from-second-imu
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2-mini
Posted: 2024-04-30 22:07:01 UTC by mkriesel
Replies: 5 · Views: 1042

## mkriesel · 2024-04-30 22:07:01 UTC

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.

## Reply by Eric Katzfey (ModalAI staff) · 2024-04-30 23:00:20 UTC

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

## Reply by mkriesel · 2024-04-30 23:32:03 UTC (in reply to Eric Katzfey)

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

## Reply by Eric Katzfey (ModalAI staff) · 2024-05-01 15:35:23 UTC (in reply to mkriesel)

@mkriesel The PX4 IMU data is only available in PX4

## Reply by Eric Katzfey (ModalAI staff) · 2024-05-01 15:36:00 UTC (in reply to mkriesel)

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

## Reply by mkriesel · 2024-05-01 18:03:31 UTC (in reply to Eric Katzfey)

@Eric-Katzfey ok, thank you
