fix bug and add log
This commit is contained in:
@@ -181,8 +181,8 @@ class AdasRecognizedResultDrawer extends BaseDrawer {
|
||||
}
|
||||
long startTime = System.nanoTime();
|
||||
// 预测点
|
||||
Log.d(FORECAST, "time internal : " + internal);
|
||||
double foreCastDistance = adasResult.speed * internal;
|
||||
Log.d(FORECAST, "time internal : " + internal + " speed : " + adasResult.speed);
|
||||
double foreCastDistance = adasResult.speed * internal / 1000;
|
||||
Log.d(FORECAST, "foreCastDistance : " + foreCastDistance);
|
||||
MogoLatLng mogoLatLng = new MogoLatLng(adasResult.lat, adasResult.lon);
|
||||
MogoLatLng foreCastMogoLatLon = Trigonometric.getNewLocation(mogoLatLng, foreCastDistance, adasResult.heading);
|
||||
|
||||
@@ -324,7 +324,7 @@ public class SnapshotSetDataDrawer extends BaseDrawer implements IMogoMarkerClic
|
||||
}
|
||||
|
||||
/**
|
||||
* 过滤数据,对数据补点 //todo 重构
|
||||
* 过滤数据,对数据补点
|
||||
*
|
||||
* @param in 输入集合
|
||||
* @param out 输出集合
|
||||
@@ -378,8 +378,8 @@ public class SnapshotSetDataDrawer extends BaseDrawer implements IMogoMarkerClic
|
||||
}
|
||||
long startTime = System.nanoTime();
|
||||
// 预测点
|
||||
Log.d(FORECAST, "time internal : " + internal);
|
||||
double foreCastDistance = proto.getSpeed() * internal;
|
||||
Log.d(FORECAST, "time internal : " + internal + " speed : " + proto.getSpeed());
|
||||
double foreCastDistance = proto.getSpeed() * internal / 1000;
|
||||
Log.d(FORECAST, "foreCastDistance : " + foreCastDistance);
|
||||
MogoLatLng mogoLatLng = new MogoLatLng(proto.getWgslat(), proto.getWgslon());
|
||||
MogoLatLng foreCastMogoLatLon = Trigonometric.getNewLocation(mogoLatLng, foreCastDistance, proto.getHeading());
|
||||
|
||||
Reference in New Issue
Block a user