소스 검색

change ADCIntelligentShow_grpc. use local GaussProjCal for map update.

yuchuli 2 년 전
부모
커밋
627d1d1c49
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
         }