change the limit of bus

This commit is contained in:
zhongchao
2022-08-30 10:37:48 +08:00
parent 3c3806ad86
commit 16417621c2

View File

@@ -195,7 +195,7 @@ public class TrackObj {
double dis = CoordinateUtils.calculateLineDistance(center[0], center[1], cacheData.getLongitude(), cacheData.getLatitude());
// Log.d("emArrow-Track", "uuid : " + cacheData.getUuid() + " , type : " + cacheData.getType() + " , list size : " + objQueueList.size() + " , dis : " + dis);
if (cacheData.getType() == TrafficTypeEnum.TYPE_TRAFFIC_ID_BUS.getType() || cacheData.getType() == TrafficTypeEnum.TYPE_TRAFFIC_ID_TRUCK.getType()) {
return dis <= 0.8;
return dis <= 0.6;
} else {
return dis <= 0.3;
}