mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-06-14 22:55:12 +10:00
Update ML timeout handling and adjust distance threshold for path hops
This commit is contained in:
committed by
Enot (ded) Skelly
parent
32dc0fca22
commit
637e08d22c
@@ -879,7 +879,7 @@ List<_PathHop> _buildPathHops(
|
||||
previousPosition = resolvedPosition;
|
||||
}
|
||||
// If the best candidate is much farther than the previous hop, it's likely not the correct match.
|
||||
if (lastDistance + bestDistance > 70000 &&
|
||||
if (lastDistance + bestDistance > 50000 &&
|
||||
candidates != null &&
|
||||
candidates.isNotEmpty) {
|
||||
i--;
|
||||
|
||||
Reference in New Issue
Block a user