- Timestamp:
- Dec 10, 2015, 10:49:18 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r105 r109 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) 84 add_subdirectory(StdDbtPlayerComponents) #require Gps 85 85 #add_subdirectory(TelnetClient) 86 86 #add_subdirectory(VelodyneComponent) -
trunk/Gps/CMakeLists.txt
r105 r109 112 112 optimized PacpusLib debug PacpusLib_d 113 113 optimized PacpusTools debug PacpusTools_d 114 NMEA0183LIB114 optimized NMEA0183LIB debug NMEA0183LIB_d 115 115 ) 116 116 if (WIN32) … … 133 133 # INSTALL 134 134 pacpus_install(${PROJECT_NAME}) 135 136 # install headers 137 install( 138 DIRECTORY 139 ${Gps_SOURCE_DIR} 140 DESTINATION 141 ${PACPUS_INSTALL_DIR}/include 142 FILES_MATCHING PATTERN "*.h" 143 ) 144 # if WIN32 install driver dependencies -
trunk/StdDbtPlayerComponents/CMakeLists.txt
r108 r109 46 46 DbtPlyCPTComponent.h 47 47 48 DbtPlyGstManager.h 49 DbtPlyGgaManager.h 50 DbtPlyGpsConfig.h 51 DbtPlyVtgManager.h 52 48 53 #${PROJECT_NAME}.xml 49 54 #${PROJECT_NAME}_d.xml … … 53 58 DbtPlySickLMSManager.cpp 54 59 DbtPlySickLDMRSManager.cpp 55 60 56 61 DbtPlyAlascaManager.cpp 57 62 DbtPlyImageManager.cpp 58 63 DbtPlyCPTComponent.cpp 64 DbtPlySickLDMRSManager.cpp 65 66 DbtPlyGstManager.cpp 67 DbtPlyGgaManager.cpp 68 DbtPlyVtgManager.cpp 59 69 ) 60 70 … … 67 77 DbtPlyImageManager.h 68 78 DbtPlyCPTComponent.h 79 80 DbtPlyGstManager.h 81 DbtPlyGpsConfig.h 82 DbtPlyGgaManager.h 83 DbtPlyVtgManager.h 84 69 85 ) 70 86 -
trunk/StdDbtPlayerComponents/DbtPlyAlascaManager.h
r65 r109 5 5 // author: Gerald Dherbomez 6 6 // Copyright Heudiasyc UMR UTC/CNRS 6599 7 // 7 // 8 8 // version: $Id: $ 9 9 // 10 // purpose: 10 // purpose: 11 11 // ********************************************************************* 12 12 … … 17 17 18 18 #include "DbitePlayer/DbtPlyFileManager.h" 19 #include "structure/structure_telemetre.h"20 19 //#include "structure/structure_telemetre.h" 20 #include "../Alasca/AlascaData.h" 21 21 // Export macro for DbtPlyAlasca DLL for Windows only 22 22 #ifdef WIN32 … … 29 29 # endif 30 30 #else 31 // On other platforms, simply ignore this 32 # define DBTPLYALASCA_API 31 // On other platforms, simply ignore this 32 # define DBTPLYALASCA_API 33 33 #endif 34 34 35 35 namespace pacpus { 36 36 37 37 class ShMem; 38 38 -
trunk/StdDbtPlayerComponents/DbtPlyCPTComponent.h
r108 r109 43 43 44 44 45 #include "structure/structure_gps.h" 46 #include "structure/genericStructures.h" 47 45 #include "../Gps/structure_gps.h" 46 //#include "structure/genericStructures.h" 47 #include "Pacpus/kernel/road_time.h" 48 #include <QVector3D> 49 #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 } 48 66 //#include "../PoseViewer/PoseViewer.h" 49 67 -
trunk/StdDbtPlayerComponents/DbtPlyGstManager.cpp
r82 r109 55 55 56 56 // user interface 57 if ( mShowGui)57 if (hasGui()) 58 58 displayUI(); 59 59 -
trunk/StdDbtPlayerComponents/DbtPlyGstManager.h
r82 r109 20 20 21 21 #include "Pacpus/DbitePlayer/DbtPlyFileManager.h" 22 #include " Pacpus/structure/structure_gps.h"22 #include "../Gps/structure_gps.h" 23 23 #include "Pacpus/kernel/ComponentManager.h"//moved from .cpp 24 24 //#include "DbitePlayer/SensorTcpServer.h" //added -
trunk/StdDbtPlayerComponents/DbtPlyVtgManager.cpp
r82 r109 4 4 // 5 5 // author: Elie Al Alam & Gerald Dherbomez 6 // 6 // 7 7 // version: $Id: DbtPlyVtgManager.cpp 676 2008-06-26 10:33:57Z gdherbom $ 8 8 // … … 22 22 // Construction de la fabrique de composant DbtPlyVtgManager 23 23 ////////////////////////////////////////////////////////////////////////// 24 static ComponentFactory<DbtPlyVtgManager> sFactory("DbtPlyVtgManager"); 24 static ComponentFactory<DbtPlyVtgManager> sFactory("DbtPlyVtgManager"); 25 25 26 26 // double dist1[2]; … … 37 37 38 38 ////////////////////////////////////////////////////////////////////////// 39 // Destructor 39 // Destructor 40 40 DbtPlyVtgManager::~DbtPlyVtgManager() 41 41 { … … 45 45 ////////////////////////////////////////////////////////////////////////// 46 46 // Processes data 47 void DbtPlyVtgManager::processData(road_time_t /*t*/, road_timerange_t /*tr*/, void * buf)47 void DbtPlyVtgManager::processData(road_time_t t, road_timerange_t tr , void * buf) 48 48 { 49 49 val = (trame_vtg*)(buf); 50 51 // make local copy of VTG frame 52 memcpy(&mVtg.frame, val, sizeof(trame_vtg)); 53 mVtg.time = t; 54 mVtg.timerange = tr; 55 56 // send VTG data to output 57 checkedSend(outVtg, mVtg); 50 58 51 59 } … … 59 67 60 68 void DbtPlyVtgManager::startActivity() 61 { 69 { 62 70 DbtPlyFileManager::startActivity(); 63 // user interface 71 outVtg = getTypedOutput<TimestampedVtgFrame, DbtPlyVtgManager>("vtg"); 72 // user interface 64 73 } 65 74 … … 69 78 } 70 79 80 81 /************************************************************************ 82 * Called by the framework at initialization 83 ************************************************************************/ 84 void DbtPlyVtgManager::addInputs() 85 { 86 // uncomment to add an input 87 } 88 89 90 /************************************************************************ 91 * Called by the framework at initialization 92 ************************************************************************/ 93 void DbtPlyVtgManager::addOutputs() 94 { 95 // empty: no output 96 addOutput<TimestampedVtgFrame, DbtPlyVtgManager>("vtg"); 97 } 71 98 } // namespace pacpus -
trunk/StdDbtPlayerComponents/DbtPlyVtgManager.h
r82 r109 20 20 21 21 #include "Pacpus/DbitePlayer/DbtPlyFileManager.h" 22 #include " Pacpus/structure/structure_gps.h"22 #include "../Gps/structure_gps.h" 23 23 //#include "DbitePlayer/SensorTcpServer.h" //added 24 24 #include "Pacpus/PacpusTools/ShMem.h" … … 37 37 ~DbtPlyVtgManager(); 38 38 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config); 39 39 40 virtual void addInputs(); 41 virtual void addOutputs(); 40 42 protected: 41 43 void processData(road_time_t t, road_timerange_t tr , void * buffer); … … 45 47 private: 46 48 trame_vtg * val; 49 // Local copy of Vtg data with timestamp 50 TimestampedVtgFrame mVtg; 47 51 52 // Declaration of outputs 53 OutputInterface<TimestampedVtgFrame, DbtPlyVtgManager>* outVtg; 48 54 49 55 };
Note:
See TracChangeset
for help on using the changeset viewer.