Merge remote-tracking branch 'origin/dev_robotaxi-d_230612_3.3.0' into dev_robobus-d_230707_3.3.2

This commit is contained in:
renwj
2023-07-11 14:08:17 +08:00
3 changed files with 5 additions and 5 deletions

View File

@@ -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 = [

View File

@@ -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)

View File

@@ -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
# 清扫车模式司机端版本号