Changeset 104 in pacpussensors for trunk/Sick
- Timestamp:
- Nov 22, 2015, 11:00:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Sick/SickLDMRSData.h
r71 r104 17 17 #include "Pacpus/kernel/cstdint.h" 18 18 #include "Pacpus/kernel/road_time.h" 19 #include <QVector> 19 20 20 21 // Export macro for SickLDMRS DLL for Windows only … … 83 84 uint64_t endNtpTime; //!< NTP time last measurement 84 85 uint16_t ticksPerRot; //!< Angle ticks per rotation (used to compute the real angle of a point) 85 int16_t startAngle; //!< Angle of the first measured value86 int16_t endAngle; //!< Angle of the last measured value86 int16_t startAngle; //!< Angle of the first measured value 87 int16_t endAngle; //!< Angle of the last measured value 87 88 uint16_t numPoints; //!< Number of scanned points during this scan @see ScanPoint 88 89 … … 124 125 * Data type 0x2221 @see DataHeader 125 126 */ 127 126 128 struct SICKLDMRS_API ScanObject{ 127 129 // TODO … … 136 138 typedef struct 137 139 { 138 uint64_t timeStartFromSensor; //!< NTP time (creation of the message on sensor).140 uint64_t timeStartFromSensor; //!< NTP time (creation of the message on sensor). 139 141 ScanHeader hScan; //!< General information about points recorded. @see ScanHeader 140 142 road_time_t time; //!< DBT timestamp. … … 142 144 int32_t dataPos; //!< The position of the data in the binary file associated to the dbt file (utc file). 143 145 } SickLDMRS_dbt; 146 147 /*! 148 * \brief The Sick LDMRS scan struct 149 * 150 * Used to describe one complete scan 151 * @see DataHeader 152 */ 153 struct SICKLDMRS_API SickLDMRSScan{ 154 uint64_t timeStartFromSensor; //!< NTP time (creation of the message on sensor). 155 ScanHeader header; //!< General information about points recorded. 156 QVector<ScanPoint> points; //!< Scan point cloud 157 road_time_t time; //!< DBT timestamp. 158 road_timerange_t timerange; //!< DBT timerange. 159 }; 144 160 145 161 #ifdef SICKLDMRS_SH_MEM
Note:
See TracChangeset
for help on using the changeset viewer.