2.12.0 fix ADCU 全局路径数据和自动驾驶状态不一致导致的 小地图轨迹被清除
This commit is contained in:
@@ -141,12 +141,13 @@ public class SmallMapFragment extends BaseFragment
|
||||
|
||||
@Override
|
||||
public void onAutopilotStatusResponse(@NotNull AutopilotStatusInfo autoPilotStatusInfo) {
|
||||
autoPilotStatus = autoPilotStatusInfo.getPilotmode();
|
||||
if (autoPilotStatus != 1) {
|
||||
int tempStatus = autoPilotStatusInfo.getPilotmode();
|
||||
if (tempStatus != 1) {
|
||||
clearPolyline();
|
||||
}else if (autoPilotStatus == 1){
|
||||
}else if (tempStatus == 0 && autoPilotStatus == 1){
|
||||
CallerAutoPilotManager.INSTANCE.getGlobalPath();
|
||||
}
|
||||
autoPilotStatus = tempStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user