mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 06:53:35 +08:00
Publisher::broadcast() with explicit Transfer ID
This commit is contained in:
@@ -32,6 +32,11 @@ public:
|
||||
return publish(message, TransferTypeMessageBroadcast, NodeID::Broadcast);
|
||||
}
|
||||
|
||||
int broadcast(const DataType& message, TransferID tid)
|
||||
{
|
||||
return publish(message, TransferTypeMessageBroadcast, NodeID::Broadcast, tid);
|
||||
}
|
||||
|
||||
int unicast(const DataType& message, NodeID dst_node_id)
|
||||
{
|
||||
if (!dst_node_id.isUnicast())
|
||||
|
||||
Reference in New Issue
Block a user