[log]
[添加速度日志]
This commit is contained in:
yangyakun
2023-09-06 13:49:18 +08:00
committed by zhongchao
parent fedaf73727
commit a3080ed5ec

View File

@@ -243,7 +243,7 @@ object TrajectoryAndDistanceManager: IMoGoPlanningRottingListener{
BizLoopManager.setLoopFunction(TAGDISTANCE, LoopInfo(1, ::calculateDistance,
scheduler = Schedulers.computation()
))
d(SceneConstant.M_BUS_P + TAG, "开始路距计算")
d(M_OCHCOMMON + TAG, "开始路距计算")
}
/**
@@ -251,7 +251,7 @@ object TrajectoryAndDistanceManager: IMoGoPlanningRottingListener{
*/
private fun endCalculateDistanceLoop() {
BizLoopManager.removeLoopFunction(TAGDISTANCE)
d(SceneConstant.M_BUS_P + TAG, "结束路距计算")
d(M_OCHCOMMON + TAG, "结束路距计算")
}
@@ -260,7 +260,7 @@ object TrajectoryAndDistanceManager: IMoGoPlanningRottingListener{
location: MogoLocation,
) {
val autoPilotState = CallerAutoPilotStatusListenerManager.getAutoPilotStatusInfo().state
val locationInfo = "自动驾驶状态:$autoPilotState line信息${lineId}定位信息:${location.latitude},${location.longitude},${location.heading}"
val locationInfo = "自动驾驶状态:$autoPilotState line信息${lineId}定位信息:${location.latitude},${location.longitude},${location.heading} 当前速度:${location.gnssSpeed}"
if (mRoutePoints.isNullOrEmpty()) return
// 计算起始站点在轨迹中的信息 这个是一个常量
if (startStationInfo.stationPoint != null