mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-29 03:30:48 +08:00
The command sender keeps every outgoing command in a fixed-size list until it is acked and its 500 ms timeout has passed, or its retries run out. When the list is full, a new command overwrites the oldest entry. With 3 slots, the gimbal manager sequence of acquire control, set neutral, release control filled the list on its own. Neutral is sent with target component 0, so it goes out over MAVLink too. Any other command in that window, e.g. a camera command from a mission, overwrote a pending gimbal command and dropped its retries. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Miguel Moreira <miguel.moreira@auterion.com>