opt
This commit is contained in:
@@ -447,7 +447,8 @@ class MogoPrivateObuManager private constructor() {
|
||||
-> {
|
||||
if (info.ext_info != null) {
|
||||
// 计算为千米每小时 TODO 这里需要做一下向上取整数,40,60,80,120等
|
||||
CallerHmiManager.showLimitingVelocity((info.ext_info.speed_limit_max.toInt() * 60 * 60) / 1000)
|
||||
Logger.d(MogoObuConst.TAG_MOGO_OBU, "info.ext_info.speed_limit_max ------> ${info.ext_info.speed_limit_max}")
|
||||
CallerHmiManager.showLimitingVelocity((Math.ceil(((info.ext_info.speed_limit_max * 60 * 60) / 1000) / 10) * 10).toInt())
|
||||
}
|
||||
}
|
||||
// 删除
|
||||
|
||||
Reference in New Issue
Block a user