feat: 发布 EM 轨迹规划首个版本
This commit is contained in:
@@ -159,6 +159,11 @@ internal sealed class LocalG2WindowPlanner
|
||||
return;
|
||||
}
|
||||
|
||||
// The tolerance above deliberately accepts boundary-sized round-off. Clamp that
|
||||
// round-off before constructing the strict, non-negative window contract.
|
||||
left = Math.Min(left, availableLeft);
|
||||
right = Math.Min(right, availableRight);
|
||||
|
||||
double start = anchor - left;
|
||||
double end = anchor + right;
|
||||
if (start > firstEvent + MergeToleranceMeters || end + MergeToleranceMeters < lastEvent || end - start + MergeToleranceMeters < target)
|
||||
|
||||
Reference in New Issue
Block a user