ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
10.38k stars 17.01k forks source link

cannot read imu data via mavros #19630

Closed tiralonghipol closed 2 years ago

tiralonghipol commented 2 years ago

Bug report

Issue details no data when subscribing to /mavros/imu/data or /mavros/imu/data_raw

I recently got the iFlight Beast H7 55A AIO and I succesfully flashed ardupilot on it but it seems like I am unable to read data via mavros

Version What version was the issue encountered with

Platform Copter

Airframe type standard quadrotor X

Hardware type iFlight Beast H7 55A AIO

any ideas on how to debug this?

amilcarlucas commented 2 years ago

Why did you choose to not specify the ArduCopter firmware version?

Please update to ArduCopter 4.1.3 and retest, and make sure to use the latest mavros version as well.

And you do need to tell ArduCopter to provide the mavlink IMU messages at the rate that you need them using the SET_MESSAGE_INTERVAL mavlink message. Have you done that? Will your telemetry link have enough datarate to provide you with the mavlink messages at the rate you want them?

tiralonghipol commented 2 years ago

@amilcarlucas Hi, sorry, late reply the firmware version I just flashed via qgc is 4.1.3 what version of mavros you suggest to use to set setpoints and vision fusion?

is this guide still relevant?

amilcarlucas commented 2 years ago

Like I said, the latest one.

yes, that is relevant, that IS the documentation.

khancyr commented 2 years ago

Hello,

Please set the message rate explicitly with mavros : https://ardupilot.org/dev/docs/ros-data-from-ap.html