[6.5.0] 僵尸车修改模型参数,提供路口统计能力,路口探查地图加自车容错及日志
This commit is contained in:
@@ -16,6 +16,7 @@ import mogo.telematics.pad.MessagePad
|
||||
import mogo_msg.MogoReportMsg
|
||||
import system_master.SsmInfo
|
||||
import system_master.SystemStatusInfo
|
||||
import java.util.concurrent.atomic.AtomicInteger
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
/**
|
||||
@@ -69,6 +70,8 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
|
||||
|
||||
private var status: AdasConstants.IpcConnectionStatus? = null
|
||||
|
||||
private var atomicCountRoad = AtomicInteger(0)
|
||||
|
||||
override fun doSomeAfterAddListener(tag: String, listener: IMoGoAutopilotStatusListener) {
|
||||
listener.onAutopilotStatusResponse(autopilotState)
|
||||
if(dockerV.isNotEmpty()){
|
||||
@@ -289,4 +292,13 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
|
||||
itx.value.onAutopilotTrajectoryDownloadReq(autoPilotLine, downloadType)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun updateRoadCount(){
|
||||
atomicCountRoad.addAndGet(1)
|
||||
}
|
||||
|
||||
fun getRoadCount(): Int {
|
||||
return atomicCountRoad.get()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user