[640][adas] 能否启动自驾条件放线盘转角差值增大到8
This commit is contained in:
@@ -144,7 +144,7 @@ public abstract class BaseAutopilotAbilityChassis {
|
|||||||
oldThrottle = throttle;
|
oldThrottle = throttle;
|
||||||
} else {
|
} else {
|
||||||
CupidLogUtils.log(TAG, "方向盘当前角度=" + oldThrottle + " 方向盘1秒前角度=" + throttle);
|
CupidLogUtils.log(TAG, "方向盘当前角度=" + oldThrottle + " 方向盘1秒前角度=" + throttle);
|
||||||
boolean isTurning = Math.abs(throttle - oldThrottle) > 2.0F;
|
boolean isTurning = Math.abs(throttle - oldThrottle) > 8.0F;
|
||||||
oldThrottle = throttle;
|
oldThrottle = throttle;
|
||||||
CupidLogUtils.log(TAG, "方向盘是否转动=" + isTurning);
|
CupidLogUtils.log(TAG, "方向盘是否转动=" + isTurning);
|
||||||
if (isTurning) {
|
if (isTurning) {
|
||||||
|
|||||||
Reference in New Issue
Block a user