opt
This commit is contained in:
@@ -433,15 +433,15 @@ class MoGoAutopilotProvider :
|
||||
*/
|
||||
override fun sendOperatorChangeLaneLeft() {
|
||||
// Log.d("liyz", "MoGoAutopilotProvider sendOperatorChangeLaneLeft -------> ")
|
||||
// AdasManager.getInstance().sendOperatorCmdChangeLaneLeft()
|
||||
AdasManager.getInstance().sendOperatorCmdChangeLaneLeft()
|
||||
}
|
||||
|
||||
/**
|
||||
* 向右变道
|
||||
*/
|
||||
override fun sendOperatorChangeLaneRight() {
|
||||
Log.d("liyz", "MoGoAutopilotProvider sendOperatorChangeLaneRight -------> ")
|
||||
// AdasManager.getInstance().sendOperatorCmdChangeLaneRight()
|
||||
// Log.d("liyz", "MoGoAutopilotProvider sendOperatorChangeLaneRight -------> ")
|
||||
AdasManager.getInstance().sendOperatorCmdChangeLaneRight()
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -449,7 +449,7 @@ class MoGoAutopilotProvider :
|
||||
*/
|
||||
override fun sendOperatorSetAcceleratedSpeed(cc: Double) {
|
||||
// Log.d("liyz", "MoGoAutopilotProvider sendOperatorSetAcceleratedSpeed cc $cc ")
|
||||
// AdasManager.getInstance().sendOperatorCmdSetAcceleratedSpeed(cc)
|
||||
AdasManager.getInstance().sendOperatorCmdSetAcceleratedSpeed(cc)
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -457,7 +457,7 @@ class MoGoAutopilotProvider :
|
||||
*/
|
||||
override fun sendOperatorSetHorn(value: Double) {
|
||||
// Log.d("liyz", "MoGoAutopilotProvider sendOperatorSetHorn value $value ")
|
||||
// AdasManager.getInstance().sendOperatorCmdSetHorn(value)
|
||||
AdasManager.getInstance().sendOperatorCmdSetHorn(value)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -271,12 +271,6 @@ public class MainLauncherActivity extends MainActivity implements IMogoIntentLis
|
||||
}
|
||||
|
||||
return super.dispatchTouchEvent(event);
|
||||
|
||||
// if (SharedPrefsMgr.getInstance(getContext()).getBoolean("BLUETOOTH", false)) {
|
||||
// return false;
|
||||
// } else {
|
||||
// return super.dispatchTouchEvent(event);
|
||||
// }
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -380,7 +374,6 @@ public class MainLauncherActivity extends MainActivity implements IMogoIntentLis
|
||||
connectBluetooth(); //主动连接一次
|
||||
}, 4000L);
|
||||
}
|
||||
|
||||
} catch (NoSuchMethodException e) {
|
||||
e.printStackTrace();
|
||||
} catch (IllegalAccessException e) {
|
||||
|
||||
Reference in New Issue
Block a user