Merge branch '3.3.0merge2master' into 'master'
[3.3.0 merge to msater] See merge request SCA/L4HA/AndroidApp/MoGoEagleEye!798
This commit is contained in:
@@ -270,14 +270,16 @@ class PM2DrivingModel private constructor() {
|
||||
d(SceneConstant.M_BUS_P + TAG, "可以接受轨迹")
|
||||
}
|
||||
d(SceneConstant.M_BUS_P + TAG, "接受轨迹中")
|
||||
updateRoutePoints(it.wayPointsList)
|
||||
it.wayPointsList?.let {list->
|
||||
updateRoutePoints(list)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Synchronized
|
||||
fun updateRoutePoints(routePoints: List<MessagePad.Location>?) {
|
||||
fun updateRoutePoints(routePoints: List<MessagePad.Location>) {
|
||||
mRoutePoints.clear()
|
||||
val latLngModels = CoordinateCalculateRouteUtil
|
||||
.coordinateConverterWgsToGcjLocations(mContext, routePoints)
|
||||
@@ -487,7 +489,7 @@ class PM2DrivingModel private constructor() {
|
||||
.getArrivedPointIndexNew(
|
||||
mWipePreIndex,
|
||||
mRoutePoints,
|
||||
mLocation
|
||||
mLocation!!
|
||||
)
|
||||
mWipePreIndex = haveArrivedIndex
|
||||
d(SceneConstant.M_BUS_P + TAG,
|
||||
@@ -518,7 +520,7 @@ class PM2DrivingModel private constructor() {
|
||||
|
||||
if (mTwoStationsRouts.size > 0 && mLocation != null) {
|
||||
val lastPointsMap = CoordinateCalculateRouteUtil
|
||||
.getRemainPointListByCompareNew(mPreRouteIndex, mTwoStationsRouts, mLocation)
|
||||
.getRemainPointListByCompareNew(mPreRouteIndex, mTwoStationsRouts, mLocation!!)
|
||||
for (index in lastPointsMap.keys) {
|
||||
mPreRouteIndex = index
|
||||
break
|
||||
|
||||
@@ -660,13 +660,11 @@ public class SweeperTaskModel implements IMoGoSweeperFutianCloudTaskListener, IM
|
||||
|
||||
@Override
|
||||
public void onAutopilotStatusResponse(int state) {
|
||||
IMoGoAutopilotStatusListener.super.onAutopilotStatusResponse(state);
|
||||
// TODO: 2023/6/19 bingbing
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAutopilotDockerInfo(@NonNull String dockerVersion) {
|
||||
IMoGoAutopilotStatusListener.super.onAutopilotDockerInfo(dockerVersion);
|
||||
// TODO: 2023/6/19 bingbing
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user