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