mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 22:33:35 +08:00
mavlink: Safely avoid send the same vehicle_command and vehicle_command_ack back
The previous approach was checking system id and component id but it will not work in 100% of cases as external devices can send MAVLink message with the right system id but with broadcast component id.
This commit is contained in:
committed by
Lorenz Meier
parent
89a428fbfe
commit
7c268f4fa1
@@ -8,3 +8,4 @@ uint32 ORB_QUEUE_LENGTH = 3
|
||||
|
||||
uint16 command
|
||||
uint8 result
|
||||
uint8 from_external
|
||||
|
||||
Reference in New Issue
Block a user