Go to the documentation of this file.
65 #ifndef XSMTIBASEDEVICE_H
66 #define XSMTIBASEDEVICE_H
157 #ifndef XDA_PRIVATE_BUILD
170 #include "mtibasedeviceex.h"
XsResultValue setOutputConfigurationInternal(XsOutputConfigurationArray &o) override
Set the output configuration for this device.
A class that represents a matrix of real numbers.
A class that represents a vector of real numbers.
XsMatrix alignmentRotationMatrix(XsAlignmentFrame frame) const override
Retrieve the alignment rotation matrix to rotate S to the chosen frame S'.
bool setSyncSettings(const XsSyncSettingArray &s) override
Set the synchronization settings of the device.
int m_frequency
A frequency value.
Contains the result of the representative motion processed by ICC.
static XsDevice * constructAsMaster(Communicator *comm)
Construct a device as a master.
virtual XsDevice * master() const
Return the master device of this device.
void fetchAvailableHardwareScenarios() override
Fetches available hardware scenarios.
@ XDI_None
Empty datatype.
virtual XsSyncLine syncSettingsLine(const uint8_t *buff, XsSize offset) const
Returns the sync settings line for a generic mti device.
bool startRepresentativeMotion() override
Starts the representative motion.
The generic class for MTi devices.
XsIccRepMotionResult stopRepresentativeMotion() override
Stops the representative motion.
bool setNoRotation(uint16_t duration)
Set the no rotation period to duration.
XsOutputConfigurationArray outputConfiguration() const
Returns the currently configured output of the device.
bool setAlignmentRotationQuaternion(XsAlignmentFrame frame, const XsQuaternion &quat) override
Set an arbitrary alignment rotation matrix Use to rotate either L to the chosen frame L' or S to the ...
bool setRs485TransmissionDelay(uint16_t delay)
Set the transmission delay used for RS485 transmissions.
bool setInitialPositionLLA(const XsVector &lla)
Sets the 'Latitude Longitude Altitude' setting of the device to the given vector.
virtual bool hasIccSupport() const
A class that implements a quaternion.
MtiBaseDeviceEx(Communicator *comm)
Constructs a device.
virtual int calculateUpdateRate(XsDataIdentifier dataType) const
An abstract struct of MT device.
XsResultValue
Xsens result values.
bool resetRemovesPort() const override
A list of XsOutputConfiguration values.
bool setUtcTime(const XsTimeInfo &time)
Sets the 'UTC Time' setting of the device to the given time.
A structure for storing all xsens sync settings.
XsDataIdentifier
Defines the data identifiers.
bool setHeadingOffset(double offset)
Set the 'heading offset' setting of the device.
XsSyncSettingArray syncSettings() const override
Get all the current synchronization settings of the device.
A base struct for a communication interface.
MtiBaseDeviceEx(XsDevice *master)
Constructs a device.
virtual bool deviceUsesOnBoardFiltering()
bool setErrorMode(XsErrorMode errorMode) override
Sets the error mode of the device.
virtual int calculateUpdateRateImp(XsDataIdentifier dataType, const XsOutputConfigurationArray &configurations) const
virtual XsSyncSettingArray syncSettingsFromBuffer(const uint8_t *buffer) const
Create an XsSyncSttingsArray from the given buffer of sync configuration data.
size_t XsSize
XsSize must be unsigned number!
XsTimeInfo utcTime() const
Gets the 'UTC Time' setting of the device.
bool representativeMotionState() override
std::vector< int > supportedUpdateRates(XsDataIdentifier dataType=XDI_None) const override
Ask the device for its supported update rates for the given dataType.
XsQuaternion alignmentRotationQuaternion(XsAlignmentFrame frame) const override
Retrieve the alignment rotation quaternion.
uint16_t rs485TransmissionDelay() const
Returns the transmission delay used for RS485 transmissions.
XsErrorMode errorMode() const override
Returns the error mode of the device.
virtual uint8_t syncLine(const XsSyncSetting &setting) const
Returns the sync line for a generic mti device.
virtual BaseFrequencyResult getBaseFrequencyInternal(XsDataIdentifier dataType=XDI_None) const
An internal function that gets the base frequency.
bool setAlignmentRotationMatrix(XsAlignmentFrame frame, const XsMatrix &matrix) override
Set an arbitrary alignment rotation matrix Use to rotate either L to the chosen frame L' or S to the ...
int getBaseFrequency(XsDataIdentifier dataType=XDI_None) const override
XsSyncLine
Synchronization line identifiers.
XsErrorMode
Error modes for use in XsDevice::setErrorMode.
bool m_divedable
A divedable value.
A list of XsSyncSetting values.
A struct for base frequency result.
bool storeIccResults() override
Stores the ICC results.
XsAlignmentFrame
Alignment frame.
A structure for storing Time values.
The internal base class for MTi devices.
MtiBaseDevice(Communicator *comm)
Constructs a device.