优化显示逻辑

This commit is contained in:
wangcongtao
2021-03-12 16:00:27 +08:00
parent 8e6e665865
commit ef9db23bec
5 changed files with 9 additions and 10 deletions

View File

@@ -1000,6 +1000,7 @@ public class AMapViewWrapper implements IMogoMapView,
double yawRate = data.optDouble("yawRate", -1);
double speed = data.optDouble("speed", -1);
long systemTime = data.optLong("systemTime");
long satelliteTime = data.optLong("satelliteTime");
long receiverDataTime = data.optLong("receiverDataTime");
long adasSatelliteTime = data.optLong("adasSatelliteTime");
if (lon == -1) {
@@ -1008,11 +1009,11 @@ public class AMapViewWrapper implements IMogoMapView,
RTKAutopilotLocationBean bean = new RTKAutopilotLocationBean();
bean.setYaw_rate(yawRate);
bean.setHeading(heading);
bean.setSystemTime(systemTime);
bean.setReceiverDataTime(receiverDataTime);
bean.setHeading(heading);
bean.setAcceleration(acceleration);
bean.setAlt(alt);
bean.setSystemTime(systemTime);
bean.setSatelliteTime( satelliteTime );
bean.setReceiverDataTime(receiverDataTime);
bean.setAdasSatelliteTime( adasSatelliteTime );
bean.setLon(lon);
bean.setGnss_speed(((float) speed));