Gimbal MAVLink Error

Hello, when I try running a gimbal command in my DronecodeSDK C++ program, I get an error as follows:

[xx:xx:xx|Warn ] sending again, retries to do: 3 (205). (mavlink_commands.cpp:242)

This was tested in both SITL, and with the gimbal connected to PIxhawk, with both approaches throwing up the same warning. The gimbal itself is working fine when operated using an RC.

I am trying to find a solution for this. Any help on the matter would be greatly appreciated, thank you in advance!

Can you try with the param MNT_MODE_IN set to MAVLINK_DO_MOUNT (3)?

In theory this should disable RC control over your gimbal and enable MAVLink / SDK control over it.

I know that we should improve the vmount module so that it can deal with both at the same time and will always chose the source which was updated last.