balabala~~~
This commit is contained in:
@@ -11,12 +11,36 @@ public
|
||||
*/
|
||||
class ADASRecognizedListResult {
|
||||
|
||||
/**
|
||||
* 识别物体类型
|
||||
*/
|
||||
public int type;
|
||||
|
||||
/**
|
||||
* 识别物体唯一标识
|
||||
*/
|
||||
public String uuid;
|
||||
/**
|
||||
* 方向
|
||||
*/
|
||||
public double heading;
|
||||
/**
|
||||
* 速度
|
||||
*/
|
||||
public double speed;
|
||||
/**
|
||||
* x 轴距离
|
||||
*/
|
||||
public double distanceX;
|
||||
|
||||
/**
|
||||
* y 轴距离
|
||||
*/
|
||||
public double distanceY;
|
||||
|
||||
/**
|
||||
* 同一个uuid 1s内所对应的连续坐标
|
||||
*/
|
||||
public List< LatLon > latLonList;
|
||||
|
||||
public static class LatLon {
|
||||
|
||||
@@ -9,17 +9,64 @@ public
|
||||
*/
|
||||
class ADASRecognizedResult {
|
||||
|
||||
/**
|
||||
* 识别物体类型
|
||||
*/
|
||||
public int type;
|
||||
|
||||
/**
|
||||
* 识别物体唯一标识
|
||||
*/
|
||||
public String uuid;
|
||||
|
||||
/**
|
||||
* 红绿灯颜色
|
||||
*/
|
||||
public String color;
|
||||
public String cardId;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public String carId;
|
||||
|
||||
/**
|
||||
* 识别物体的纬度
|
||||
*/
|
||||
public double lat;
|
||||
|
||||
/**
|
||||
* 识别物体的经度
|
||||
*/
|
||||
public double lon;
|
||||
|
||||
/**
|
||||
* 朝向
|
||||
*/
|
||||
public double heading;
|
||||
|
||||
/**
|
||||
* 系统时间
|
||||
*/
|
||||
public long systemTime;
|
||||
|
||||
/**
|
||||
* 定位卫星时间
|
||||
*/
|
||||
public long satelliteTime;
|
||||
|
||||
/**
|
||||
* 海拔
|
||||
*/
|
||||
public double alt;
|
||||
|
||||
/**
|
||||
* 速度
|
||||
*/
|
||||
public double speed;
|
||||
|
||||
/**
|
||||
* 莫顿码
|
||||
*/
|
||||
public long mortonCode;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ import com.zhidao.support.adas.high.bean.WarnMessageInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -74,7 +73,7 @@ class AdasObjectUtils {
|
||||
result.alt = rectBean.getAlt();
|
||||
result.color = rectBean.getColor();
|
||||
result.speed = rectBean.getSpeed();
|
||||
result.cardId = rectBean.getCarId();
|
||||
result.carId = rectBean.getCarId();
|
||||
result.mortonCode = MortonCode.wrapEncodeMorton( result.lon, result.lat );
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user