Browse Source

change ui/ui_osgviewer

yuchuli 4 years ago
parent
commit
bbfcf8e1c4

+ 1 - 0
src/ui/ui_ads_hmi/ADCIntelligentVehicle.cpp

@@ -1062,6 +1062,7 @@ void ADCIntelligentVehicle::paintEvent(QPaintEvent *)
         scene->clear();
         scene_small->clear();
         scene->addPixmap(QPixmap::fromImage(*image));
+
         scene_small->addPixmap(QPixmap::fromImage(*image_small));
         myview->setScene(scene);
         myview_small->setScene(scene_small);

+ 0 - 1
src/ui/ui_osgviewer/main.cpp

@@ -111,7 +111,6 @@ double gvehicle_hdg = 0;
 double gvehicleheight = 1.6;
 double gfspeed = 0;
 
-
 void Listengpsimu(const char * strdata,const unsigned int nSize,const unsigned int index,const QDateTime * dt,const char * strmemname)
 {
 //        ggpsimu->UpdateGPSIMU(strdata,nSize);

+ 2 - 0
src/ui/ui_osgviewer/ui_osgviewer.pro

@@ -67,6 +67,8 @@ LIBS += /home/yuchuli/File/git/OpenSceneGraph/build/lib/osgPlugins-3.7.0/osgdb_o
 LIBS += /home/yuchuli/File/git/OpenSceneGraph/build/lib/osgPlugins-3.7.0/osgdb_serializers_osgsim.so
 LIBS += /home/yuchuli/File/git/OpenSceneGraph/build/lib/osgPlugins-3.7.0/osgdb_jpeg.so
 
+
+
 HEADERS += \
     ../../include/msgtype/gps.pb.h \
     ../../include/msgtype/gpsimu.pb.h \