Go to the documentation of this file.
215 snd.setBusId(
busId());
216 snd.setDataFloat((
float)arm[0], 0);
217 snd.setDataFloat((
float)arm[1], 1 *
sizeof(
float));
218 snd.setDataFloat((
float)arm[2], 2 *
sizeof(
float));
239 arm[0] = rcv.getDataFloat(0);
240 arm[1] = rcv.getDataFloat(1 *
sizeof(
float));
241 arm[2] = rcv.getDataFloat(2 *
sizeof(
float));
@ XDI_RateOfTurnHR
Rate of turn HR data.
@ XDI_GnssPvtData
Gnss position, velocity and time data.
XsDeviceId const & deviceId() const
Return the device ID of the device.
@ XDI_PositionGroup
Group for position related outputs.
A class that represents a vector of real numbers.
@ 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.
@ XSF_GpsValid
Is set when the device has a GPS receiver and the receiver says that there is a GPS position fix.
@ XDI_DeviceId
DeviceId output.
XsString productCode() const
Return the product code of the device.
bool hasIccSupport() const override
@ XDI_VelocityGroup
Group for velocity related outputs.
struct XsVersion XsVersion
XsVersion hardwareVersion() const
Return the hardware version of the device.
@ XSF_ClippingDetected
When set Indicates clipping has occurred.
XsString shortProductCode() const override
Return the shortened product code of the device suitable for display.
BaseFrequencyResult getBaseFrequencyInternal(XsDataIdentifier dataType=XDI_None) const override
Returns the base update rate (hz) corresponding to the dataType.
@ XSF_RepresentativeMotion
Indicates if the In-Run Compass Calibration is doing the representative motion analysis.
@ XSF_FilterMode
Mask for the 3 bit filter mode field.
@ 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.
virtual int busId() const
The bus ID for this device.
@ XSF_ExternalClockSynced
Indicates whether the internal clock is synced with an external clock (Either GNNS or custom provided...
MTi7_MTi8Device(Communicator *comm)
An empty constructor for a device.
@ XSF_OrientationValid
Is set when the computed orientation is valid. The orientation may be invalid during startup or when ...
@ XSF_RtkStatus
Mask for 2 bit RTK status field 00: No RTK; 01: RTK floating; 10: RTK fixed.
XsDataIdentifier
Defines the data identifiers.
A base struct for a communication interface.
bool setStringOutputMode(uint16_t type, uint16_t period, uint16_t skipFactor) override
Sets the string output mode for this device.
uint32_t supportedStatusFlags() const override
Returns a bitmask with all the status flags supported by this device.
virtual ~MTi7_MTi8Device()
@ 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.
Structure for storing a single message.
#define XDI_MAX_FREQUENCY_VAL
bool m_divedable
A divedable value.
@ XDI_PressureGroup
Group for pressure related outputs.
bool setGnssLeverArm(const XsVector &arm) override
Sets the GNSS Lever Arm vector.
@ XDI_OrientationGroup
Group for orientation related outputs.
@ XDI_TemperatureGroup
Group for temperature outputs.
bool doTransaction(const XsMessage &snd) const
XsVector gnssLeverArm() const override
A struct for base frequency result.
A 0-terminated managed string of characters.
@ XSF_HaveGnssTimePulse
Indicates that the 1PPS GNSS time pulse is present.
@ 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.