Hi everyone,
Hope this is in the right place.
I am attempting to get the SCALED_IMU
and HIGHRES_IMU
MAVLink message from Arducopter 3.6 on a Pixhawk 2. I have implemented the MAVLink libraries in C++, am talking to the Pixhawk via a serial port at 57600 baud (telem1) via MAVLink 1 protocol and have tried a variety of methods to get this message to appear to me but nothing has worked yet.
I was hoping the community would be able to check my sanity and methods, please let me know if I’m missing anything.
-
I’ve tried to to a
mavlink_request_data_stream
withMAV_DATA_STREAM_ALL
set, this get’s me a bunch of messagesRAW_IMU, GPS_RAW_INT, GLOBAL_POSITION_INT, SYSTEM_TIME, SCALED_PRESSURE, ATTITUDE
. However other messages such asSCALED_IMU, HIGHRES_IMU
are not received. -
I’ve tried the new
mavlink_command
method usingMAV_CMD_SET_MESSAGE_INTERVAL
to enableSCALED_IMU
andHIGHRES_IMU
however I get amavlink_command_ack
back withMAV_RESULT
status as 3 = “Unsupported feature”.
For both above methods I have target_system
and target_component
both set to zero as recommend by the Ardupilot docs as a “broadcast” address (aka make everything receiving the messages/commands execute them).
I tried looking through the source code for MavRos and a few other projects which seem to be able to get access to the data in these messages, however wasn’t able to track down any specific tricks to requesting the data from the autopilot. Anything I am missing?
Cheers,
J