diff --git a/config.gradle b/config.gradle index f237a3ad74..8de2d09d18 100644 --- a/config.gradle +++ b/config.gradle @@ -218,7 +218,7 @@ ext { weak_network : "com.mogo.weak:network:1.0.0", - mofang_runtime : "com.mogo.eagle.core.mofang:runtime:2.0.5", + mofang_runtime : "com.mogo.eagle.core.mofang:runtime:2.0.6", log_runtime : "com.mogo.eagle.core.log.record:runtime:1.0.6" ] android = [ diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/lookaround/M1LookAroundView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/lookaround/M1LookAroundView.kt index 235049fa90..d11352ba45 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/lookaround/M1LookAroundView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/lookaround/M1LookAroundView.kt @@ -200,7 +200,7 @@ class M1LookAroundView: SurfaceView, SurfaceHolder.Callback, Runnable, IMoGoChas val outerAngle = abs(steering * 1.0 / VEHICLE_STEERING_RATIO) val radians = Math.toRadians(outerAngle) val d = (newTargetHeight / tan(radians)).toFloat() - if (steering < 0) { + if (steering > 0) { // 左打轮 // 将坐标原点平移到圆心 canvas.translate(newTargetX - (d - newTargetWidth), newTargetY + newTargetHeight) @@ -215,7 +215,7 @@ class M1LookAroundView: SurfaceView, SurfaceHolder.Callback, Runnable, IMoGoChas canvas.drawArc(innerRect, -innerAngle.toFloat(), -60f, false, routerPaint) } - if (steering > 0) { + if (steering < 0) { //右打轮 // 将坐标原点平移到圆心 canvas.translate(newTargetX + d, newTargetY + newTargetHeight) diff --git a/gradle.properties b/gradle.properties index 0aaa2d21ed..70c986b986 100644 --- a/gradle.properties +++ b/gradle.properties @@ -167,9 +167,9 @@ TAXI_DRIVER_VERSION=3.3.2 # 出租车模式乘客端端版本号 TAXI_PASSENGER_VERSION=2.3.2 # 包车模式司机端版本号 -CHARTER_DRIVER_VERSION=3.1.0 +CHARTER_DRIVER_VERSION=3.3.0 # 包车模式乘客端端版本号 -CHARTER_PASSENGER_VERSION=2.2.0 +CHARTER_PASSENGER_VERSION=2.3.0 # 支持云控清扫车模式司机端版本号 SWEEPERCLOUD_DRIVER_VERSION=3.1.4 # 清扫车模式司机端版本号