Can't get data from second imu
-
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.
-
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.
@mkriesel The PX4 IMU data is only available in PX4. While PX4 is running you can issue the commands
px4-listener sensor_accelandpx4-listener sensor_gyroto see the data from the IMU. Also, it is likely available via Mavlink or ROS. -
@mkriesel The PX4 IMU data is only available in PX4. While PX4 is running you can issue the commands
px4-listener sensor_accelandpx4-listener sensor_gyroto see the data from the IMU. Also, it is likely available via Mavlink or ROS.@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-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?
@mkriesel The PX4 IMU data is only available in PX4
-
@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?
@mkriesel You would have to write custom PX4 code to export that data to a pipe
-
@mkriesel You would have to write custom PX4 code to export that data to a pipe
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login