Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Member Functions | Public Attributes
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 28 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. Note that usually only the first item is used. More...
 
uint16_t m_temp [XS_MAX_TEMPERATURE_CHANNELS]
 Offset of calibrated temperature data. Note that usually only the first item is used. 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 92 of file packetfixeddata.h.

Member Data Documentation

◆ m_acc_g

uint16_t PacketInfo::m_acc_g

◆ m_analogIn1

uint16_t PacketInfo::m_analogIn1

◆ m_analogIn2

uint16_t PacketInfo::m_analogIn2

◆ m_calAcc

uint16_t PacketInfo::m_calAcc

◆ m_calData

uint16_t PacketInfo::m_calData

◆ m_calGyr

uint16_t PacketInfo::m_calGyr

◆ m_calMag

uint16_t PacketInfo::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 88 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 74 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 63 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 71 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 67 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 64 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 65 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 66 of file packetfixeddata.h.

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

◆ m_gpsPvtPressure

uint16_t PacketInfo::m_gpsPvtPressure

◆ m_gpsPvtPressureAge

uint16_t PacketInfo::m_gpsPvtPressureAge

◆ m_gpsPvtSacc

uint16_t PacketInfo::m_gpsPvtSacc

Offset of raw GPS speed accuracy estimate data.

Definition at line 73 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 72 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 70 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 69 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 68 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 29 of file packetfixeddata.h.

Referenced by LegacyDataPacket::updateInfoList().

◆ m_oriEul

uint16_t PacketInfo::m_oriEul

◆ m_oriMat

uint16_t PacketInfo::m_oriMat

◆ m_oriQuat

uint16_t PacketInfo::m_oriQuat

◆ m_posLLA

uint16_t PacketInfo::m_posLLA

Offset of Latitude-Longitude-Altitude position data.

Definition at line 45 of file packetfixeddata.h.

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

◆ m_rawAcc

uint16_t PacketInfo::m_rawAcc

◆ m_rawData

uint16_t PacketInfo::m_rawData

◆ m_rawGyr

uint16_t PacketInfo::m_rawGyr

◆ m_rawMag

uint16_t PacketInfo::m_rawMag

◆ m_rawTemp

uint16_t PacketInfo::m_rawTemp[XS_MAX_TEMPERATURE_CHANNELS]

◆ m_sc

uint16_t PacketInfo::m_sc

◆ m_size

uint16_t PacketInfo::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 35 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 54 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 55 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 56 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 53 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 51 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 57 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 50 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 58 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 52 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

uint16_t PacketInfo::m_wBaroMeter

◆ m_wClientId

uint16_t PacketInfo::m_wClientId

Offset of MTw SDI client ID data.

Definition at line 76 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 80 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 78 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 79 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 85 of file packetfixeddata.h.

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

◆ m_wOrientationIncrement

uint16_t PacketInfo::m_wOrientationIncrement

Offset of MTw SDI orientation increment data.

Definition at line 81 of file packetfixeddata.h.

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

◆ m_wRssi

uint16_t PacketInfo::m_wRssi

Offset of MTw SDI RSSI data.

Definition at line 86 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 77 of file packetfixeddata.h.

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

◆ m_wVelocityIncrement

uint16_t PacketInfo::m_wVelocityIncrement

Offset of MTw SDI velocity increment data.

Definition at line 82 of file packetfixeddata.h.

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




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019