替换调度中的开启自动驾驶的方法调用

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-02-07 19:44:59 +08:00
parent a8bcbdcc7f
commit 3ca6d33c30
4 changed files with 2 additions and 130 deletions

View File

@@ -7,8 +7,6 @@ import com.alibaba.android.arouter.launcher.ARouter;
import com.mogo.commons.AbsMogoApplication;
import com.mogo.commons.debug.DebugConfig;
import com.mogo.eagle.core.data.autopilot.AutopilotCarStateInfo;
import com.mogo.eagle.core.data.autopilot.AutopilotControlCmdParameter;
import com.mogo.eagle.core.data.autopilot.AutopilotControlParameters;
import com.mogo.eagle.core.data.autopilot.AutopilotStatusInfo;
import com.mogo.eagle.core.data.constants.MogoServicePaths;
import com.mogo.eagle.core.network.utils.GsonUtil;
@@ -95,22 +93,6 @@ public class MogoADASController implements IMogoADASController {
}
}
@Override
public void aiCloudToAdasData(AutopilotControlParameters result) {
try {
AutopilotControlCmdParameter parameter = new AutopilotControlCmdParameter("aiCloudToStartAutopilot", result);
//位置信息 action是aiCloudToStartAutopilot
try {
adasProvider.sendWsMessage(GsonUtil.jsonFromObject(parameter));
} catch (Exception e) {
e.printStackTrace();
}
} catch (Exception e) {
Logger.e(TAG, e, "aiCloudToAdasData");
}
}
@Override
public void release() {
adasProvider.removeAdasEventListener(mAdasDataListener);