Go to the documentation of this file.
77 using namespace xsens;
131 return deviceId().isImu() ? 0 : 100;
142 return deviceId().isGnss() ? 50 : 0;
144 return deviceId().isGnss() ? 100 : 0;
146 return deviceId().isGnss() ? 100 : 0;
@ XSF_SyncIn
When set indicates a sync-in event has been triggered.
@ XDI_RateOfTurnHR
Rate of turn HR data.
XsDeviceId const & deviceId() const
Return the device ID of the device.
@ XDI_PositionGroup
Group for position related outputs.
virtual ~MtiXDevice()
Destroys a device.
@ XDI_AccelerationGroup
Group for acceleration related outputs.
@ XDI_AngularVelocityGroup
Group for angular velocity related outputs.
int m_frequency
A frequency value.
static XsString stripProductCode(const XsString &code)
Helper function to strip the hardware type from the product code.
@ XDI_None
Empty datatype.
@ XDI_DeviceId
DeviceId output.
XsString productCode() const
Return the product code of the device.
@ XDI_VelocityGroup
Group for velocity related outputs.
MtiBaseDevice::BaseFrequencyResult getBaseFrequencyInternal(XsDataIdentifier dataType=XDI_None) const override
Returns the base update rate (Hz) corresponding to the dataType. Returns 0 if no update rate is avail...
struct XsVersion XsVersion
XsVersion hardwareVersion() const
Return the hardware version of the device.
XsString shortProductCode() const override
Return the shortened product code of the device suitable for display.
@ XSF_ClippingDetected
When set Indicates clipping has occurred.
@ XSF_RepresentativeMotion
Indicates if the In-Run Compass Calibration is doing the representative motion analysis.
@ XDI_MagneticGroup
Group for magnetometer related outputs.
@ XDI_FullTypeMask
Mask to get the type of data, without the data format.
@ XDI_LocationId
LocationId output.
@ XSF_NoRotationMask
If all of these flags are set, the No Rotation algorithm is running.
@ XSF_ExternalClockSynced
Indicates whether the internal clock is synced with an external clock (Either GNNS or custom provided...
@ XSF_OrientationValid
Is set when the computed orientation is valid. The orientation may be invalid during startup or when ...
XsDataIdentifier
Defines the data identifiers.
A base struct for a communication interface.
uint32_t supportedStatusFlags() const override
Returns a bitmask with all the status flags supported by this device.
virtual XsVersion firmwareVersion() const
Return the firmware version.
@ XDI_TimestampGroup
Group for time stamp related outputs.
MtiXDevice(Communicator *comm)
Constructs a device.
void setDefaultTimeout(uint32_t timeout)
Sets a default timeout.
@ XDI_GnssGroup
Group for Gnss related outputs.
@ XDI_StatusGroup
Group for status related outputs.
#define XDI_MAX_FREQUENCY_VAL
@ XDI_FreeAcceleration
Free acceleration output in m/s2.
@ XSF_SyncOut
When set Indicates a sync-out event has been generated.
bool hasIccSupport() const override
bool m_divedable
A divedable value.
@ XDI_PressureGroup
Group for pressure related outputs.
@ XDI_OrientationGroup
Group for orientation related outputs.
@ XDI_TemperatureGroup
Group for temperature outputs.
A struct for base frequency result.
A 0-terminated managed string of characters.
@ XDI_TypeMask
Mask for checking the group which a dataidentifier belongs to, Eg. XDI_TimestampGroup or XDI_Orientat...
@ XDI_AccelerationHR
AccelerationHR output.
The internal base class for MTi devices.