From 9a4b2702138e83d88b56a2248c4deac08b49f2a3 Mon Sep 17 00:00:00 2001 From: renwj Date: Thu, 27 Jan 2022 11:23:51 +0800 Subject: [PATCH] =?UTF-8?q?[BadCase]=E6=B7=BB=E5=8A=A0=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../function/hmi/ui/tools/AutoPilotBadCase.kt | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotBadCase.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotBadCase.kt index f9ce724573..79de48ee02 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotBadCase.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotBadCase.kt @@ -177,14 +177,37 @@ private suspend fun getCache(): BadCaseEntity? = suspendCancellableCoroutine { private fun getBuildIn(): BadCaseEntity = BadCaseEntity().also { itx -> val data = mutableListOf() data += Reason().also { + it.id = "1" it.reason = "变道有干扰" } data += Reason().also { + it.id = "2" it.reason = "遇红绿灯未停车" } data += Reason().also { + it.id = "3" it.reason = "遇障碍物未停车" } + data += Reason().also { + it.id = "4" + it.reason = "无法绕行" + } + data += Reason().also { + it.id = "5" + it.reason = "画龙" + } + data += Reason().also { + it.id = "6" + it.reason = "转弯过于靠近路侧" + } + data += Reason().also { + it.id = "7" + it.reason = "无故退出自动驾驶" + } + data += Reason().also { + it.id = "8" + it.reason = "其它" + } itx.data = data itx.isBuildIn = true }