close route overlay log and fix draw data of route to pb style

This commit is contained in:
zhongchao
2022-04-06 18:56:03 +08:00
parent 4f7cf8608e
commit e1508a3f0f
14 changed files with 49 additions and 187 deletions

View File

@@ -839,7 +839,9 @@ class MoGoHmiFragment : MvpFragment<MoGoWarningContract.View?, WaringPresenter?>
*/
override fun showTurnLight(light: Int) {
if (HmiBuildConfig.isShowTurnLightView) {
turnLightView.setTurnLight(light)
ThreadUtils.runOnUiThread {
turnLightView.setTurnLight(light)
}
}
}
@@ -848,7 +850,9 @@ class MoGoHmiFragment : MvpFragment<MoGoWarningContract.View?, WaringPresenter?>
*/
override fun showBrakeLight(light: Int) {
if (HmiBuildConfig.isShowBrakeLightView) {
brakeView.setBrakeLight(light)
ThreadUtils.runOnUiThread {
brakeView.setBrakeLight(light)
}
}
}

View File

@@ -1565,7 +1565,7 @@ class DebugSettingView @JvmOverloads constructor(
}
}
override fun onAutopilotTrajectory(trajectoryInfos: ArrayList<ADASTrajectoryInfo>) {
override fun onAutopilotTrajectory(trajectoryInfos: MutableList<MessagePad.TrajectoryPoint>) {
mTrajectoryInfoSize = trajectoryInfos.size
}