Browse Source

change ADCIntelligentShow_grpc. use local GaussProjCal for map update.

yuchuli 2 years ago
parent
commit
627d1d1c49
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/ui/ADCIntelligentShow_grpc/adcintelligentshow.cpp

+ 1 - 0
src/ui/ADCIntelligentShow_grpc/adcintelligentshow.cpp

@@ -1059,6 +1059,7 @@ void ADCIntelligentShow::UpdateMap(const char *mapdata, const int mapdatasize)
         for(i=0;i<nMapSize;i++)
         {
             iv::MAP_GPS_INS x;
+            GaussProjCal(x.gps_lng,x.gps_lat,&x.gps_x,&x.gps_y);
             memcpy(&x,mapdata + i*gpsunitsize,gpsunitsize);
             navigation_data.push_back(x);
         }