mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Resolved a TODO in AllocationRequestManager
This commit is contained in:
parent
35fd634282
commit
054b60276d
@ -244,7 +244,7 @@ public:
|
||||
{
|
||||
return res;
|
||||
}
|
||||
allocation_pub_.setTxTimeout(MonotonicDuration::fromMSec(1000 /* TODO FIXME ALLOCATION RANDOMIZATION */));
|
||||
allocation_pub_.setTxTimeout(MonotonicDuration::fromMSec(Allocation::FOLLOWUP_TIMEOUT_MS));
|
||||
|
||||
res = allocation_sub_.start(AllocationCallback(this, &AllocationRequestManager::handleAllocation));
|
||||
if (res < 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user