At the beginning, I want to express that I am facing this issue with Mavsdk version:0.48 and PX4 firmware version: 1.11.0.
I am starting multiple quadrotors on PX4-Sitl-Gazebo via gazebo_multi_vehicle.sh script. Later I am connecting to the autopilots and controlling the vehicles in offboard mode. When I do this with 1 to 4 drones, I do not receive any warning messages. But when I work with more drones, I am constantly receving following messages:
[12:53:32|Info ] heartbeats timed out (system_impl.cpp:268)
[12:53:32|Debug] Discovered 1 component(s) (system_impl.cpp:525)
[12:53:32|Warn ] command denied (512). (mavlink_commands.cpp:179)
[12:53:33|Debug] Falling back to gimbal protocol v1 (mission_impl.cpp:131)
My script remains connected to the autopilot and offboard connection failsafe is not being triggered, but it is still annoying to get so many warning messages.
I am performing following actions in order:
- Takeoff to a specific altitude and wait until takeoff completes
- Start offboard mode
- Command position and heading in 10Hz
- When my mission is completed, I stop offboard mode
- Command land
During these operations I am periodically receiving telemetry messages the autopilot.
Can anyone help me about this issue? Am I doing anything wrong or do you have any suggestion for me? For temporary solution for me to observe my own debug messages, is there any way to suppress the warning messages of MavSDK?