I am trying to send a MAVLink command_long with a command MAV_CMD_GET_MESSAGE_INTERVAL to my pixhawk using dronefleet lib.
I always receive a message ack with a result type "Unsupported".
I must say that I get the "unsupported" result type with any kind of command using a command_long....
My px4 is set to Mavlink V1.
I receive heartbeat, attitude and vfr_hud datas from the px4, that I can read without any problems.
Here is my code :
(trying to get the interval rate of the Attitude message (#30) )
255, // GCS system id
0, // Component Id (0 if we're a ground control system)
What am I doing wrong ? Are the target IDs incorrect? Another problem elsewhere? Do I miss some initialization steps before sending that kind of command to the pixhawk?
Thanks for your help