opt strategy
This commit is contained in:
@@ -154,7 +154,7 @@ class BlockStrategy(private val context: Context, private val apis: IMogoService
|
||||
* 没有有效前车距离或者前车距离小于5m
|
||||
*/
|
||||
private fun isClose(): Boolean {
|
||||
return frontDistance in 1..4
|
||||
return frontDistance in 1..4 || frontDistance == -1
|
||||
}
|
||||
|
||||
private fun uploadAverageSpeed(average: Float) {
|
||||
|
||||
Reference in New Issue
Block a user