Go to the documentation of this file.
77 using namespace xsens;
129 return deviceId().isImu() ? 0 : 100;
140 return deviceId().isGnss() ? 50 : 0;
142 return deviceId().isGnss() ? 100 : 0;
144 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.
@ 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.
@ XSF_ClippingDetected
When set Indicates clipping has occurred.
Mti3X0Device(Communicator *comm)
Constructs a device.
@ XSF_RepresentativeMotion
Indicates if the In-Run Compass Calibration is doing the representative motion analysis.
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...
bool hasIccSupport() const override
@ 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.
XsString shortProductCode() const override
Return the shortened product code of the device suitable for display.
@ XDI_TimestampGroup
Group for time stamp related outputs.
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.
uint32_t supportedStatusFlags() const override
Returns a bitmask with all the status flags supported by this device.
@ XSF_SyncOut
When set Indicates a sync-out event has been generated.
virtual ~Mti3X0Device()
Destroys a device.
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.