MRPT  1.9.9
PacketInfo Struct Reference

Detailed Description

Contains offset information about data in the packet.

All items are initialized to XS_DATA_ITEM_NOT_AVAILABLE and set to their proper value by LegacyDataPacket::updateInfoList and/or the LegacyDataPacket update functions.

Definition at line 30 of file packetfixeddata.h.

#include <xSens_MT4/xcommunication/include/xsens/packetfixeddata.h>

Public Member Functions

 PacketInfo ()
 Default contructor, sets all values to XS_DATA_ITEM_NOT_AVAILABLE. More...
 

Public Attributes

uint16_t m_offset
 Offset of first data byte (whatever it is) More...
 
uint16_t m_rawData
 Offset of raw data. More...
 
uint16_t m_rawAcc
 Offset of raw acceleration data. More...
 
uint16_t m_rawGyr
 Offset of raw gyroscope data. More...
 
uint16_t m_rawMag
 Offset of raw magnetometer data. More...
 
uint16_t m_rawTemp [XS_MAX_TEMPERATURE_CHANNELS]
 Offset of raw temperature data. More...
 
uint16_t m_temp [XS_MAX_TEMPERATURE_CHANNELS]
 Offset of calibrated temperature data. More...
 
uint16_t m_calData
 Offset of calibrated data. More...
 
uint16_t m_calAcc
 Offset of calibrated acceleration data. More...
 
uint16_t m_calGyr
 Offset of calibrated gyroscope data. More...
 
uint16_t m_calMag
 Offset of calibrated magnetometer data. More...
 
uint16_t m_oriQuat
 Offset of orientation in quaternion format. More...
 
uint16_t m_oriEul
 Offset of orientation in euler format. More...
 
uint16_t m_oriMat
 Offset of orientation in matrix format. More...
 
uint16_t m_analogIn1
 Offset of analog in channel 1 data. More...
 
uint16_t m_analogIn2
 Offset of analog in channel 2 data. More...
 
uint16_t m_posLLA
 Offset of Latitude-Longitude-Altitude position data. More...
 
uint16_t m_velNEDorNWU
 Offset of velocity data. More...
 
uint16_t m_status
 Offset of status data. More...
 
uint16_t m_detailedStatus
 Offset of detailed status data. More...
 
uint16_t m_sc
 Offset of sample counter. More...
 
uint16_t m_utcTime
 Offset of UTC time data. More...
 
uint16_t m_utcNano
 Offset of nanosecond part of UTC time. More...
 
uint16_t m_utcYear
 Offset of year part of UTC time. More...
 
uint16_t m_utcMonth
 Offset of month part of UTC time. More...
 
uint16_t m_utcDay
 Offset of day part of UTC time. More...
 
uint16_t m_utcHour
 Offset of hour part of UTC time. More...
 
uint16_t m_utcMinute
 Offset of minute part of UTC time. More...
 
uint16_t m_utcSecond
 Offset of second part of UTC time. More...
 
uint16_t m_utcValid
 Offset of validity part of UTC time. More...
 
uint16_t m_acc_g
 Offset of acceleration in global frame. More...
 
uint16_t m_gpsPvtData
 Offset of GPS & pressure data. More...
 
uint16_t m_gpsPvtPressure
 Offset of pressure data. More...
 
uint16_t m_gpsPvtPressureAge
 Offset of pressure age. More...
 
uint16_t m_gpsPvtGpsData
 Offset of raw GPS data. More...
 
uint16_t m_gpsPvtItow
 Offset of raw GPS ITOW (Integer Time Of Week) data. More...
 
uint16_t m_gpsPvtLatitude
 Offset of raw GPS latitude data. More...
 
uint16_t m_gpsPvtLongitude
 Offset of raw GPS longitude data. More...
 
uint16_t m_gpsPvtHeight
 Offset of raw GPS height data. More...
 
uint16_t m_gpsPvtVeln
 Offset of raw GPS northward velocity data. More...
 
uint16_t m_gpsPvtVele
 Offset of raw GPS eastward velocity data. More...
 
uint16_t m_gpsPvtVeld
 Offset of raw GPS dowanward velocity data. More...
 
uint16_t m_gpsPvtHacc
 Offset of raw GPS horizontal accuracy estimate data. More...
 
uint16_t m_gpsPvtVacc
 Offset of raw GPS vertical accuracy estimate data. More...
 
uint16_t m_gpsPvtSacc
 Offset of raw GPS speed accuracy estimate data. More...
 
uint16_t m_gpsPvtGpsAge
 Offset of raw GPS age. More...
 
uint16_t m_mtwSdiData
 Offset of MTw SDI data. More...
 
uint16_t m_wClientId
 Offset of MTw SDI client ID data. More...
 
uint16_t m_wTimeSync
 Offset of MTw SDI time sync data. More...
 
uint16_t m_wFirstFrameNumber
 Offset of MTw SDI first frame number in interval data. More...
 
uint16_t m_wLastFrameNumber
 Offset of MTw SDI last frame number in interval data. More...
 
uint16_t m_wCurrentBias
 Offset of MTw SDI gyroscope bias data. More...
 
uint16_t m_wOrientationIncrement
 Offset of MTw SDI orientation increment data. More...
 
uint16_t m_wVelocityIncrement
 Offset of MTw SDI velocity increment data. More...
 
uint16_t m_wAidingData
 Offset of MTw SDI aiding data. More...
 
uint16_t m_wBaroMeter
 Offset of MTw SDI barometer data. More...
 
uint16_t m_wMagnetoMeter
 Offset of MTw SDI magnetometer data. More...
 
uint16_t m_wRssi
 Offset of MTw SDI RSSI data. More...
 
uint16_t m_size
 Total size of the data. More...
 
uint16_t m_doubleBoundary
 Boundary where the original data format is ignored and values are stored in double precision. More...
 

Constructor & Destructor Documentation

◆ PacketInfo()

PacketInfo::PacketInfo ( )
inline

Default contructor, sets all values to XS_DATA_ITEM_NOT_AVAILABLE.

Definition at line 158 of file packetfixeddata.h.

Member Data Documentation

◆ m_acc_g

◆ m_analogIn1

uint16_t PacketInfo::m_analogIn1

◆ m_analogIn2

uint16_t PacketInfo::m_analogIn2

◆ m_calAcc

◆ m_calData

uint16_t PacketInfo::m_calData

◆ m_calGyr

◆ m_calMag

◆ m_detailedStatus

uint16_t PacketInfo::m_detailedStatus

◆ m_doubleBoundary

uint16_t PacketInfo::m_doubleBoundary

Boundary where the original data format is ignored and values are stored in double precision.

Definition at line 154 of file packetfixeddata.h.

Referenced by LegacyDataPacket::originalMessage(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtData

uint16_t PacketInfo::m_gpsPvtData

◆ m_gpsPvtGpsAge

uint16_t PacketInfo::m_gpsPvtGpsAge

Offset of raw GPS age.

Definition at line 125 of file packetfixeddata.h.

Referenced by LegacyDataPacket::gpsPvtData(), LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtGpsData

uint16_t PacketInfo::m_gpsPvtGpsData

Offset of raw GPS data.

Definition at line 103 of file packetfixeddata.h.

Referenced by LegacyDataPacket::gpsPvtData(), LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtHacc

uint16_t PacketInfo::m_gpsPvtHacc

Offset of raw GPS horizontal accuracy estimate data.

Definition at line 119 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtHeight

uint16_t PacketInfo::m_gpsPvtHeight

Offset of raw GPS height data.

Definition at line 111 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtItow

uint16_t PacketInfo::m_gpsPvtItow

Offset of raw GPS ITOW (Integer Time Of Week) data.

Definition at line 105 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtLatitude

uint16_t PacketInfo::m_gpsPvtLatitude

Offset of raw GPS latitude data.

Definition at line 107 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtLongitude

uint16_t PacketInfo::m_gpsPvtLongitude

Offset of raw GPS longitude data.

Definition at line 109 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtPressure

◆ m_gpsPvtPressureAge

◆ m_gpsPvtSacc

uint16_t PacketInfo::m_gpsPvtSacc

Offset of raw GPS speed accuracy estimate data.

Definition at line 123 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtVacc

uint16_t PacketInfo::m_gpsPvtVacc

Offset of raw GPS vertical accuracy estimate data.

Definition at line 121 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtVeld

uint16_t PacketInfo::m_gpsPvtVeld

Offset of raw GPS dowanward velocity data.

Definition at line 117 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtVele

uint16_t PacketInfo::m_gpsPvtVele

Offset of raw GPS eastward velocity data.

Definition at line 115 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_gpsPvtVeln

uint16_t PacketInfo::m_gpsPvtVeln

Offset of raw GPS northward velocity data.

Definition at line 113 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setGpsPvtData(), and LegacyDataPacket::updateInfoList().

◆ m_mtwSdiData

uint16_t PacketInfo::m_mtwSdiData

◆ m_offset

uint16_t PacketInfo::m_offset

Offset of first data byte (whatever it is)

Definition at line 33 of file packetfixeddata.h.

Referenced by LegacyDataPacket::updateInfoList().

◆ m_oriEul

◆ m_oriMat

◆ m_oriQuat

◆ m_posLLA

uint16_t PacketInfo::m_posLLA

Offset of Latitude-Longitude-Altitude position data.

Definition at line 67 of file packetfixeddata.h.

Referenced by LegacyDataPacket::containsPositionLLA(), LegacyDataPacket::positionLLA(), LegacyDataPacket::setPositionLLA(), and LegacyDataPacket::updateInfoList().

◆ m_rawAcc

◆ m_rawData

◆ m_rawGyr

◆ m_rawMag

◆ m_rawTemp

◆ m_sc

◆ m_size

◆ m_status

uint16_t PacketInfo::m_status

◆ m_temp

Offset of calibrated temperature data.

Note that usually only the first item is used.

Definition at line 47 of file packetfixeddata.h.

Referenced by LegacyDataPacket::containsTemperature(), LegacyDataPacket::setTemperature(), LegacyDataPacket::temperature(), LegacyDataPacket::temperatureChannelCount(), and LegacyDataPacket::updateInfoList().

◆ m_utcDay

uint16_t PacketInfo::m_utcDay

Offset of day part of UTC time.

Definition at line 85 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setUtcTime(), and LegacyDataPacket::updateInfoList().

◆ m_utcHour

uint16_t PacketInfo::m_utcHour

Offset of hour part of UTC time.

Definition at line 87 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setUtcTime(), and LegacyDataPacket::updateInfoList().

◆ m_utcMinute

uint16_t PacketInfo::m_utcMinute

Offset of minute part of UTC time.

Definition at line 89 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setUtcTime(), and LegacyDataPacket::updateInfoList().

◆ m_utcMonth

uint16_t PacketInfo::m_utcMonth

Offset of month part of UTC time.

Definition at line 83 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setUtcTime(), LegacyDataPacket::updateInfoList(), and LegacyDataPacket::utcTime().

◆ m_utcNano

uint16_t PacketInfo::m_utcNano

Offset of nanosecond part of UTC time.

Definition at line 79 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setUtcTime(), LegacyDataPacket::updateInfoList(), and LegacyDataPacket::utcTime().

◆ m_utcSecond

uint16_t PacketInfo::m_utcSecond

Offset of second part of UTC time.

Definition at line 91 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setUtcTime(), and LegacyDataPacket::updateInfoList().

◆ m_utcTime

uint16_t PacketInfo::m_utcTime

Offset of UTC time data.

Definition at line 77 of file packetfixeddata.h.

Referenced by LegacyDataPacket::containsUtcTime(), LegacyDataPacket::setUtcTime(), and LegacyDataPacket::updateInfoList().

◆ m_utcValid

uint16_t PacketInfo::m_utcValid

Offset of validity part of UTC time.

Definition at line 93 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setUtcTime(), and LegacyDataPacket::updateInfoList().

◆ m_utcYear

uint16_t PacketInfo::m_utcYear

Offset of year part of UTC time.

Definition at line 81 of file packetfixeddata.h.

Referenced by LegacyDataPacket::setUtcTime(), LegacyDataPacket::updateInfoList(), and LegacyDataPacket::utcTime().

◆ m_velNEDorNWU

uint16_t PacketInfo::m_velNEDorNWU

◆ m_wAidingData

uint16_t PacketInfo::m_wAidingData

◆ m_wBaroMeter

◆ m_wClientId

uint16_t PacketInfo::m_wClientId

Offset of MTw SDI client ID data.

Definition at line 129 of file packetfixeddata.h.

Referenced by LegacyDataPacket::mtwSdiData(), LegacyDataPacket::setMtwSdiData(), and LegacyDataPacket::updateInfoList().

◆ m_wCurrentBias

uint16_t PacketInfo::m_wCurrentBias

Offset of MTw SDI gyroscope bias data.

Definition at line 137 of file packetfixeddata.h.

Referenced by LegacyDataPacket::mtwSdiData(), LegacyDataPacket::setMtwSdiData(), and LegacyDataPacket::updateInfoList().

◆ m_wFirstFrameNumber

uint16_t PacketInfo::m_wFirstFrameNumber

Offset of MTw SDI first frame number in interval data.

Definition at line 133 of file packetfixeddata.h.

Referenced by LegacyDataPacket::mtwSdiData(), LegacyDataPacket::setMtwSdiData(), and LegacyDataPacket::updateInfoList().

◆ m_wLastFrameNumber

uint16_t PacketInfo::m_wLastFrameNumber

Offset of MTw SDI last frame number in interval data.

Definition at line 135 of file packetfixeddata.h.

Referenced by LegacyDataPacket::frameCounter(), LegacyDataPacket::mtwSdiData(), LegacyDataPacket::setMtwSdiData(), and LegacyDataPacket::updateInfoList().

◆ m_wMagnetoMeter

uint16_t PacketInfo::m_wMagnetoMeter

Offset of MTw SDI magnetometer data.

Definition at line 147 of file packetfixeddata.h.

Referenced by LegacyDataPacket::mtwSdiData(), LegacyDataPacket::setMtwSdiData(), and LegacyDataPacket::updateInfoList().

◆ m_wOrientationIncrement

uint16_t PacketInfo::m_wOrientationIncrement

◆ m_wRssi

uint16_t PacketInfo::m_wRssi

Offset of MTw SDI RSSI data.

Definition at line 149 of file packetfixeddata.h.

Referenced by LegacyDataPacket::mtwSdiData(), LegacyDataPacket::setMtwSdiData(), and LegacyDataPacket::updateInfoList().

◆ m_wTimeSync

uint16_t PacketInfo::m_wTimeSync

Offset of MTw SDI time sync data.

Definition at line 131 of file packetfixeddata.h.

Referenced by LegacyDataPacket::mtwSdiData(), LegacyDataPacket::setMtwSdiData(), and LegacyDataPacket::updateInfoList().

◆ m_wVelocityIncrement

uint16_t PacketInfo::m_wVelocityIncrement



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019