#include <cstdint>
#include <mrpt/utils/mrpt_macros.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 |
The default timeout value for blocking CMT1s operations in ms.
Definition at line 805 of file cmtdef.h.
Referenced by xsens::Cmt1s::Cmt1s().
#define CMT2_DATA_QUEUE_SIZE 60 |
#define CMT2_DEFAULT_TIMEOUT 50 |
Timeout in ms for level 2.
Definition at line 807 of file cmtdef.h.
Referenced by xsens::Cmt2s::Cmt2s().
#define CMT3_CONFIG_TIMEOUT 100 |
The timeout value for "goto config"-message acknowledgement.
Definition at line 803 of file cmtdef.h.
Referenced by xsens::Cmt3::gotoConfig().
#define CMT3_DEFAULT_TIMEOUT_CONF 3000 |
The default timeout value for L3 configuration settings.
Definition at line 811 of file cmtdef.h.
Referenced by xsens::Cmt3::Cmt3().
#define CMT3_DEFAULT_TIMEOUT_MEAS 16 |
The default timeout value for L3 data reading.
Definition at line 809 of file cmtdef.h.
Referenced by xsens::Cmt3::Cmt3().
#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_BAUD_RATE_115K2 CBR_115200 |
Definition at line 750 of file cmtdef.h.
Referenced by xsens::cmtScanPort(), xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUD_RATE_19K2 CBR_19200 |
Definition at line 746 of file cmtdef.h.
Referenced by xsens::cmtScanPort(), xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUD_RATE_230K4 230400 |
Definition at line 751 of file cmtdef.h.
Referenced by xsens::cmtScanPort(), xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUD_RATE_38K4 CBR_38400 |
Definition at line 748 of file cmtdef.h.
Referenced by xsens::cmtScanPort(), xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUD_RATE_460K8 460800 |
Definition at line 752 of file cmtdef.h.
Referenced by xsens::cmtScanPort(), xsens::cmtScanPorts(), xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUD_RATE_57K6 CBR_57600 |
Definition at line 749 of file cmtdef.h.
Referenced by xsens::cmtScanPort(), xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUD_RATE_921K6 921600 |
Definition at line 753 of file cmtdef.h.
Referenced by xsens::cmtScanPort(), xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUD_RATE_9600 CBR_9600 |
Definition at line 744 of file cmtdef.h.
Referenced by xsens::cmtScanPort(), xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUDCODE_115K2 0x02 |
Definition at line 506 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUDCODE_19K2 0x07 |
Definition at line 501 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUDCODE_230K4 0x01 |
Definition at line 507 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUDCODE_38K4 0x05 |
Definition at line 503 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUDCODE_460K8 0x00 |
Definition at line 508 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUDCODE_57K6 0x04 |
Definition at line 504 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUDCODE_921K6 0x80 |
Definition at line 509 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BAUDCODE_9K6 0x09 |
Definition at line 499 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_BID_BROADCAST (const uint8_t)0x00 |
Definition at line 1293 of file cmtdef.h.
Referenced by xsens::Cmt3::getBusIdInternal(), xsens::Cmt3::getEMtsData(), xsens::Cmt3::setDeviceMode2(), xsens::Cmt3::setGpsLeverArm(), and xsens::Cmt3::storeXkfState().
#define CMT_BID_INVALID (const uint8_t)0xFE |
Definition at line 1294 of file cmtdef.h.
Referenced by xsens::Cmt3::getBusIdInternal(), xsens::Cmt3::getDeviceMode2(), xsens::Cmt3::getEMtsData(), xsens::Cmt3::setDeviceMode2(), xsens::Cmt3::setGpsLeverArm(), and xsens::Cmt3::storeXkfState().
#define CMT_BID_MASTER 0xFF |
Definition at line 61 of file cmtdef.h.
Referenced by xsens::Message::clear(), xsens::Cmt3::getBatteryLevel(), xsens::Cmt3::getBluetoothState(), xsens::Cmt3::getBusId(), xsens::Cmt3::getBusIdInternal(), xsens::Cmt3::getBusPowerState(), xsens::Cmt3::getConfiguration(), xsens::Cmt3::getDeviceId(), xsens::Cmt3::getDeviceMode2(), xsens::Cmt3::getEMtsData(), xsens::Cmt3::getErrorMode(), xsens::Cmt3::getSerialBaudrate(), xsens::Cmt3::getSyncInMode(), xsens::Cmt3::getSyncInOffset(), xsens::Cmt3::getSyncInSettings(), xsens::Cmt3::getSyncInSkipFactor(), xsens::Cmt3::getSyncMode(), xsens::Cmt3::getSyncOutMode(), xsens::Cmt3::getSyncOutOffset(), xsens::Cmt3::getSyncOutPulseWidth(), xsens::Cmt3::getSyncOutSettings(), xsens::Cmt3::getSyncOutSkipFactor(), xsens::Cmt3::getXmOutputMode(), xsens::Cmt3::gotoConfig(), xsens::Cmt3::gotoMeasurement(), xsens::Cmt3::initBus(), xsens::Message::Message(), xsens::Cmt3::reset(), xsens::Cmt3::setBaudrate(), xsens::Cmt3::setBluetoothState(), xsens::Cmt3::setBusPowerState(), xsens::Cmt3::setDeviceMode2(), xsens::Cmt3::setErrorMode(), xsens::Cmt3::setSyncInMode(), xsens::Cmt3::setSyncInOffset(), xsens::Cmt3::setSyncInSettings(), xsens::Cmt3::setSyncInSkipFactor(), xsens::Cmt3::setSyncMode(), xsens::Cmt3::setSyncOutMode(), xsens::Cmt3::setSyncOutOffset(), xsens::Cmt3::setSyncOutPulseWidth(), xsens::Cmt3::setSyncOutSettings(), xsens::Cmt3::setSyncOutSkipFactor(), xsens::Cmt3::setXmOutputMode(), and xsens::Cmt3::setXmPowerOff().
#define CMT_CONF_BLOCKLEN 20 |
Definition at line 553 of file cmtdef.h.
Referenced by xsens::Cmt3::getConfiguration().
#define CMT_DEFAULT_BAUD_RATE CMT_BAUD_RATE_115K2 |
The default baud rate of the Cmt1s serial communication.
Definition at line 798 of file cmtdef.h.
Referenced by xsens::Cmt2s::Cmt2s().
#define CMT_DEFAULT_OUTPUT_MODE CMT_OUTPUTMODE_ORIENT |
#define CMT_DEFAULT_OUTPUT_SETTINGS |
#define CMT_DEFAULT_PERIOD 1152 |
Definition at line 776 of file cmtdef.h.
Referenced by xsens::Cmt3::Cmt3().
#define CMT_DEFAULT_READ_BUFFER_SIZE (CMT_MAXDATALEN * 8) |
#define CMT_DEFAULT_SKIP 0 |
Definition at line 777 of file cmtdef.h.
Referenced by xsens::Cmt3::Cmt3().
#define CMT_DEFAULT_WRITE_BUFFER_SIZE CMT_MAXDATALEN |
#define CMT_DID_BROADCAST 0x80000000 |
Definition at line 928 of file cmtdef.h.
Referenced by xsens::Cmt3::createLogFile(), xsens::Cmt3::getBusIdInternal(), and xsens::Cmt3::setDeviceMode2().
#define CMT_DID_MASTER 0 |
Definition at line 929 of file cmtdef.h.
Referenced by xsens::Cmt3::getBusId(), xsens::Cmt3::getBusIdInternal(), and xsens::Cmt3::gotoConfig().
#define CMT_DID_TYPEH_MASK 0x00F00000 |
Definition at line 82 of file cmtdef.h.
Referenced by xsens::Cmt3::getAvailableScenarios(), xsens::Cmt3::isXm(), and xsens::Cmt3::setDeviceMode2().
#define CMT_DID_TYPEH_MTI_MTX 0x00300000 |
Definition at line 85 of file cmtdef.h.
Referenced by xsens::Cmt3::getAvailableScenarios().
#define CMT_DID_TYPEH_MTIG 0x00500000 |
Definition at line 86 of file cmtdef.h.
Referenced by xsens::Cmt3::getAvailableScenarios().
#define CMT_DID_TYPEH_XM 0x00100000 |
Definition at line 84 of file cmtdef.h.
Referenced by xsens::Cmt3::isXm(), and xsens::Cmt3::setDeviceMode2().
#define CMT_EMTS_SIZE 1056 |
Definition at line 1297 of file cmtdef.h.
Referenced by xsens::Cmt3::createLogFile(), and xsens::Cmt3::getEMtsData().
#define CMT_EXTLENCODE 0xFF |
Definition at line 63 of file cmtdef.h.
Referenced by xsens::findValidMessage(), xsens::Message::loadFromString(), xsens::Message::Message(), xsens::Cmt2s::readMessage(), xsens::Cmt2f::readMessage(), xsens::Message::resizeData(), and xsens::Cmt2s::waitForMessage().
#define CMT_GOTO_CONFIG_TRIES 3 |
Definition at line 772 of file cmtdef.h.
Referenced by xsens::Cmt3::Cmt3().
#define CMT_LEN_AVAILABLESCENARIOS (CMT_MAX_SCENARIOS_IN_MT * CMT_LEN_SCENARIOFULL) |
#define CMT_LEN_BAUDRATE 1 |
Definition at line 142 of file cmtdef.h.
Referenced by xsens::Cmt3::setBaudrate().
#define CMT_LEN_BTDISABLE 1 |
Definition at line 131 of file cmtdef.h.
Referenced by xsens::Cmt3::setBluetoothState().
#define CMT_LEN_BUSPWR 2 |
Definition at line 111 of file cmtdef.h.
Referenced by xsens::Cmt3::setBusPowerState().
#define CMT_LEN_ERRORMODE 2 |
Definition at line 198 of file cmtdef.h.
Referenced by xsens::Cmt3::setErrorMode().
#define CMT_LEN_GPSLEVERARM 12 |
Definition at line 294 of file cmtdef.h.
Referenced by xsens::Cmt3::setGpsLeverArm().
#define CMT_LEN_GRAVITYMAGNITUDE 4 |
Definition at line 288 of file cmtdef.h.
Referenced by xsens::Cmt3::setGravityMagnitude().
#define CMT_LEN_HEADING 4 |
Definition at line 224 of file cmtdef.h.
Referenced by xsens::Cmt3::setHeading().
#define CMT_LEN_LOCATIONID 2 |
Definition at line 236 of file cmtdef.h.
Referenced by xsens::Cmt3::setLocationId().
#define CMT_LEN_MAGNETICDECLINATION 4 |
Definition at line 230 of file cmtdef.h.
Referenced by xsens::Cmt3::setMagneticDeclination().
#define CMT_LEN_MSGEXTHEADER 6 |
Definition at line 66 of file cmtdef.h.
Referenced by xsens::Message::Message().
#define CMT_LEN_MSGEXTHEADERCS 7 |
Definition at line 68 of file cmtdef.h.
Referenced by xsens::findValidMessage(), xsens::Message::getTotalMessageSize(), xsens::Message::loadFromString(), xsens::Message::Message(), xsens::Cmt2s::readMessage(), xsens::Cmt2f::readMessage(), xsens::Message::resizeData(), and xsens::Cmt2s::waitForMessage().
#define CMT_LEN_MSGHEADER 4 |
Definition at line 65 of file cmtdef.h.
Referenced by xsens::Message::clear(), xsens::Message::Message(), and xsens::Cmt2s::waitForMessage().
#define CMT_LEN_MSGHEADERCS 5 |
Definition at line 67 of file cmtdef.h.
Referenced by xsens::findValidMessage(), xsens::Message::getTotalMessageSize(), xsens::Message::loadFromString(), xsens::Message::Message(), xsens::Cmt2s::readMessage(), xsens::Cmt2f::readMessage(), and xsens::Cmt2s::waitForMessage().
#define CMT_LEN_OPMODE 1 |
Definition at line 136 of file cmtdef.h.
Referenced by xsens::Cmt3::setXmOutputMode().
#define CMT_LEN_RESETORIENTATION 2 |
Definition at line 492 of file cmtdef.h.
Referenced by xsens::Cmt3::resetOrientation().
#define CMT_LEN_SCENARIOFULL (1 + 1 + CMT_LEN_SCENARIOLABEL) |
#define CMT_LEN_SCENARIOLABEL 20 |
Definition at line 270 of file cmtdef.h.
Referenced by xsens::Cmt3::getAvailableScenarios().
#define CMT_LEN_SETSCENARIO 1 |
Definition at line 282 of file cmtdef.h.
Referenced by xsens::Cmt3::setScenario().
#define CMT_LEN_STOREXKFSTATE 0 |
Definition at line 263 of file cmtdef.h.
Referenced by xsens::Cmt3::storeXkfState().
#define CMT_LEN_SYNCMODE 1 |
Definition at line 148 of file cmtdef.h.
Referenced by xsens::Cmt3::setSyncMode().
#define CMT_MAX_DEVICES (CMT_MAX_PORTS_PER_THREAD * CMT_MAX_DEVICES_PER_PORT) |
#define CMT_MAX_DEVICES_PER_PORT 11 |
Definition at line 774 of file cmtdef.h.
Referenced by xsens::Cmt3::refreshCache(), and xsens::Cmt3::~Cmt3().
#define CMT_MAX_FILENAME_LENGTH 512 |
Definition at line 926 of file cmtdef.h.
Referenced by xsens::Cmt1f::create(), xsens::Cmt1f::getName(), xsens::Cmt3::isLogFileOpen(), xsens::Cmt1f::open(), xsens::Cmt1s::readData(), and xsens::Cmt1s::writeData().
#define CMT_MAX_PACKETS_PER_BUNDLE CMT_MAX_PORTS_PER_THREAD |
#define CMT_MAX_SCENARIOS_IN_MT 5 |
Definition at line 1095 of file cmtdef.h.
Referenced by xsens::Cmt3::getAvailableScenarios().
#define CMT_MAX_SVINFO 16 |
Definition at line 1275 of file cmtdef.h.
Referenced by xsens::Cmt3::getGpsStatus().
#define CMT_MAXDATALEN 8192 |
Definition at line 75 of file cmtdef.h.
Referenced by xsens::Cmt2s::readMessage(), xsens::Cmt2f::readMessage(), and xsens::Cmt2s::waitForMessage().
#define CMT_MAXGARBAGE (CMT_MAXMSGLEN + 1) |
#define CMT_MAXMSGLEN (CMT_MAXDATALEN + 7) |
Definition at line 77 of file cmtdef.h.
Referenced by xsens::Message::Message(), xsens::Cmt2s::readMessage(), and xsens::Cmt2f::readMessage().
#define CMT_MAXSHORTMSGLEN (CMT_MAXSHORTDATALEN + 5) |
#define CMT_MID_BUSPWR 0x08 |
Definition at line 110 of file cmtdef.h.
Referenced by xsens::Cmt3::getBusPowerState(), and xsens::Cmt3::setBusPowerState().
#define CMT_MID_CONFIGURATION 0x0D |
Definition at line 118 of file cmtdef.h.
Referenced by xsens::Cmt3::getConfiguration(), and xsens::Cmt3::refreshCache().
#define CMT_MID_EMTSDATA (const uint8_t)0x91 |
Definition at line 1296 of file cmtdef.h.
Referenced by xsens::Cmt3::getEMtsData().
#define CMT_MID_ERROR 0x42 |
Definition at line 474 of file cmtdef.h.
Referenced by xsens::Cmt3::getEMtsData(), xsens::Cmt3::gotoConfig(), xsens::Cmt3::readDataPacket(), xsens::Cmt3::setGpsLeverArm(), xsens::Cmt3::storeXkfState(), xsens::Cmt3::waitForDataMessage(), and xsens::Cmt2s::waitForMessage().
#define CMT_MID_GOTOCONFIG 0x30 |
Definition at line 297 of file cmtdef.h.
Referenced by xsens::Cmt3::gotoConfig().
#define CMT_MID_GOTOCONFIGACK 0x31 |
Definition at line 298 of file cmtdef.h.
Referenced by xsens::Cmt3::gotoConfig().
#define CMT_MID_GOTOMEASUREMENT 0x10 |
Definition at line 123 of file cmtdef.h.
Referenced by xsens::Cmt3::gotoMeasurement().
#define CMT_MID_GOTOMEASUREMENTACK 0x11 |
Definition at line 124 of file cmtdef.h.
Referenced by xsens::Cmt3::gotoMeasurement().
#define CMT_MID_INITBUS 0x02 |
Definition at line 97 of file cmtdef.h.
Referenced by xsens::Cmt3::initBus().
#define CMT_MID_MTDATA 0x32 |
Definition at line 300 of file cmtdef.h.
Referenced by xsens::Cmt3::readDataPacket(), and xsens::Cmt3::waitForDataMessage().
#define CMT_MID_REQAVAILABLESCENARIOS 0x62 |
Definition at line 272 of file cmtdef.h.
Referenced by xsens::Cmt3::getAvailableScenarios().
#define CMT_MID_REQBATLEVEL 0x88 |
Definition at line 247 of file cmtdef.h.
Referenced by xsens::Cmt3::getBatteryLevel().
#define CMT_MID_REQBAUDRATE 0x18 |
Definition at line 140 of file cmtdef.h.
Referenced by xsens::Cmt3::getSerialBaudrate(), and xsens::Cmt3::setBaudrate().
#define CMT_MID_REQBTDISABLE 0x14 |
Definition at line 129 of file cmtdef.h.
Referenced by xsens::Cmt3::getBluetoothState(), and xsens::Cmt3::setBluetoothState().
#define CMT_MID_REQCONFIGURATION 0x0C |
Definition at line 117 of file cmtdef.h.
Referenced by xsens::Cmt3::refreshCache().
#define CMT_MID_REQDATA 0x34 |
Definition at line 304 of file cmtdef.h.
Referenced by xsens::Cmt3::requestData().
#define CMT_MID_REQDATALENGTH 0x0A |
Definition at line 114 of file cmtdef.h.
Referenced by xsens::Cmt3::getDataLength().
#define CMT_MID_REQEMTS (const uint8_t)0x90 |
Definition at line 1295 of file cmtdef.h.
Referenced by xsens::Cmt3::getEMtsData().
#define CMT_MID_REQERRORMODE 0xDA |
Definition at line 196 of file cmtdef.h.
Referenced by xsens::Cmt3::getErrorMode(), and xsens::Cmt3::setErrorMode().
#define CMT_MID_REQFWREV 0x12 |
Definition at line 125 of file cmtdef.h.
Referenced by xsens::Cmt3::getFirmwareRevision().
#define CMT_MID_REQGPSLEVERARM 0x68 |
Definition at line 290 of file cmtdef.h.
Referenced by xsens::Cmt3::getGpsLeverArm().
#define CMT_MID_REQGPSSTATUS 0xA6 |
Definition at line 494 of file cmtdef.h.
Referenced by xsens::Cmt3::getGpsStatus().
#define CMT_MID_REQGRAVITYMAGNITUDE 0x66 |
Definition at line 284 of file cmtdef.h.
Referenced by xsens::Cmt3::getGravityMagnitude().
#define CMT_MID_REQHEADING 0x82 |
Definition at line 222 of file cmtdef.h.
Referenced by xsens::Cmt3::getHeading(), and xsens::Cmt3::setHeading().
#define CMT_MID_REQLOCATIONID 0x84 |
Definition at line 234 of file cmtdef.h.
Referenced by xsens::Cmt3::getLocationId(), and xsens::Cmt3::setLocationId().
#define CMT_MID_REQMAGNETICDECLINATION 0x6A |
Definition at line 228 of file cmtdef.h.
Referenced by xsens::Cmt3::getMagneticDeclination().
#define CMT_MID_REQOPMODE 0x16 |
Definition at line 134 of file cmtdef.h.
Referenced by xsens::Cmt3::getXmOutputMode(), and xsens::Cmt3::setXmOutputMode().
#define CMT_MID_REQOUTPUTMODE 0xD0 |
Definition at line 161 of file cmtdef.h.
Referenced by xsens::Cmt3::setDeviceMode2().
#define CMT_MID_REQOUTPUTMODEACK 0xD1 |
Definition at line 162 of file cmtdef.h.
Referenced by xsens::Cmt3::setDeviceMode2().
#define CMT_MID_REQOUTPUTSETTINGS 0xD2 |
Definition at line 167 of file cmtdef.h.
Referenced by xsens::Cmt3::setDeviceMode2().
#define CMT_MID_REQOUTPUTSETTINGSACK 0xD3 |
Definition at line 168 of file cmtdef.h.
Referenced by xsens::Cmt3::setDeviceMode2().
#define CMT_MID_REQOUTPUTSKIPFACTOR 0xD4 |
Definition at line 173 of file cmtdef.h.
Referenced by xsens::Cmt3::setDeviceMode2().
#define CMT_MID_REQOUTPUTSKIPFACTORACK 0xD5 |
Definition at line 174 of file cmtdef.h.
Referenced by xsens::Cmt3::setDeviceMode2().
#define CMT_MID_REQPERIOD 0x04 |
Definition at line 100 of file cmtdef.h.
Referenced by xsens::Cmt3::setDeviceMode2().
#define CMT_MID_REQPERIODACK 0x05 |
Definition at line 101 of file cmtdef.h.
Referenced by xsens::Cmt3::setDeviceMode2().
#define CMT_MID_REQPRODUCTCODE 0x1C |
Definition at line 152 of file cmtdef.h.
Referenced by xsens::Cmt3::getProductCode().
#define CMT_MID_REQSCENARIO 0x64 |
Definition at line 277 of file cmtdef.h.
Referenced by xsens::Cmt3::getScenario().
#define CMT_MID_REQSYNCINSETTINGS 0xD6 |
Definition at line 179 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncInMode(), xsens::Cmt3::getSyncInOffset(), xsens::Cmt3::getSyncInSettings(), xsens::Cmt3::getSyncInSkipFactor(), xsens::Cmt3::setSyncInMode(), xsens::Cmt3::setSyncInOffset(), xsens::Cmt3::setSyncInSettings(), and xsens::Cmt3::setSyncInSkipFactor().
#define CMT_MID_REQSYNCINSETTINGSACK 0xD7 |
Definition at line 180 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncInMode(), xsens::Cmt3::getSyncInOffset(), xsens::Cmt3::getSyncInSettings(), xsens::Cmt3::getSyncInSkipFactor(), xsens::Cmt3::setSyncInMode(), xsens::Cmt3::setSyncInOffset(), xsens::Cmt3::setSyncInSettings(), and xsens::Cmt3::setSyncInSkipFactor().
#define CMT_MID_REQSYNCMODE 0x1A |
Definition at line 146 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncMode(), and xsens::Cmt3::setSyncMode().
#define CMT_MID_REQSYNCOUTSETTINGS 0xD8 |
Definition at line 187 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncOutMode(), xsens::Cmt3::getSyncOutOffset(), xsens::Cmt3::getSyncOutPulseWidth(), xsens::Cmt3::getSyncOutSettings(), xsens::Cmt3::getSyncOutSkipFactor(), xsens::Cmt3::setSyncOutMode(), xsens::Cmt3::setSyncOutOffset(), xsens::Cmt3::setSyncOutPulseWidth(), xsens::Cmt3::setSyncOutSettings(), and xsens::Cmt3::setSyncOutSkipFactor().
#define CMT_MID_REQSYNCOUTSETTINGSACK 0xD9 |
Definition at line 188 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncOutMode(), xsens::Cmt3::getSyncOutOffset(), xsens::Cmt3::getSyncOutPulseWidth(), xsens::Cmt3::getSyncOutSettings(), xsens::Cmt3::getSyncOutSkipFactor(), xsens::Cmt3::setSyncOutMode(), xsens::Cmt3::setSyncOutOffset(), xsens::Cmt3::setSyncOutPulseWidth(), xsens::Cmt3::setSyncOutSettings(), and xsens::Cmt3::setSyncOutSkipFactor().
#define CMT_MID_REQUTCTIME 0x60 |
Definition at line 266 of file cmtdef.h.
Referenced by xsens::Cmt3::getUtcTime().
#define CMT_MID_REQXMERRORMODE 0x82 |
Definition at line 209 of file cmtdef.h.
Referenced by xsens::Cmt3::getErrorMode(), and xsens::Cmt3::setErrorMode().
#define CMT_MID_RESET 0x40 |
Definition at line 472 of file cmtdef.h.
Referenced by xsens::Cmt3::reset(), and xsens::Cmt3::setBaudrate().
#define CMT_MID_RESETACK 0x41 |
Definition at line 473 of file cmtdef.h.
Referenced by xsens::Cmt3::reset(), and xsens::Cmt3::setBaudrate().
#define CMT_MID_RESETORIENTATION 0xA4 |
Definition at line 490 of file cmtdef.h.
Referenced by xsens::Cmt3::resetOrientation().
#define CMT_MID_RESTOREFACTORYDEF 0x0E |
Definition at line 120 of file cmtdef.h.
Referenced by xsens::Cmt3::restoreFactoryDefaults().
#define CMT_MID_SETGPSLEVERARM 0x68 |
Definition at line 292 of file cmtdef.h.
Referenced by xsens::Cmt3::setGpsLeverArm().
#define CMT_MID_SETGPSLEVERARMACK 0x69 |
Definition at line 293 of file cmtdef.h.
Referenced by xsens::Cmt3::setGpsLeverArm().
#define CMT_MID_SETGRAVITYMAGNITUDE 0x66 |
Definition at line 286 of file cmtdef.h.
Referenced by xsens::Cmt3::setGravityMagnitude().
#define CMT_MID_SETMAGNETICDECLINATION 0x6A |
Definition at line 231 of file cmtdef.h.
Referenced by xsens::Cmt3::setMagneticDeclination().
#define CMT_MID_SETSCENARIO 0x64 |
Definition at line 280 of file cmtdef.h.
Referenced by xsens::Cmt3::setScenario().
#define CMT_MID_STOREXKFSTATE 0x8A |
Definition at line 262 of file cmtdef.h.
Referenced by xsens::Cmt3::storeXkfState().
#define CMT_MID_STOREXKFSTATEACK 0x8B |
Definition at line 264 of file cmtdef.h.
Referenced by xsens::Cmt3::storeXkfState().
#define CMT_MID_XMPWROFF 0x44 |
Definition at line 477 of file cmtdef.h.
Referenced by xsens::Cmt3::setXmPowerOff().
#define CMT_OUTPUTMODE_AUXILIARY 0x0008 |
Definition at line 617 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTMODE_CALIB 0x0002 |
Definition at line 615 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize(), and mrpt::hwdrivers::CIMUXSens::initialize().
#define CMT_OUTPUTMODE_ORIENT 0x0004 |
Definition at line 616 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize(), and mrpt::hwdrivers::CIMUXSens::initialize().
#define CMT_OUTPUTMODE_POSITION 0x0010 |
Definition at line 618 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTMODE_RAW 0x4000 |
Definition at line 612 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTMODE_RAWGPSPRINT 0x1000 |
Definition at line 613 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTMODE_STATUS 0x0800 |
Definition at line 620 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTMODE_TEMP 0x0001 |
Definition at line 614 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTMODE_VELOCITY 0x0020 |
Definition at line 619 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_AUXILIARYMODE_AIN1_MASK 0x00000400 |
Definition at line 654 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_AUXILIARYMODE_AIN2_MASK 0x00000800 |
Definition at line 655 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_CALIBMODE_ACC_MASK 0x00000010 |
Definition at line 649 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_CALIBMODE_ACCGYR 0x00000040 |
Definition at line 631 of file cmtdef.h.
Referenced by mrpt::hwdrivers::CIMUXSens::initialize().
#define CMT_OUTPUTSETTINGS_CALIBMODE_ACCGYRMAG 0x00000000 |
Definition at line 629 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_CALIBMODE_GYR_MASK 0x00000020 |
Definition at line 650 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_CALIBMODE_MAG_MASK 0x00000040 |
Definition at line 651 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_DATAFORMAT_DOUBLE 0x00000300 |
Definition at line 639 of file cmtdef.h.
Referenced by xsens::Message::getDataFPValue(), xsens::Packet::getFPValueSize(), and xsens::Message::setDataFPValue().
#define CMT_OUTPUTSETTINGS_DATAFORMAT_F1220 0x00000100 |
Definition at line 637 of file cmtdef.h.
Referenced by xsens::Message::getDataFPValue(), xsens::Packet::getFPValueSize(), and xsens::Message::setDataFPValue().
#define CMT_OUTPUTSETTINGS_DATAFORMAT_FLOAT 0x00000000 |
Definition at line 636 of file cmtdef.h.
Referenced by xsens::Message::getDataFPValue(), xsens::Packet::getFPValueSize(), and xsens::Message::setDataFPValue().
#define CMT_OUTPUTSETTINGS_DATAFORMAT_FP1632 0x00000200 |
Definition at line 638 of file cmtdef.h.
Referenced by xsens::Message::getDataFPValue(), xsens::Packet::getFPValueSize(), and xsens::Message::setDataFPValue().
#define CMT_OUTPUTSETTINGS_DATAFORMAT_MASK 0x00000300 |
Definition at line 653 of file cmtdef.h.
Referenced by xsens::Message::getDataFPValue(), xsens::Packet::getFPValueSize(), and xsens::Message::setDataFPValue().
#define CMT_OUTPUTSETTINGS_ORIENTMODE_EULER 0x00000004 |
Definition at line 627 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize(), and mrpt::hwdrivers::CIMUXSens::initialize().
#define CMT_OUTPUTSETTINGS_ORIENTMODE_MASK 0x0000000C |
Definition at line 648 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_ORIENTMODE_MATRIX 0x00000008 |
Definition at line 628 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_ORIENTMODE_QUATERNION 0x00000000 |
Definition at line 626 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_POSITIONMODE_LLA_WGS84 0x00000000 |
Definition at line 642 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_POSITIONMODE_MASK 0x0001C000 |
Definition at line 657 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_TIMESTAMP_MASK 0x00000003 |
Definition at line 647 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize(), and xsens::Cmt3::setDeviceMode2().
#define CMT_OUTPUTSETTINGS_TIMESTAMP_SAMPLECNT 0x00000001 |
Definition at line 625 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize(), and mrpt::hwdrivers::CIMUXSens::initialize().
#define CMT_OUTPUTSETTINGS_VELOCITYMODE_MASK 0x00060000 |
Definition at line 658 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_OUTPUTSETTINGS_VELOCITYMODE_NED 0x00000000 |
Definition at line 643 of file cmtdef.h.
Referenced by xsens::Packet::getDataSize().
#define CMT_PARAM_SYNCIN_MODE 0x00 |
Definition at line 579 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncInMode(), xsens::Cmt3::getSyncInSettings(), xsens::Cmt3::setSyncInMode(), and xsens::Cmt3::setSyncInSettings().
#define CMT_PARAM_SYNCIN_OFFSET 0x02 |
Definition at line 581 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncInOffset(), xsens::Cmt3::getSyncInSettings(), xsens::Cmt3::setSyncInOffset(), and xsens::Cmt3::setSyncInSettings().
#define CMT_PARAM_SYNCIN_SKIPFACTOR 0x01 |
Definition at line 580 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncInSettings(), xsens::Cmt3::getSyncInSkipFactor(), xsens::Cmt3::setSyncInSettings(), and xsens::Cmt3::setSyncInSkipFactor().
#define CMT_PARAM_SYNCOUT_MODE 0x00 |
Definition at line 595 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncOutMode(), xsens::Cmt3::getSyncOutSettings(), xsens::Cmt3::setSyncOutMode(), and xsens::Cmt3::setSyncOutSettings().
#define CMT_PARAM_SYNCOUT_OFFSET 0x02 |
Definition at line 597 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncOutOffset(), xsens::Cmt3::getSyncOutSettings(), xsens::Cmt3::setSyncOutOffset(), and xsens::Cmt3::setSyncOutSettings().
#define CMT_PARAM_SYNCOUT_PULSEWIDTH 0x03 |
Definition at line 598 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncOutPulseWidth(), xsens::Cmt3::getSyncOutSettings(), xsens::Cmt3::setSyncOutPulseWidth(), and xsens::Cmt3::setSyncOutSettings().
#define CMT_PARAM_SYNCOUT_SKIPFACTOR 0x01 |
Definition at line 596 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncOutSettings(), xsens::Cmt3::getSyncOutSkipFactor(), xsens::Cmt3::setSyncOutSettings(), and xsens::Cmt3::setSyncOutSkipFactor().
#define CMT_PREAMBLE 0xFA |
Definition at line 60 of file cmtdef.h.
Referenced by xsens::Message::clear(), xsens::findValidMessage(), xsens::Message::Message(), xsens::Cmt2s::readMessage(), xsens::Cmt2f::readMessage(), and xsens::Cmt2s::waitForMessage().
#define CMT_SYNC_CLOCK_NS_TO_TICKS (CMT_SYNC_CLOCKFREQMHZ * 1.0e-3) |
Definition at line 575 of file cmtdef.h.
Referenced by xsens::Cmt3::setSyncInOffset(), xsens::Cmt3::setSyncInSettings(), xsens::Cmt3::setSyncOutOffset(), xsens::Cmt3::setSyncOutPulseWidth(), and xsens::Cmt3::setSyncOutSettings().
#define CMT_SYNC_CLOCK_TICKS_TO_NS (1.0e3 / CMT_SYNC_CLOCKFREQMHZ) |
Definition at line 576 of file cmtdef.h.
Referenced by xsens::Cmt3::getSyncInOffset(), xsens::Cmt3::getSyncInSettings(), xsens::Cmt3::getSyncOutOffset(), xsens::Cmt3::getSyncOutPulseWidth(), and xsens::Cmt3::getSyncOutSettings().
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.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |