Commit 117001bc authored by oscar's avatar oscar

修改变道的检查前后点距离判断缩小。

parent a2bd02a3
......@@ -759,7 +759,7 @@ void JfxEvents::DetectEvents(TrkObjsPtr& objsPtr)
{
isChange = 0;
}
else if (fabsf64(obj.lat - objA.lastLat) > 5*lat_dt || fabsf64(obj.lon - objA.lastLon) > 5*lon_dt)
else if (fabsf64(obj.lat - objA.lastLat) > 2*lat_dt || fabsf64(obj.lon - objA.lastLon) > 2*lon_dt)
{
isChange = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment