- Timestamp:
- Dec 14, 2015, 12:09:20 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Alasca/CMakeLists.txt
r100 r110 9 9 set(${PROJECT_NAME}_VERSION_MINOR 1) 10 10 add_definitions( -DALASCAXT_EXPORTS ) 11 add_definitions( -DALASCAXT_EXPORTS ) 12 11 13 ################################################################################ 12 14 create_export(EXPORT_HDR ${PROJECT_NAME}) -
trunk/CMakeLists.txt
r109 r110 82 82 #add_subdirectory(Wifibot) #depends on PacpusSocket, change PacpusSocket to PacpusUdpSocket 83 83 #add_subdirectory(Ladybug) #require Ladybug spherical camera's driver, not compiled yet 84 add_subdirectory(StdDbtPlayerComponents) #require Gps84 add_subdirectory(StdDbtPlayerComponents) 85 85 #add_subdirectory(TelnetClient) 86 #add_subdirectory(VelodyneComponent)86 add_subdirectory(VelodyneComponent) 87 87 88 88 # ======================================== -
trunk/StdDbtPlayerComponents/CMakeLists.txt
r109 r110 8 8 set(${PROJECT_NAME}_VERSION_MAJOR 0) 9 9 set(${PROJECT_NAME}_VERSION_MINOR 1) 10 add_definitions( -DSTDDBTPLAYERCOMPONENTS_EXPORTS ) 11 add_definitions( -DDBTPLYSICK_EXPORTS) 12 add_definitions( -DDBTPLYSICK_EXPORTS) 10 #add_definitions( -DSTDDBTPLAYERCOMPONENTS_EXPORTS ) 11 #add_definitions( -DDBTPLYSICK_EXPORTS) 12 #add_definitions( -DDBTPLYSICK_EXPORTS) 13 add_definitions( -DPACPUSLIB_EXPORTS) 13 14 ################################################################################ 14 15 create_export(EXPORT_HDR ${PROJECT_NAME}) … … 51 52 DbtPlyVtgManager.h 52 53 53 #${PROJECT_NAME}.xml54 #${PROJECT_NAME}_d.xml54 DbtPlyImageManager.h 55 ImageViewer.h 55 56 ) 56 57 set(PROJECT_SRCS … … 67 68 DbtPlyGgaManager.cpp 68 69 DbtPlyVtgManager.cpp 70 DbtPlyImageManager.cpp 71 ImageViewer.cpp 69 72 ) 70 73 … … 83 86 DbtPlyVtgManager.h 84 87 88 DbtPlyImageManager.h 89 ImageViewer.h 85 90 ) 86 91 … … 116 121 optimized PacpusTools debug PacpusTools_d 117 122 118 optimized NMEA0183LIB debug NMEA0183LIB_d123 #optimized NMEA0183LIB debug NMEA0183LIB_d 119 124 120 125 ) … … 131 136 ${QT_LIBRARIES} 132 137 133 optimized NMEA0183LIB debug NMEA0183LIB_d138 #optimized NMEA0183LIB debug NMEA0183LIB_d 134 139 ) 135 140 qt5_use_modules(${PROJECT_NAME} Network) -
trunk/StdDbtPlayerComponents/DbtPlyAlascaManager.h
r109 r110 19 19 //#include "structure/structure_telemetre.h" 20 20 #include "../Alasca/AlascaData.h" 21 // Export macro for DbtPlyAlasca DLL for Windows only22 #ifdef WIN3223 # ifdef DBTPLYALASCA_EXPORTS24 // make DLL25 # define DBTPLYALASCA_API __declspec(dllexport)26 # else27 // use DLL28 # define DBTPLYALASCA_API __declspec(dllimport)29 # endif30 #else31 // On other platforms, simply ignore this32 # define DBTPLYALASCA_API33 #endif34 21 35 22 namespace pacpus { … … 37 24 class ShMem; 38 25 39 class DBTPLYALASCA_API DbtPlyAlascaManager26 class PACPUSLIB_API DbtPlyAlascaManager 40 27 : public DbtPlyFileManager 41 28 { -
trunk/StdDbtPlayerComponents/DbtPlyCPTComponent.cpp
r108 r110 13 13 #include "DbtPlyCPTComponent.h" 14 14 15 //#include "../PoseViewer/PoseViewer.h"16 17 15 #include "kernel/DbiteFileTypes.h" 18 16 #include "kernel/Log.h" … … 147 145 } 148 146 } 149 /*{150 // TODO: emit pose151 Pose p;152 // emit position153 p.p.lon = bestgpsposaFrame_.frame.Lon;154 p.p.lat = bestgpsposaFrame_.frame.Lat;155 p.p.alt = bestgpsposaFrame_.frame.Hgt;156 Q_EMIT(newPoseAvailable(p));157 }*/158 147 break; 159 148 … … 268 257 void DbtPlyCPTComponent::displayUI() 269 258 { 270 /* LOG_INFO("display GUI"); 271 272 mPoseViewer.reset(new PoseViewer()); 273 //mPoseViewer->setMutex(imageMutex_); 274 mPoseViewer->setWindowTitle(name()); 275 276 qRegisterMetaType<Pose>("Pose"); 277 BOOST_VERIFY( 278 connect(this, SIGNAL(newPoseAvailable(Pose)), mPoseViewer.get(), SLOT(addPose(Pose))) 279 ); 280 mPoseViewer->show();*/ 281 } 282 259 260 } 261 -
trunk/StdDbtPlayerComponents/DbtPlyCPTComponent.h
r109 r110 17 17 #include "../NMEA0183/include/nmea0183.h" 18 18 19 //#include <boost/scoped_ptr.hpp>20 //#include <QScopedPointer>21 22 // Export macro for CPT DLL for Windows only23 #ifdef WIN3224 # ifdef CPT_EXPORTS25 // make DLL26 # define CPT_API __declspec(dllexport)27 # else28 // use DLL29 # define CPT_API __declspec(dllimport)30 # endif31 #else32 // On other platforms, simply ignore this33 # define CPT_API34 #endif35 19 36 20 #define UNKNOWN_NMEA_FRAME -1 37 21 38 struct CPT_API Stream8Position22 struct PACPUSLIB_API Stream8Position 39 23 { 40 24 int32_t dataPos; … … 43 27 44 28 45 #include "../Gps/structure_gps.h"46 //#include "structure/genericStructures.h" 47 #include "Pacpus/kernel/road_time.h"29 #include <Pacpus/structures/structure_gps.h> 30 #include <Pacpus/structures/genericStructures.h> 31 #include <Pacpus/kernel/road_time.h> 48 32 #include <QVector3D> 49 33 #include <QMatrix4x4> 50 namespace pacpus {51 class PacpusTimeStampedData {52 public:53 road_time_t time;54 road_timerange_t timerange;55 unsigned int sequenceNumber;56 };57 class Pose3D : public PacpusTimeStampedData {58 public:59 QVector3D position;60 QVector3D angle;61 //QMatrix3x3 poscov;62 //QMatrix3x3 angconv;63 QMatrix4x4 transform;64 };65 }66 //#include "../PoseViewer/PoseViewer.h"67 34 68 35 namespace pacpus { 69 70 //class PoseViewer;71 36 class ShMem; 72 37 73 //struct Pose; 74 75 class CPT_API DbtPlyCPTComponent 38 class PACPUSLIB_API DbtPlyCPTComponent 76 39 : public DbtPlyFileManager 77 40 { … … 93 56 virtual void addOutputs(); 94 57 95 //Q_SIGNALS:96 //void newPoseAvailable(Pose pose);97 98 58 private: 99 //boost::scoped_ptr<PoseViewer> mPoseViewer;100 //QScopedPointer<PoseViewer> mPoseViewer;101 102 59 //ShMems 103 60 ShMem * mShMem; … … 107 64 QString mDataFilename; 108 65 109 //NMEA to do 110 NMEA0183 nmea0183_; 111 66 // NMEA0183 112 67 trame_gga_dbl ggaFrame_; 113 68 trame_gsa gsaFrame_; -
trunk/StdDbtPlayerComponents/DbtPlyGgaManager.h
r103 r110 34 34 namespace pacpus { 35 35 36 class DBTPLYGPS_API DbtPlyGgaManager36 class PACPUSLIB_API DbtPlyGgaManager 37 37 : public DbtPlyFileManager 38 38 { -
trunk/StdDbtPlayerComponents/DbtPlyGstManager.h
r109 r110 29 29 namespace pacpus { 30 30 31 class DBTPLYGPS_API DbtPlyGstManager31 class PACPUSLIB_API DbtPlyGstManager 32 32 : public DbtPlyFileManager 33 33 { -
trunk/StdDbtPlayerComponents/DbtPlyImageManager.cpp
r50 r110 26 26 27 27 using namespace std; 28 using namespace pacpus; 28 29 29 30 DECLARE_STATIC_LOGGER("pacpus.base.DbtPlyImageManager"); … … 137 138 mShMemName = config.getProperty("shmem"); 138 139 } 140 if (config.getIntProperty("ui") == 1) { 141 displayUI(); 142 } 143 139 144 return DbtPlyFileManager::configureComponent(config); 140 145 } -
trunk/StdDbtPlayerComponents/DbtPlyImageManager.h
r50 r110 15 15 #include <qobject.h> 16 16 17 #include "StdDbtPlayerComponentsConfig.h"18 17 #include "Pacpus/DbitePlayer/DbtPlyFileManager.h" 19 18 20 class ImageViewer;21 19 22 20 class QImage; … … 26 24 27 25 class ShMem; 26 class ImageViewer; 28 27 29 28 /// 30 29 /// shmem=STRING (name of output shared memory) default=IMAGE 31 class STDDBTPLAYERCOMPONENTS_API DbtPlyImageManager30 class PACPUSLIB_API DbtPlyImageManager 32 31 : public DbtPlyFileManager 33 32 { -
trunk/StdDbtPlayerComponents/DbtPlySickLDMRSManager.h
r104 r110 38 38 class ShMem; 39 39 40 class DBTPLYSICK_API DbtPlySickLDMRSManager40 class PACPUSLIB_API DbtPlySickLDMRSManager 41 41 : public DbtPlyFileManager 42 42 { -
trunk/StdDbtPlayerComponents/DbtPlySickLMSManager.h
r99 r110 19 19 #include "../Sick/SickLMSData.h" 20 20 21 // Export macro for DbtPlySick DLL for Windows only22 #ifdef WIN3223 # ifdef DBTPLYSICK_EXPORTS24 // make DLL25 # define DBTPLYSICK_API __declspec(dllexport)26 # else27 // use DLL28 # define DBTPLYSICK_API __declspec(dllimport)29 # endif30 #else31 // On other platforms, simply ignore this32 # define DBTPLYSICK_API33 #endif34 21 35 22 namespace pacpus { … … 37 24 class ShMem; 38 25 39 class DBTPLYSICK_API DbtPlySickLMSManager26 class PACPUSLIB_API DbtPlySickLMSManager 40 27 : public DbtPlyFileManager 41 28 { -
trunk/StdDbtPlayerComponents/DbtPlyStereoManager.h
r50 r110 16 16 namespace pacpus { 17 17 18 class STDDBTPLAYERCOMPONENTS_API DbtPlyStereoManager18 class PACPUSLIB_API DbtPlyStereoManager 19 19 : public DbtPlyFileManager 20 20 { -
trunk/StdDbtPlayerComponents/DbtPlyVtgManager.h
r109 r110 30 30 class ComponentManager; 31 31 32 class DBTPLYGPS_API DbtPlyVtgManager32 class PACPUSLIB_API DbtPlyVtgManager 33 33 : public DbtPlyFileManager 34 34 { -
trunk/StdDbtPlayerComponents/ImageViewer.cpp
r16 r110 28 28 #include <QPaintEvent> 29 29 #include <QPixmap> 30 31 namespace pacpus { 30 32 31 33 using namespace std; … … 106 108 cout << "duration = " << (int)(road_time() - tic_) << " " << text << "\n"; 107 109 } 110 111 } -
trunk/StdDbtPlayerComponents/ImageViewer.h
r50 r110 13 13 #define IMAGEVIEWER_H 14 14 15 #include "StdDbtPlayerComponentsConfig.h"16 15 #include "Pacpus/kernel/road_time.h" 17 18 //# include "../../include/VisualMemoryManager/struct.h"19 16 20 17 #include <QFrame> … … 22 19 class QMutex; 23 20 24 class STDDBTPLAYERCOMPONENTS_API ImageViewer 21 namespace pacpus { 22 23 class ImageViewer 25 24 : public QFrame 26 25 { … … 48 47 }; 49 48 49 } 50 50 #endif // IMAGEVIEWER_H
Note:
See TracChangeset
for help on using the changeset viewer.