mti8x0device.cpp
Go to the documentation of this file.
1 
2 // Copyright (c) 2003-2021 Xsens Technologies B.V. or subsidiaries worldwide.
3 // All rights reserved.
4 //
5 // Redistribution and use in source and binary forms, with or without modification,
6 // are permitted provided that the following conditions are met:
7 //
8 // 1. Redistributions of source code must retain the above copyright notice,
9 // this list of conditions, and the following disclaimer.
10 //
11 // 2. Redistributions in binary form must reproduce the above copyright notice,
12 // this list of conditions, and the following disclaimer in the documentation
13 // and/or other materials provided with the distribution.
14 //
15 // 3. Neither the names of the copyright holders nor the names of their contributors
16 // may be used to endorse or promote products derived from this software without
17 // specific prior written permission.
18 //
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
20 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
22 // THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 // SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
24 // OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR
26 // TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.THE LAWS OF THE NETHERLANDS
28 // SHALL BE EXCLUSIVELY APPLICABLE AND ANY DISPUTES SHALL BE FINALLY SETTLED UNDER THE RULES
29 // OF ARBITRATION OF THE INTERNATIONAL CHAMBER OF COMMERCE IN THE HAGUE BY ONE OR MORE
30 // ARBITRATORS APPOINTED IN ACCORDANCE WITH SAID RULES.
31 //
32 
33 
34 // Copyright (c) 2003-2021 Xsens Technologies B.V. or subsidiaries worldwide.
35 // All rights reserved.
36 //
37 // Redistribution and use in source and binary forms, with or without modification,
38 // are permitted provided that the following conditions are met:
39 //
40 // 1. Redistributions of source code must retain the above copyright notice,
41 // this list of conditions, and the following disclaimer.
42 //
43 // 2. Redistributions in binary form must reproduce the above copyright notice,
44 // this list of conditions, and the following disclaimer in the documentation
45 // and/or other materials provided with the distribution.
46 //
47 // 3. Neither the names of the copyright holders nor the names of their contributors
48 // may be used to endorse or promote products derived from this software without
49 // specific prior written permission.
50 //
51 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
52 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
53 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
54 // THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
55 // SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
56 // OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR
58 // TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
59 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.THE LAWS OF THE NETHERLANDS
60 // SHALL BE EXCLUSIVELY APPLICABLE AND ANY DISPUTES SHALL BE FINALLY SETTLED UNDER THE RULES
61 // OF ARBITRATION OF THE INTERNATIONAL CHAMBER OF COMMERCE IN THE HAGUE BY ONE OR MORE
62 // ARBITRATORS APPOINTED IN ACCORDANCE WITH SAID RULES.
63 //
64 
65 #include "mti8x0device.h"
66 
67 #include <xstypes/xsdatapacket.h>
68 #include "replyobject.h"
69 #include "communicator.h"
70 #include "scenariomatchpred.h"
71 #include "messageserializer.h"
72 #include <xstypes/xsstatusflag.h>
73 
74 #include <xstypes/xssensorranges.h>
75 #include "synclinegmt.h"
76 #include <xstypes/xssyncsetting.h>
79 #include <xstypes/xsintarray.h>
80 
81 using namespace xsens;
82 
87  MtiBaseDeviceEx(comm)
88 {
89 }
90 
94 {
95 }
96 
100 {
102  result.m_frequency = 0;
103  result.m_divedable = true;
104 
105  if ((dataType == XDI_FreeAcceleration && deviceId().isImu()) ||
106  ((dataType & XDI_FullTypeMask) == XDI_LocationId) ||
107  ((dataType & XDI_FullTypeMask) == XDI_DeviceId))
108  return result;
109 
110  if ((dataType & XDI_FullTypeMask) == XDI_AccelerationHR)
111  {
112  result.m_frequency = 2000;
113  return result;
114  }
115 
116  if ((dataType & XDI_FullTypeMask) == XDI_RateOfTurnHR)
117  {
118  result.m_frequency = 1600;
119  return result;
120  }
121 
122  auto baseFreq = [this](XsDataIdentifier dataType)
123  {
124  switch (dataType & XDI_TypeMask)
125  {
126  case XDI_None:
127  return 400;
128  case XDI_TimestampGroup:
129  return XDI_MAX_FREQUENCY_VAL;
130  case XDI_StatusGroup:
131  return 400;
133  return 400;
135  return deviceId().isImu() ? 0 : 400;
137  return 400;
139  return 400;
140  case XDI_MagneticGroup:
141  return 100;
142 
143  case XDI_GnssGroup:
144  return deviceId().isGnss() ? 4 : 0;
145  case XDI_PressureGroup:
146  return 100;
147  case XDI_PositionGroup:
148  return deviceId().isGnss() ? 400 : 0;
149  case XDI_VelocityGroup:
150  return deviceId().isGnss() ? 400 : 0;
151  default:
152  return 0;
153  }
154  };
155  result.m_frequency = baseFreq(dataType);
156 
157  if (((dataType & XDI_TypeMask) == XDI_TimestampGroup) || ((dataType & XDI_TypeMask) == XDI_GnssGroup))
158  result.m_divedable = false;
159 
160  return result;
161 }
162 
166 {
167  XsString code = productCode();
168  return stripProductCode(code);
169 }
170 
174 uint8_t Mti8X0Device::syncLine(const XsSyncSetting& setting) const
175 {
176  SyncLineGmt gmtLine = xslToXslgmt(setting.m_line);
177  assert(gmtLine != XSLGMT_Invalid);
178  return static_cast<uint8_t>(gmtLine);
179 }
180 
184 {
185  return (firmwareVersion() >= XsVersion(1, 1, 0));
186 }
187 
188 
190 {
191  XsStringOutputTypeArray outputs;
192 
193  outputs.push_back(XSOT_PSONCMS);
194  outputs.push_back(XSOT_HCMTW);
195  outputs.push_back(XSOT_HEROT);
196  outputs.push_back(XSOT_PTCF);
197  outputs.push_back(XSOT_GPZDA);
198  outputs.push_back(XSOT_TSS2);
199  outputs.push_back(XSOT_PHTRO);
200  outputs.push_back(XSOT_PRDID);
201  outputs.push_back(XSOT_EM1000);
202  outputs.push_back(XSOT_HEHDT);
203  outputs.push_back(XSOT_HCHDM);
204  outputs.push_back(XSOT_GPGGA);
205  outputs.push_back(XSOT_GPRMC);
206  outputs.push_back(XSOT_XSVEL);
207  outputs.push_back(XSOT_HCHDG);
208 
209  return outputs;
210 }
211 
217 bool Mti8X0Device::setStringOutputMode6x0(uint32_t type, uint16_t frequency)
218 {
220  sndType.setBusId(XS_BID_MASTER); // Always send to master device
221  sndType.setDataLong(type);
222  sndType.setDataShort(frequency, 4);
223 
224  if (!doTransaction(sndType))
225  return false;
226 
227  return true;
228 }
229 
231 {
232  return (uint32_t)(
234  | (deviceId().isImu() ? 0 : XSF_OrientationValid
237  )
238  | (deviceId().isGnss() ? XSF_GpsValid : 0)
239  | XSF_ClipAccX
240  | XSF_ClipAccY
241  | XSF_ClipAccZ
242  | XSF_ClipGyrX
243  | XSF_ClipGyrY
244  | XSF_ClipGyrZ
245  | XSF_ClipMagX
246  | XSF_ClipMagY
247  | XSF_ClipMagZ
248  //|XSF_Retransmitted
250  //|XSF_Interpolated
251  | XSF_SyncIn
252  | XSF_SyncOut
253  | (deviceId().isGnss() ? XSF_FilterMode : 0)
254  | (deviceId().isGnss() ? XSF_HaveGnssTimePulse : 0)
255  );
256 }
257 
261 {
262  XsMessage snd(XMID_ReqCanConfig), rcv;
263  if (!doTransaction(snd, rcv))
265 
267  MessageDeserializer serializer(rcv);
268  serializer >> config;
269 
270  return config;
271 }
272 
276 {
278  snd.setBusId(busId());
279  bool wasEmpty = config.empty();
280  MessageSerializer(snd) << config;
281 
282  XsMessage rcv;
283  if (!doTransaction(snd, rcv))
284  return false;
285 
286  MessageDeserializer(rcv) >> config;
287  if (wasEmpty && config.size() == 1 && config[0] == XsCanOutputConfiguration(XCFF_11Bit_Identifier, XCDI_Invalid, 0, 0))
288  config.clear();
289  return true;
290 }
291 
295 {
296  XsMessage snd(XMID_ReqCanConfig), rcv;
297  if (!doTransaction(snd, rcv))
298  return 0;
299 
300  return rcv.getDataLong();
301 }
302 
306 {
307  XsMessage snd(XMID_ReqPortConfig), rcv;
308  if (!doTransaction(snd, rcv))
309  return XsIntArray();
310 
311  XsIntArray rv;
312  rv.push_back((int)rcv.getDataLong(0));
313  rv.push_back((int)rcv.getDataLong(4));
314  rv.push_back((int)rcv.getDataLong(8));
315  return rv;
316 }
317 
321 {
322  XsIntArray currentConfig = portConfiguration();
323 
325  snd.setBusId(busId());
326 
327  if (config.size() > 0)
328  snd.setDataLong((uint32_t)config[0], 0);
329  if (config.size() > 1)
330  snd.setDataLong((uint32_t)config[1], 4);
331  if (config.size() > 2)
332  snd.setDataLong((uint32_t)config[2], 8);
333 
334  XsMessage rcv;
335  if (!doTransaction(snd, rcv))
336  return false;
337 
338  if (currentConfig != config)
339  return reset();
340 
341  return true;
342 }
343 
347 {
348  uint32_t currentConfig = canConfiguration();
349 
351  snd.setBusId(busId());
352  snd.setDataLong(config);
353 
354  XsMessage rcv;
355  if (!doTransaction(snd, rcv))
356  return false;
357 
358  if ((currentConfig & 0xFF) != (config & 0xFF))
359  return reset();
360 
361  return true;
362 }
XS_BID_MASTER
#define XS_BID_MASTER
The bus identifier of the master device.
Definition: xsbusid.h:73
XSF_SyncIn
@ XSF_SyncIn
When set indicates a sync-in event has been triggered.
Definition: xsstatusflag.h:109
XDI_RateOfTurnHR
@ XDI_RateOfTurnHR
Rate of turn HR data.
Definition: xsdataidentifier.h:154
XSOT_PHTRO
@ XSOT_PHTRO
Proprietry NMEA string with Pitch and Roll.
Definition: xsstringoutputtype.h:78
mti8x0device.h
XsDevice::deviceId
XsDeviceId const & deviceId() const
Return the device ID of the device.
Definition: xsdevice_def.cpp:742
XDI_PositionGroup
@ XDI_PositionGroup
Group for position related outputs.
Definition: xsdataidentifier.h:140
MessageDeserializer
A class that does the message deserialization.
Definition: messageserializer.h:149
scenariomatchpred.h
Mti8X0Device::setStringOutputMode6x0
bool setStringOutputMode6x0(uint32_t type, uint16_t frequency)
Sets the string output mode for this device.
Definition: mti8x0device.cpp:217
XSOT_HCHDM
@ XSOT_HCHDM
NMEA string with Magnetic Heading.
Definition: xsstringoutputtype.h:75
XMID_SetCanConfig
@ XMID_SetCanConfig
Definition: xsxbusmessageid.h:502
XDI_AccelerationGroup
@ XDI_AccelerationGroup
Group for acceleration related outputs.
Definition: xsdataidentifier.h:129
XSOT_PRDID
@ XSOT_PRDID
Proprietry NMEA string with Pitch, Roll and Heading.
Definition: xsstringoutputtype.h:79
XDI_AngularVelocityGroup
@ XDI_AngularVelocityGroup
Group for angular velocity related outputs.
Definition: xsdataidentifier.h:151
MtiBaseDevice::BaseFrequencyResult::m_frequency
int m_frequency
A frequency value.
Definition: mtibasedevice.h:126
MtDevice::stripProductCode
static XsString stripProductCode(const XsString &code)
Helper function to strip the hardware type from the product code.
Definition: mtdevice.cpp:895
XMID_ReqPortConfig
@ XMID_ReqPortConfig
Definition: xsxbusmessageid.h:343
Mti8X0Device::syncLine
uint8_t syncLine(const XsSyncSetting &setting) const override
Definition: mti8x0device.cpp:174
XSOT_TSS2
@ XSOT_TSS2
Proprietry string with Heading, Heave, Roll and Pitch.
Definition: xsstringoutputtype.h:77
XSF_ClipGyrZ
@ XSF_ClipGyrZ
Definition: xsstatusflag.h:101
XSOT_XSVEL
@ XSOT_XSVEL
Proprietry NMEA string with velocity data.
Definition: xsstringoutputtype.h:87
XDI_None
@ XDI_None
Empty datatype.
Definition: xsdataidentifier.h:86
XSF_GpsValid
@ XSF_GpsValid
Is set when the device has a GPS receiver and the receiver says that there is a GPS position fix.
Definition: xsstatusflag.h:83
Mti8X0Device::Mti8X0Device
Mti8X0Device(Communicator *comm)
Constructs a device.
Definition: mti8x0device.cpp:86
XDI_DeviceId
@ XDI_DeviceId
DeviceId output.
Definition: xsdataidentifier.h:196
XsCanOutputConfigurationArray
struct XsCanOutputConfigurationArray XsCanOutputConfigurationArray
Definition: xscanoutputconfigurationarray.h:82
Mti8X0Device::supportedStatusFlags
uint32_t supportedStatusFlags() const override
Returns a bitmask with all the status flags supported by this device.
Definition: mti8x0device.cpp:230
xslToXslgmt
SyncLineGmt xslToXslgmt(XsSyncLine line)
Translate an XsSyncLine into a SyncLineGmt.
Definition: synclinegmt.c:104
MtDevice::productCode
XsString productCode() const
Return the product code of the device.
Definition: mtdevice.cpp:497
XsIntArray
A list of XsInt values.
XMID_SetStringOutputConfig
@ XMID_SetStringOutputConfig
Definition: xsxbusmessageid.h:355
XDI_VelocityGroup
@ XDI_VelocityGroup
Group for velocity related outputs.
Definition: xsdataidentifier.h:189
XMID_SetCanOutputConfig
@ XMID_SetCanOutputConfig
Definition: xsxbusmessageid.h:506
xsstatusflag.h
XsVersion
struct XsVersion XsVersion
Definition: xsversion.h:80
XSLGMT_Invalid
@ XSLGMT_Invalid
Definition: synclinegmt.h:91
XMID_ReqCanConfig
@ XMID_ReqCanConfig
Definition: xsxbusmessageid.h:501
XCFF_11Bit_Identifier
@ XCFF_11Bit_Identifier
Definition: xscanframeformat.h:80
xscanoutputconfigurationarray.h
Mti8X0Device::canConfiguration
uint32_t canConfiguration() const override
Returns the currently configured CAN configuration of the device.
Definition: mti8x0device.cpp:294
XSF_ClippingDetected
@ XSF_ClippingDetected
When set Indicates clipping has occurred.
Definition: xsstatusflag.h:107
XSF_ClipMagZ
@ XSF_ClipMagZ
Definition: xsstatusflag.h:104
XSOT_HCHDG
@ XSOT_HCHDG
NMEA string with Heading and Magnetic Variation.
Definition: xsstringoutputtype.h:76
XSF_RepresentativeMotion
@ XSF_RepresentativeMotion
Indicates if the In-Run Compass Calibration is doing the representative motion analysis.
Definition: xsstatusflag.h:90
XSF_FilterMode
@ XSF_FilterMode
Mask for the 3 bit filter mode field.
Definition: xsstatusflag.h:112
XDI_MagneticGroup
@ XDI_MagneticGroup
Group for magnetometer related outputs.
Definition: xsdataidentifier.h:172
XDI_FullTypeMask
@ XDI_FullTypeMask
Mask to get the type of data, without the data format.
Definition: xsdataidentifier.h:88
XSF_ClipAccX
@ XSF_ClipAccX
Definition: xsstatusflag.h:96
XDI_LocationId
@ XDI_LocationId
LocationId output.
Definition: xsdataidentifier.h:197
XSF_NoRotationMask
@ XSF_NoRotationMask
If all of these flags are set, the No Rotation algorithm is running.
Definition: xsstatusflag.h:85
XCDI_Invalid
@ XCDI_Invalid
Definition: xscandataidentifier.h:84
Mti8X0Device::setPortConfiguration
bool setPortConfiguration(XsIntArray &config) override
Change the port configuration of a device.
Definition: mti8x0device.cpp:320
XsDevice::busId
virtual int busId() const
The bus ID for this device.
Definition: xsdevice_def.cpp:860
XSF_ExternalClockSynced
@ XSF_ExternalClockSynced
Indicates whether the internal clock is synced with an external clock (Either GNNS or custom provided...
Definition: xsstatusflag.h:92
XSOT_PSONCMS
@ XSOT_PSONCMS
NMEA string with Xsens Compass Motion Sensor information.
Definition: xsstringoutputtype.h:81
XSF_OrientationValid
@ XSF_OrientationValid
Is set when the computed orientation is valid. The orientation may be invalid during startup or when ...
Definition: xsstatusflag.h:82
XSF_ClipMagX
@ XSF_ClipMagX
Definition: xsstatusflag.h:102
XsSyncSetting
A structure for storing all xsens sync settings.
Definition: xssyncsetting.h:95
XsDataIdentifier
XsDataIdentifier
Defines the data identifiers.
Definition: xsdataidentifier.h:84
Communicator
A base struct for a communication interface.
Definition: communicator.h:95
uint32_t
unsigned int uint32_t
Definition: pstdint.h:485
Mti8X0Device::~Mti8X0Device
virtual ~Mti8X0Device()
Destroys a device.
Definition: mti8x0device.cpp:93
XsSyncSetting::m_line
XsSyncLine m_line
Definition: xssyncsetting.h:97
xssensorranges.h
XsDevice::firmwareVersion
virtual XsVersion firmwareVersion() const
Return the firmware version.
Definition: xsdevice_def.cpp:675
Mti8X0Device::hasIccSupport
bool hasIccSupport() const override
Definition: mti8x0device.cpp:183
XSOT_HEROT
@ XSOT_HEROT
NMEA string with Rate of Turn.
Definition: xsstringoutputtype.h:84
SyncLineGmt
SyncLineGmt
Synchronization line identifiers for the generic motion tracker (GMT) devices, only to be used direct...
Definition: synclinegmt.h:79
XSF_ClipGyrX
@ XSF_ClipGyrX
Definition: xsstatusflag.h:99
XDI_TimestampGroup
@ XDI_TimestampGroup
Group for time stamp related outputs.
Definition: xsdataidentifier.h:105
XSOT_HEHDT
@ XSOT_HEHDT
NMEA string with True Heading.
Definition: xsstringoutputtype.h:83
XDI_GnssGroup
@ XDI_GnssGroup
Group for Gnss related outputs.
Definition: xsdataidentifier.h:146
replyobject.h
Mti8X0Device::getBaseFrequencyInternal
MtiBaseDevice::BaseFrequencyResult getBaseFrequencyInternal(XsDataIdentifier dataType=XDI_None) const override
Returns the base update rate (Hz) corresponding to the dataType.
Definition: mti8x0device.cpp:99
Mti8X0Device::supportedStringOutputTypes
XsStringOutputTypeArray supportedStringOutputTypes() const override
Ask the device for its supported string output types.
Definition: mti8x0device.cpp:189
XDI_StatusGroup
@ XDI_StatusGroup
Group for status related outputs.
Definition: xsdataidentifier.h:192
xsdatapacket.h
XSF_ClipGyrY
@ XSF_ClipGyrY
Definition: xsstatusflag.h:100
Mti8X0Device::setCanConfiguration
bool setCanConfiguration(uint32_t config) override
Set the CAN output configuration for this device.
Definition: mti8x0device.cpp:346
XsMessage
Structure for storing a single message.
Definition: xsmessage.h:202
XsDevice::reset
virtual bool reset()
Reset the device.
Definition: xsdevice_def.cpp:1971
XDI_MAX_FREQUENCY_VAL
#define XDI_MAX_FREQUENCY_VAL
Definition: xsdataidentifiervalue.h:69
Mti8X0Device::shortProductCode
XsString shortProductCode() const override
Return the shortened product code of the device suitable for display.
Definition: mti8x0device.cpp:165
XDI_FreeAcceleration
@ XDI_FreeAcceleration
Free acceleration output in m/s2.
Definition: xsdataidentifier.h:132
XsIntArray
struct XsIntArray XsIntArray
Definition: xsintarray.h:80
xsstringoutputtypearray.h
XSOT_PTCF
@ XSOT_PTCF
NMEA string with motion data.
Definition: xsstringoutputtype.h:86
XSF_ClipAccZ
@ XSF_ClipAccZ
Definition: xsstatusflag.h:98
XSOT_GPGGA
@ XSOT_GPGGA
NMEA string with Global Positioning system fix data.
Definition: xsstringoutputtype.h:85
xssyncsetting.h
MessageSerializer
A class that does the message serialization.
Definition: messageserializer.h:79
XSF_SyncOut
@ XSF_SyncOut
When set Indicates a sync-out event has been generated.
Definition: xsstatusflag.h:110
XMID_SetPortConfig
@ XMID_SetPortConfig
Definition: xsxbusmessageid.h:344
MtiBaseDevice::BaseFrequencyResult::m_divedable
bool m_divedable
A divedable value.
Definition: mtibasedevice.h:127
XSF_ClipMagY
@ XSF_ClipMagY
Definition: xsstatusflag.h:103
synclinegmt.h
XSOT_GPZDA
@ XSOT_GPZDA
NMEA string with date and time.
Definition: xsstringoutputtype.h:88
XSF_ClipAccY
@ XSF_ClipAccY
Definition: xsstatusflag.h:97
XSOT_EM1000
@ XSOT_EM1000
Binary format suitable for use with Simrad EM1000 mulitibeam sounders with Roll, Pitch,...
Definition: xsstringoutputtype.h:80
XDI_PressureGroup
@ XDI_PressureGroup
Group for pressure related outputs.
Definition: xsdataidentifier.h:126
XsCanOutputConfiguration
Single data type CAN output configuration.
Definition: xscanoutputconfiguration.h:97
XsStringOutputTypeArray
A list of XsStringOutputType values.
XDI_OrientationGroup
@ XDI_OrientationGroup
Group for orientation related outputs.
Definition: xsdataidentifier.h:117
Mti8X0Device::setCanOutputConfiguration
bool setCanOutputConfiguration(XsCanOutputConfigurationArray &config) override
Set the CAN output configuration for this device.
Definition: mti8x0device.cpp:275
XsCanOutputConfigurationArray
A list of XsCanOutputConfiguration values.
XSOT_HCMTW
@ XSOT_HCMTW
NMEA string with (water) Temperature.
Definition: xsstringoutputtype.h:82
XDI_TemperatureGroup
@ XDI_TemperatureGroup
Group for temperature outputs.
Definition: xsdataidentifier.h:102
communicator.h
XsDevice::doTransaction
bool doTransaction(const XsMessage &snd) const
messageserializer.h
MtiBaseDevice::BaseFrequencyResult
A struct for base frequency result.
Definition: mtibasedevice.h:124
XSOT_GPRMC
@ XSOT_GPRMC
NMEA string with recommended minimum specific GPS/Transit data.
Definition: xsstringoutputtype.h:89
XsString
A 0-terminated managed string of characters.
XSF_HaveGnssTimePulse
@ XSF_HaveGnssTimePulse
Indicates that the 1PPS GNSS time pulse is present.
Definition: xsstatusflag.h:113
xsens
Definition: threading.cpp:78
Mti8X0Device::portConfiguration
XsIntArray portConfiguration() const override
Get the current port configuration of a device.
Definition: mti8x0device.cpp:305
Mti8X0Device::canOutputConfiguration
XsCanOutputConfigurationArray canOutputConfiguration() const override
Returns the currently configured CAN output of the device.
Definition: mti8x0device.cpp:260
XDI_TypeMask
@ XDI_TypeMask
Mask for checking the group which a dataidentifier belongs to, Eg. XDI_TimestampGroup or XDI_Orientat...
Definition: xsdataidentifier.h:87
XDI_AccelerationHR
@ XDI_AccelerationHR
AccelerationHR output.
Definition: xsdataidentifier.h:133
xsintarray.h
MtiBaseDeviceEx
The internal base class for MTi devices.
Definition: mtibasedevice.h:161


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:20