准备抽离AutoPilot调用逻辑,有些多,放在10月份进行
Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.mogo.eagle.core.data.autopilot;
|
||||
|
||||
public
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020/10/22
|
||||
*
|
||||
* 描述
|
||||
*/
|
||||
class AdasControlCommandParameter {
|
||||
|
||||
public String action;
|
||||
public Object result;
|
||||
|
||||
public AdasControlCommandParameter( String action, Object result ) {
|
||||
this.action = action;
|
||||
this.result = result;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.mogo.eagle.core.data.autopilot;
|
||||
|
||||
public
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2021/1/18
|
||||
*
|
||||
* 自动驾驶网约车回调数据
|
||||
*/
|
||||
class AdasOCHData {
|
||||
|
||||
public int type;
|
||||
public double lon;
|
||||
public double lat;
|
||||
|
||||
public AdasOCHData( int type, double lon, double lat ) {
|
||||
this.type = type;
|
||||
this.lon = lon;
|
||||
this.lat = lat;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package com.mogo.eagle.core.data.autopilot;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author donghongyu
|
||||
* @since 2021/09/22
|
||||
* <p>
|
||||
* 启动自动驾驶参数
|
||||
*/
|
||||
public class RemoteControlAutoPilotParameters {
|
||||
|
||||
public AutoPilotLonLat startLatLon;
|
||||
public List<AutoPilotLonLat> wayLatLons;
|
||||
public AutoPilotLonLat endLatLon;
|
||||
public float speedLimit;
|
||||
public int vehicleType;// 运营类型
|
||||
/**
|
||||
* 是否播放adas的 开始自动驾驶 语音
|
||||
*/
|
||||
public boolean isSpeakVoice = true;
|
||||
|
||||
public static class AutoPilotLonLat {
|
||||
public double lat;
|
||||
public double lon;
|
||||
|
||||
public AutoPilotLonLat() {
|
||||
}
|
||||
|
||||
public AutoPilotLonLat(double lat, double lon) {
|
||||
this.lat = lat;
|
||||
this.lon = lon;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AutoPilotLonLat{" +
|
||||
"lat=" + lat +
|
||||
", lon=" + lon +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "RemoteControlAutoPilotParameters{" +
|
||||
"startLatLon=" + startLatLon +
|
||||
", wayLatLons=" + wayLatLons +
|
||||
", endLatLon=" + endLatLon +
|
||||
", speedLimit=" + speedLimit +
|
||||
", vehicleType=" + vehicleType +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
package com.mogo.eagle.core.data.model
|
||||
|
||||
/**
|
||||
*@author xiaoyuzhou
|
||||
*@date 2021/9/14 3:51 下午
|
||||
*/
|
||||
class V2XThreatIndInfo {
|
||||
// /**
|
||||
// * RV temperary vehicle ID
|
||||
// */
|
||||
// private val vehicle_id: String? = null
|
||||
// /**
|
||||
// * V2V threat status 0: update 1: add 2: delete
|
||||
// * range(0..2)
|
||||
// * [com.zhidao.support.obu.constants.ObuConstants.STATUS]
|
||||
// */
|
||||
// private val status = 0
|
||||
//
|
||||
// /**
|
||||
// * RV threat information 目前判断RV方向使用的是 ext_info 中的 target_classification 变量
|
||||
// */
|
||||
// private val threat_info: V2vThreat? = null
|
||||
//
|
||||
// /**
|
||||
// * 目前判断RV方向使用的是 ext_info 中的 target_classification 变量
|
||||
// * The extension information of V2V threat
|
||||
// */
|
||||
// private val ext_info: V2vThreatExt? = null
|
||||
//
|
||||
// /**
|
||||
// * RV basic information
|
||||
// */
|
||||
// private val basic_info: MovingObjectInfo? = null
|
||||
// /**
|
||||
// * Wgs84坐标系,线性经纬度轨迹列表
|
||||
// */
|
||||
// private val locus_list: List<com.mogo.eagle.core.data.map.MogoLatLng>? = null
|
||||
//
|
||||
// /**
|
||||
// * 高德坐标系Gcj,线性经纬度轨迹列表
|
||||
// */
|
||||
// private val gd_locus_list: List<com.mogo.eagle.core.data.map.MogoLatLng>? = null
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user