#include <cstdint>#include <mrpt/core/exceptions.h>#include <time.h>#include "xsens_std.h"#include "xsens_time.h"#include "cmtf.h"

Go to the source code of this file.
Classes | |
| struct | CmtDeviceConfiguration |
| Structure containing a full device configuration as returned by the ReqConfig message. More... | |
| struct | CmtDeviceConfiguration::_devInfo |
| struct | CmtDataFormat |
| A structure for storing data formats. More... | |
| struct | CmtVersion |
| A structure for storing the firmware version. More... | |
| struct | CmtSyncInSettings |
| A structure for storing sync in settings. More... | |
| struct | CmtSyncOutSettings |
| A structure for storing sync out settings. More... | |
| struct | CmtUtcTime |
| A structure for storing UTC Time values. More... | |
| struct | CmtDeviceMode |
| A structure for storing device modes. More... | |
| struct | CmtDeviceMode2 |
| A structure for storing device modes using period and skip factor (new default) More... | |
| struct | CmtScenario |
| A structure for storing scenario information. More... | |
| struct | CmtBinaryData |
| struct | CmtPortInfo |
| Structure for storing information about a serial port. More... | |
| struct | CmtShortVector |
| struct | CmtRawData |
| struct | CmtRawGpsData |
| struct | CmtAnalogInData |
| struct | CmtVector |
| struct | CmtCalData |
| struct | CmtQuat |
| struct | CmtEuler |
| struct | CmtMatrix |
| struct | CmtGpsSatelliteInfo |
| struct | CmtGpsStatus |
Typedefs | |
| typedef uint32_t | CmtDeviceId |
| The type of a Device Id. More... | |
| typedef uint32_t | CmtOutputMode |
| An output mode bit-field. More... | |
| typedef uint64_t | CmtOutputSettings |
| An output settings bit-field. More... | |
| typedef uint16_t | CmtMtTimeStamp |
| An MT timestamp (sample count) More... | |
| typedef XsensResultValue(__cdecl * | CmtCallbackFunction) (int32_t, CmtCallbackSelector, void *, void *) |
| typedef uint64_t | CmtTimeStamp |
Enumerations | |
| enum | CmtControlLine { CMT_CONTROL_DCD = 0x0001, CMT_CONTROL_RD = 0x0002, CMT_CONTROL_TD = 0x0004, CMT_CONTROL_DTR = 0x0008, CMT_CONTROL_GND = 0x0010, CMT_CONTROL_DSR = 0x0020, CMT_CONTROL_RTS = 0x0040, CMT_CONTROL_CTS = 0x0080, CMT_CONTROL_RI = 0x0100 } |
| enum | CmtResetMethod { CMT_RESETORIENTATION_STORE = 0, CMT_RESETORIENTATION_HEADING, CMT_RESETORIENTATION_GLOBAL, CMT_RESETORIENTATION_OBJECT, CMT_RESETORIENTATION_ALIGN } |
| enum | CmtXmSyncMode { CMT_XM_SYNC_OFF = 0x00, CMT_XM_SYNC_PWM = 0x01, CMT_XM_SYNC_MASTER = 0x10, CMT_XM_SYNC_SLAVE = 0x20, CMT_XM_SYNC_TOGGLE = 0x40 } |
| enum | CmtCallbackSelector { CMT_CALLBACK_ONMEASUREMENTPREPARE = 0, CMT_CALLBACK_ONMEASUREMENTSTART = 1, CMT_CALLBACK_ONMEASUREMENTSTOP = 2, CMT_CALLBACK_ONPOSTPROCESS = 3, CMT_CALLBACK_ONBYTESRECEIVED = 4, CMT_CALLBACK_ONMESSAGERECEIVED = 5, CMT_CALLBACK_ONMESSAGESENT = 6 } |
| enum | CmtQueueMode { CMT_QM_FIFO = 0, CMT_QM_LAST = 1, CMT_QM_RAW = 2 } |
| #define CMT1_DEFAULT_TIMEOUT 10 |
| #define CMT2_DATA_QUEUE_SIZE 60 |
| #define CMT3_CONFIG_TIMEOUT 100 |
| #define CMT3_DEFAULT_TIMEOUT_CONF 3000 |
| #define CMT3_DEFAULT_TIMEOUT_MEAS 16 |
| #define CMT4_DEFAULT_TIMEOUT_CONF CMT3_DEFAULT_TIMEOUT_CONF |
| #define CMT4_DEFAULT_TIMEOUT_DATA 3000 |
| #define CMT4_DEFAULT_TIMEOUT_MEAS 1 |
| #define CMT4_MEASUREMENT_REQ_TIMEOUT 100 |
| #define CMT_DEFAULT_BAUD_RATE CMT_BAUD_RATE_115K2 |
| #define CMT_DEFAULT_OUTPUT_MODE CMT_OUTPUTMODE_ORIENT |
| #define CMT_DEFAULT_OUTPUT_SETTINGS |
| #define CMT_DEFAULT_READ_BUFFER_SIZE (CMT_MAXDATALEN * 8) |
| #define CMT_DEFAULT_WRITE_BUFFER_SIZE CMT_MAXDATALEN |
| #define CMT_LEN_AVAILABLESCENARIOS (CMT_MAX_SCENARIOS_IN_MT * CMT_LEN_SCENARIOFULL) |
| #define CMT_LEN_SCENARIOFULL (1 + 1 + CMT_LEN_SCENARIOLABEL) |
| #define CMT_MAX_DEVICES (CMT_MAX_PORTS_PER_THREAD * CMT_MAX_DEVICES_PER_PORT) |
| #define CMT_MAX_PACKETS_PER_BUNDLE CMT_MAX_PORTS_PER_THREAD |
| #define CMT_MAXGARBAGE (CMT_MAXMSGLEN + 1) |
| #define CMT_MAXMSGLEN (CMT_MAXDATALEN + 7) |
| #define CMT_MAXSHORTMSGLEN (CMT_MAXSHORTDATALEN + 5) |
| #define CMT_OUTPUTSETTINGS_AUXILIARYMODE_AIN1_MASK 0x00000400 |
| #define CMT_OUTPUTSETTINGS_AUXILIARYMODE_AIN2_MASK 0x00000800 |
| #define CMT_OUTPUTSETTINGS_ORIENTMODE_QUATERNION 0x00000000 |
| #define CMT_OUTPUTSETTINGS_POSITIONMODE_LLA_WGS84 0x00000000 |
| #define CMT_SYNC_CLOCK_NS_TO_TICKS (CMT_SYNC_CLOCKFREQMHZ * 1.0e-3) |
| #define CMT_SYNC_CLOCK_TICKS_TO_NS (1.0e3 / CMT_SYNC_CLOCKFREQMHZ) |
| typedef XsensResultValue(__cdecl* CmtCallbackFunction) (int32_t, CmtCallbackSelector, void *, void *) |
| typedef uint32_t CmtDeviceId |
| typedef uint16_t CmtMtTimeStamp |
| typedef uint32_t CmtOutputMode |
| typedef uint64_t CmtOutputSettings |
| typedef uint64_t CmtTimeStamp |
| enum CmtCallbackSelector |
| enum CmtControlLine |
| enum CmtQueueMode |
| enum CmtResetMethod |
| enum CmtXmSyncMode |
| Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |