High level Motion Tracker (MT) management class. More...
#include <xscontrol_def.h>
Public Member Functions | |
XsDevice * | broadcast () const |
Returns the broadcast device. More... | |
void | clearHardwareError () |
Clear the last hardware error. More... | |
void | close () |
Close all ports and files. More... | |
void | closeCustomPort (int channelId) |
Closes a custom communication channel. More... | |
void | closePort (const XsDeviceId &deviceId) |
Close the port that is used for communication with the given deviceId. More... | |
void | closePort (const XsPortInfo &portinfo) |
Close the serial port that matches portinfo. More... | |
void | closePort (const XsString &portname) |
Close the serial port with the given portname. More... | |
void | closePort (XsDevice *device) |
Close the device port with the given XsDevice. More... | |
XsPortInfo | customPortInfo (int channelId) const |
Returns the port information for a custom communication channel. More... | |
XSNOEXPORT void | destruct () |
XsDevice * | device (const XsDeviceId &deviceId) const |
Returns the XsDevice interface object associated with the supplied deviceId. More... | |
int | deviceCount () const |
Get the number of connected devices. More... | |
virtual std::vector< XsDeviceId > | deviceIds () const |
Get the device IDs of all the connected devices. More... | |
XsOption | disabledOptions () const |
Return the currently explicitly disabled options. More... | |
XsDeviceId | dockDeviceId (const XsDeviceId &deviceId) const |
Get the device ID of the dock device for the given deviceId. More... | |
XsOption | enabledOptions () const |
Return the currently enabled options. More... | |
virtual bool XSNOEXPORT | finalizeOpenPort (Communicator *communicator, XsPortInfo &portinfo, uint32_t timeout, bool detectRs485) |
void | flushInputBuffers () |
Clear the inbound data buffers of all devices. More... | |
XsDevice * | getDeviceFromLocationId (uint16_t locationId) const |
Get the device of the device on the given locationId. More... | |
void | gotoConfig () |
Place all sensors connected through a serial port into Configuration Mode. More... | |
void | gotoMeasurement () |
Place all sensors connected through a serial port into Measurement Mode. More... | |
virtual bool | isDeviceDocked (const XsDeviceId &deviceId) const |
Test if the given deviceId is docked. More... | |
virtual bool | isDeviceWireless (const XsDeviceId &deviceId) const |
Test if the given deviceId is an MTw and if it is wirelessly connected. More... | |
XsResultValue | lastHardwareError () const |
Get the last hardware error code. More... | |
XsDeviceId | lastHardwareErrorDeviceId () const |
XsResultValue | lastResult () const |
Get the result value of the last operation. More... | |
XsString | lastResultText () const |
Get the accompanying error text for the value returned by lastResult() More... | |
virtual bool | loadFilterProfiles (const XsString &filename) |
Load filter profile definitions from a settings file with the given filename. More... | |
int | mainDeviceCount () const |
Get the number of main devices. More... | |
std::vector< XsDeviceId > | mainDeviceIds () const |
Get the device IDs of the available main devices. More... | |
XsDevicePtrArray | mainDevices () const |
Returns all main XsDevice interface objects. More... | |
virtual int | mtCount () const |
Get the number of connected MTs. More... | |
virtual std::vector< XsDeviceId > | mtDeviceIds () const |
Get the device IDs of the available MTs. More... | |
bool | openCustomPort (int channelId, uint32_t channelLatency, bool detectRs485=false) |
Open a custom communication channel. More... | |
virtual bool | openImarPort_internal (const XsString &portname, XsBaudRate baudrate, int imarType, uint32_t timeout=0) |
Open a communication channel on serial port with the given portname. More... | |
bool | openLogFile (const XsString &filename) |
Open the log file with the given filename. More... | |
bool | openPort (const XsString &portname, XsBaudRate baudrate, uint32_t timeout=0, bool detectRs485=false) |
Open a communication channel on serial port with the given portname. More... | |
bool | openPort (XsPortInfo &portinfo, uint32_t timeout=0, bool detectRs485=false) |
Open a communication channel using the details in the supplied XsPortInfo structure. More... | |
bool | openPortWithCredentials (XsPortInfo &portinfo, XsString const &id, XsString const &key, uint32_t timeout=0) |
Open a communication channel using the details in the supplied XsPortInfo structure using the supplied credentials. More... | |
bool | setInitialPositionLLA (const XsVector &lla) |
Sets the current GNSS position of the system. More... | |
void | setOptions (XsOption enable, XsOption disable) |
Peristently enable or disable options. More... | |
void | setOptionsForce (XsOption enabled) |
Peristently enable or disable options. More... | |
XsResultValue | startRestoreCommunication (const XsString &portName) |
Starts restore communication procedure. More... | |
void | stopRestoreCommunication () |
Stops restore communication procedure. More... | |
void | transmissionReceived (int channelId, const XsByteArray &data) |
Feed data coming back from an Xsens device over a custom channel into XDA. More... | |
XsControl () | |
Construct a new Xsens Device API control object. More... | |
~XsControl () | |
Destroy this XsControl object. More... | |
![]() | |
void | addCallbackHandler (XsCallbackPlainC *cb, bool chain=true) |
Add a handler to the list. More... | |
void | addChainedManager (CallbackManagerXda *cm) |
Add a chained manager to the list. More... | |
CallbackManagerXda () | |
Constructor, initializes the callback list. More... | |
void | clearCallbackHandlers (bool chain=true) |
Clear the callback list. More... | |
void | clearChainedManagers () |
Clear the chained manager list. More... | |
void | copyCallbackHandlersFrom (CallbackManagerXda *cm, bool chain=true) |
Copy all handlers from cm into this manager. More... | |
void | copyCallbackHandlersTo (CallbackManagerXda *cm, bool chain=true) |
Copy all handlers from this manager into cm. More... | |
void | onAllBufferedDataAvailable (XsDevicePtrArray *devs, const XsDataPacketPtrArray *packets) override |
The XsCallback::onAllBufferedDataAvailable() callback forwarding function. More... | |
void | onAllDataAvailable (XsDevicePtrArray *devs, const XsDataPacketPtrArray *packets) override |
The XsCallback::onAllDataAvailable() callback forwarding function. More... | |
void | onAllLiveDataAvailable (XsDevicePtrArray *devs, const XsDataPacketPtrArray *packets) override |
The XsCallback::onAllLiveDataAvailable() callback forwarding function. More... | |
void | onAllRecordedDataAvailable (XsDevicePtrArray *devs, const XsDataPacketPtrArray *packets) override |
The XsCallback::onAllRecordedDataAvailable() callback forwarding function. More... | |
void | onBufferedDataAvailable (XsDevice *dev, const XsDataPacket *data) override |
The XsCallback::onBufferedDataAvailable() callback forwarding function. More... | |
void | onConnectivityChanged (XsDevice *dev, XsConnectivityState newState) override |
The XsCallback::onConnectivityChanged() callback forwarding function. More... | |
void | onDataAvailable (XsDevice *dev, const XsDataPacket *data) override |
The XsCallback::onDataAvailable() callback forwarding function. More... | |
void | onDataUnavailable (XsDevice *dev, int64_t packetId) override |
The XsCallback::onDataUnavailable() callback forwarding function. More... | |
void | onDeviceStateChanged (XsDevice *dev, XsDeviceState newState, XsDeviceState oldState) override |
The XsCallback::onDeviceStateChanged() callback forwarding function. More... | |
void | onError (XsDevice *dev, XsResultValue error) override |
The Xscallback::onError() callback forwarding function. More... | |
void | onInfoResponse (XsDevice *dev, XsInfoRequest request) override |
The XsCallback::onInfoResponse() callback forwarding function. More... | |
void | onLiveDataAvailable (XsDevice *dev, const XsDataPacket *packet) override |
The XsCallback::onLiveDataAvailable() callback forwarding function. More... | |
void | onMessageDetected (XsDevice *dev, XsProtocolType type, XsByteArray const *rawMessage) override |
The Xscallback::onMessageReceivedFromDevice() callback forwarding function. More... | |
void | onMessageReceivedFromDevice (XsDevice *dev, XsMessage const *message) override |
The Xscallback::onMessageReceivedFromDevice() callback forwarding function. More... | |
void | onMessageSentToDevice (XsDevice *dev, XsMessage const *message) override |
The Xscallback::onMessageSentToDevice() callback forwarding function. More... | |
void | onMissedPackets (XsDevice *dev, int count, int first, int last) override |
The XsCallback::onMissedPackets() callback forwarding function. More... | |
void | onNonDataMessage (XsDevice *dev, XsMessage const *message) override |
The Xscallback::onNonDataMessage() callback forwarding function. More... | |
void | onProgressUpdated (XsDevice *dev, int current, int total, const XsString *identifier) override |
The XsCallback::onProgressUpdated() callback forwarding function. More... | |
void | onRecordedDataAvailable (XsDevice *dev, const XsDataPacket *data) override |
The XsCallback::onRecordedDataAvailable() callback forwarding function. More... | |
void | onRestoreCommunication (const XsString *portName, XsResultValue result) override |
The Xscallback::onRestoreCommunication callback forwarding function. More... | |
void | onTransmissionRequest (int channelId, const XsByteArray *data) override |
void | onWakeupReceived (XsDevice *dev) override |
The XsCallback::onWakeupReceived() callback forwarding function. More... | |
int | onWriteMessageToLogFile (XsDevice *dev, const XsMessage *message) override |
The XsCallback::onWriteMessageToLogFile() callback forwarding function. More... | |
void | removeCallbackHandler (XsCallbackPlainC *cb, bool chain=true) |
Remove a handler from the list. More... | |
void | removeChainedManager (CallbackManagerXda *cm) |
Remove achained manager from the list. More... | |
~CallbackManagerXda () | |
Destructor, clears the callback list. More... | |
Static Public Member Functions | |
static XSNOEXPORT XsControl * | construct () |
static XsString | resultText (XsResultValue resultCode) |
Get a descriptive text for the given resultCode. More... | |
Protected Member Functions | |
virtual XsDevice *XSNOCOMEXPORT | addMasterDevice (Communicator *communicator) |
void | closePortByIndex (uint32_t index) |
XsDevice * | findDevice (const XsDeviceId &deviceId) const |
Communicator * | findXbusInterface (const XsDeviceId &deviceId) const |
Find the xs3 info of the given id. More... | |
Communicator * | findXbusInterface (const XsPortInfo &portInfo) const |
Communicator * | findXbusInterface (const XsString &portName) const |
virtual void | removeExistingDevice (XsDeviceId const &deviceId) |
void | setPersistentSettings (XsDevice *dev) |
void | updateRecordingState () |
XSNOEXPORT | XsControl (const XsControl &)=delete |
Protected Attributes | |
BroadcastDevice * | m_broadcaster |
The broadcast device object. More... | |
XdaCommunicatorFactory * | m_communicatorFactory |
The communicator factory object. More... | |
DeviceFactory * | m_deviceFactory |
The device factory object. More... | |
std::vector< XsDevice * > | m_deviceList |
This list contains device-information and cached data per device. More... | |
XsResultValue | m_lastHwError |
Contains the last serious error reported by CMT3. More... | |
XsDeviceId | m_lastHwErrorDeviceId |
Contains the XsDevice ID of the device that caused the last hardware error. More... | |
LastResultManager | m_lastResult |
The last result of an operation. More... | |
XsVector3 | m_latLonAlt |
This vector contains the latitude, longitude and altitude. More... | |
XsOption | m_optionsDisable |
Contsins all disabled options. More... | |
XsOption | m_optionsEnable |
Contains all enable options. More... | |
xsens::MutexReadWrite | m_portMutex |
Controls access to the serial ports, also used to suspend the thread. More... | |
std::map< int, ProxyCommunicator * > | m_proxyChannels |
This map contains the proxy channels. More... | |
volatile std::atomic_bool | m_recording |
AwindaStationIndication of threads started or not. More... | |
RestoreCommunication * | m_restoreCommunication |
The restore communication object. More... | |
xsens::Mutex | m_runMutex |
Always held by the thread when it is running. More... | |
bool | m_useFakeMessages |
Boolean variable for enabling/disabling the use of fake messages. More... | |
High level Motion Tracker (MT) management class.
CMT version 2 and higher do not use the explicit error codes that CMT version 1 used. Most functions return a boolean indicating success, a null-object, empty lists or nothing at all. In some cases more in-depth knowledge of the last error is required. For these occasions, use lastResult() or lastResultText() to find out what exactly went wrong.
Definition at line 131 of file xscontrol_def.h.
XsControl::XsControl | ( | ) |
Construct a new Xsens Device API control object.
Construct a new Xsens Device API control object that can be used to open ports, files, etc.
Definition at line 140 of file xscontrol_def.cpp.
XsControl::~XsControl | ( | ) |
Destroy this XsControl object.
All connected devices are put in config mode. All serial ports and files are subsequently closed.
Definition at line 165 of file xscontrol_def.cpp.
|
protecteddelete |
|
protectedvirtual |
XsDevice * XsControl::broadcast | ( | ) | const |
Returns the broadcast device.
The broadcast device can be used to apply an operation to all connected devices at once (if they support it)
Definition at line 968 of file xscontrol_def.cpp.
void XsControl::clearHardwareError | ( | ) |
Clear the last hardware error.
Definition at line 381 of file xscontrol_def.cpp.
void XsControl::close | ( | ) |
Close all ports and files.
All devices are put in config mode before the serial port is closed.
Definition at line 194 of file xscontrol_def.cpp.
void XsControl::closeCustomPort | ( | int | channelId | ) |
Closes a custom communication channel.
channelId | The user-provided identifier of the channel to close. This identifier must match with the one used to open the port |
Definition at line 833 of file xscontrol_def.cpp.
void XsControl::closePort | ( | const XsDeviceId & | deviceId | ) |
Close the port that is used for communication with the given deviceId.
deviceId | The device ID to clos eth port for. When 0, the first available port is closed. |
Definition at line 281 of file xscontrol_def.cpp.
void XsControl::closePort | ( | const XsPortInfo & | portinfo | ) |
Close the serial port that matches portinfo.
All connected devices are put in config mode before the port is closed.
portinfo | A port information structure that contains the name of the port to close |
Definition at line 293 of file xscontrol_def.cpp.
void XsControl::closePort | ( | const XsString & | portname | ) |
Close the serial port with the given portname.
All connected devices are put in config mode before the port is closed.
portname | the name of the port to close (e.g. COM1 on Windows, /dev/ttyUSB0 on Linux) |
Definition at line 260 of file xscontrol_def.cpp.
void XsControl::closePort | ( | XsDevice * | device | ) |
|
protected |
|
static |
Definition at line 1183 of file xscontrol_def.cpp.
XsPortInfo XsControl::customPortInfo | ( | int | channelId | ) | const |
Returns the port information for a custom communication channel.
channelId | The user-provided identifier of the channel |
Definition at line 820 of file xscontrol_def.cpp.
|
inline |
Definition at line 205 of file xscontrol_def.h.
XsDevice * XsControl::device | ( | const XsDeviceId & | deviceId | ) | const |
Returns the XsDevice interface object associated with the supplied deviceId.
deviceId | The ID of the device to return, 0 to return the first available main device |
Definition at line 947 of file xscontrol_def.cpp.
int XsControl::deviceCount | ( | ) | const |
Get the number of connected devices.
Definition at line 317 of file xscontrol_def.cpp.
|
virtual |
Get the device IDs of all the connected devices.
Definition at line 333 of file xscontrol_def.cpp.
XsOption XsControl::disabledOptions | ( | ) | const |
Return the currently explicitly disabled options.
Definition at line 1118 of file xscontrol_def.cpp.
XsDeviceId XsControl::dockDeviceId | ( | const XsDeviceId & | deviceId | ) | const |
Get the device ID of the dock device for the given deviceId.
This function returns the ID of the docking station that deviceId is plugged into. If the docking station itself is not an open port in this XsControl or the device is not plugged into a docking station, the function will return a 0 id.
deviceId | the ID of the device to find the dock parent for |
Definition at line 898 of file xscontrol_def.cpp.
XsOption XsControl::enabledOptions | ( | ) | const |
Return the currently enabled options.
Definition at line 1109 of file xscontrol_def.cpp.
|
virtual |
|
protected |
|
protected |
Find the xs3 info of the given id.
|
protected |
|
protected |
void XsControl::flushInputBuffers | ( | ) |
Clear the inbound data buffers of all devices.
Definition at line 302 of file xscontrol_def.cpp.
XsDevice * XsControl::getDeviceFromLocationId | ( | uint16_t | locationId | ) | const |
Get the device of the device on the given locationId.
If the location ID is not found, the lastResult value is set and the function returns a nullptr.
locationId | the location ID of the device we're looking for |
Definition at line 362 of file xscontrol_def.cpp.
void XsControl::gotoConfig | ( | ) |
Place all sensors connected through a serial port into Configuration Mode.
This function is called before close() in the destructor of the class. /sa close()
Definition at line 510 of file xscontrol_def.cpp.
void XsControl::gotoMeasurement | ( | ) |
Place all sensors connected through a serial port into Measurement Mode.
The function places the sensors in measurement mode in the appropriate order as they are sorted by sortBySync.
Definition at line 524 of file xscontrol_def.cpp.
|
virtual |
Test if the given deviceId is docked.
Only wireless devices can be regarded as docked. \param deviceId the ID of the device to investigate \returns true if the device is docked, false otherwise
Definition at line 558 of file xscontrol_def.cpp.
|
virtual |
Test if the given deviceId is an MTw and if it is wirelessly connected.
If the device ID is not found, the function returns false and the lastResult value is set.
deviceId | the ID of the device to investigate |
Definition at line 572 of file xscontrol_def.cpp.
XsResultValue XsControl::lastHardwareError | ( | ) | const |
Get the last hardware error code.
Definition at line 392 of file xscontrol_def.cpp.
XsDeviceId XsControl::lastHardwareErrorDeviceId | ( | ) | const |
Definition at line 399 of file xscontrol_def.cpp.
XsResultValue XsControl::lastResult | ( | ) | const |
Get the result value of the last operation.
The result values are codes that describe a failure in more detail.
Definition at line 409 of file xscontrol_def.cpp.
XsString XsControl::lastResultText | ( | ) | const |
Get the accompanying error text for the value returned by lastResult()
This is more than a convenience function for
It may provide situation-specific information instead.
Definition at line 423 of file xscontrol_def.cpp.
|
virtual |
Load filter profile definitions from a settings file with the given filename.
To use the filtering properly, XDA requires filter settings usually stored in a scenarios.xsb file. XSB is the Xsens Settings Binary format. This function allows you to specify the full path + filename to use instead of the default filter profiles embedded in the dll.
filename | The full path+filename to use for loading the parameters. When empty, the default filter profiles are loaded. On Linux this is "./scenarios.xsb", on Windows it is read from the dll resource. |
Definition at line 1086 of file xscontrol_def.cpp.
int XsControl::mainDeviceCount | ( | ) | const |
Get the number of main devices.
Definition at line 432 of file xscontrol_def.cpp.
std::vector< XsDeviceId > XsControl::mainDeviceIds | ( | ) | const |
Get the device IDs of the available main devices.
Main devices are the devices communicating with the serial port, typically Bodypacks, Awinda Stations and stand-alone MTis or MTxs.
Definition at line 466 of file xscontrol_def.cpp.
XsDevicePtrArray XsControl::mainDevices | ( | ) | const |
Returns all main XsDevice interface objects.
Definition at line 955 of file xscontrol_def.cpp.
|
virtual |
Get the number of connected MTs.
Definition at line 446 of file xscontrol_def.cpp.
|
virtual |
Get the device IDs of the available MTs.
Definition at line 485 of file xscontrol_def.cpp.
bool XsControl::openCustomPort | ( | int | channelId, |
uint32_t | channelLatency, | ||
bool | detectRs485 = false |
||
) |
Open a custom communication channel.
channelId | User-provided identifier for the custom channel. Supplying the same channel Id more than once gives a XV_ALREADYOPEN result ( |
channelLatency | The worst-case round-trip delay in milliseconds induced by the custom channel. XDA will add this latency to its communication timeout values |
detectRs485 | Enable more extended scan to detect rs485 devices |
Definition at line 792 of file xscontrol_def.cpp.
|
virtual |
Open a communication channel on serial port with the given portname.
If opening the port is successful, the connected devices are available through the XsControl interface.
The expected value for portname on Microsoft Windows platforms is "COMx" where x is the port number.
baudrate | The baudrate used on the port. |
portname | The name of the port. |
imarType | The type of iMAR device that is used |
timeout | The maximum number of ms to try to put the device in config mode before giving up, if 0 the default value is used |
Definition at line 880 of file xscontrol_def.cpp.
bool XsControl::openLogFile | ( | const XsString & | filename | ) |
Open the log file with the given filename.
\param filename the name of the file to open \returns true on success, false on failure
Definition at line 609 of file xscontrol_def.cpp.
bool XsControl::openPort | ( | const XsString & | portname, |
XsBaudRate | baudrate, | ||
uint32_t | timeout = 0 , |
||
bool | detectRs485 = false |
||
) |
Open a communication channel on serial port with the given portname.
If opening the port is successful, the connected devices are available through the XsControl interface.
The expected value for portname on Microsoft Windows platforms is "COMx" where x is the port number.
baudrate | The baudrate used on the port. | |
portname | The name of the port. | |
timeout | The maximum number of ms to try to put the device in config mode before giving up, if 0 the default value is used | |
[in] | detectRs485 | Enable more extended scan to detect rs485 devices |
Definition at line 684 of file xscontrol_def.cpp.
bool XsControl::openPort | ( | XsPortInfo & | portinfo, |
uint32_t | timeout = 0 , |
||
bool | detectRs485 = false |
||
) |
Open a communication channel using the details in the supplied XsPortInfo structure.
portinfo | Contains the details of the port to open. The portinfo may be updated with a detected deviceid | |
timeout | The maximum number of ms to try to put the device in config mode before giving up, if 0 the default value is used | |
[in] | detectRs485 | Enable more extended scan to detect rs485 devices. Only necessary if portInfo does not contain a device ID of an RS485 device |
Definition at line 739 of file xscontrol_def.cpp.
bool XsControl::openPortWithCredentials | ( | XsPortInfo & | portinfo, |
XsString const & | id, | ||
XsString const & | key, | ||
uint32_t | timeout = 0 |
||
) |
Open a communication channel using the details in the supplied XsPortInfo structure using the supplied credentials.
portinfo | Contains the details of the connection to open. The device ID in the structure may be updated by this function. |
id | The user ID to be supplied for the authentication |
key | The key to be supplied for the authentication |
timeout | The maximum number of ms to try to put the device in config mode before giving up, if 0 the default value is used |
Definition at line 765 of file xscontrol_def.cpp.
|
protectedvirtual |
|
static |
Get a descriptive text for the given resultCode.
resultCode | The result code to translate |
Definition at line 186 of file xscontrol_def.cpp.
bool XsControl::setInitialPositionLLA | ( | const XsVector & | lla | ) |
Sets the current GNSS position of the system.
This function will update the Latitude, Longitude and Altitude of the system and all connected devices. This differs from broadcast()->setInitialPositionLLA() in that the setting is persistent for the XsControl and will be applied to devices connected after the setting has been made. Note: this XDA data type is the setting initialPositionLLA, which is set by setInitialPositionLLA. It's value is therefore static. Use LatitudeLongitude to retrieve the live position data from the MTi.
lla | A vector containing the desired Latitude, Longitude and Altitude |
Definition at line 935 of file xscontrol_def.cpp.
Peristently enable or disable options.
These options are used to specify whether XDA should compute certain kinds of data from available other data and what data-retention policy to use. On a system with limited resources it may be useful to limit the processing and data retention done by XDA. By default XDA will do all processing it can do, but retain as little data as possible. This function remembers the setting and applies it to new devices when they are created as well as broadcasting it to existing devices. In case of conflict, enable supersedes disable.
enable | A logically OR'ed combination of XsOptions to enable |
disable | A logically OR'ed combination of XsOptions to disable |
Definition at line 1137 of file xscontrol_def.cpp.
void XsControl::setOptionsForce | ( | XsOption | enabled | ) |
Peristently enable or disable options.
These options are used to specify whether XDA should compute certain kinds of data from available other data and what data-retention policy to use. On a system with limited resources it may be useful to limit the processing and data retention done by XDA. By default XDA will do all processing it can do, but retain as little data as possible. This function remembers the setting and applies it to new devices when they are created as well as broadcasting it to existing devices. Any non-enabled options are explicitly disabled.
enabled | A logically OR'ed combination of the desired enabled XsOptions |
Definition at line 1157 of file xscontrol_def.cpp.
|
protected |
XsResultValue XsControl::startRestoreCommunication | ( | const XsString & | portName | ) |
Starts restore communication procedure.
Restores the communication settings to the default factory settings.
portName | the name of port to which device is connected. |
Definition at line 538 of file xscontrol_def.cpp.
void XsControl::stopRestoreCommunication | ( | ) |
Stops restore communication procedure.
Definition at line 545 of file xscontrol_def.cpp.
void XsControl::transmissionReceived | ( | int | channelId, |
const XsByteArray & | data | ||
) |
Feed data coming back from an Xsens device over a custom channel into XDA.
channelId | The user-provided identifier of the custom channel |
data | The data to feed back into XDA |
Definition at line 857 of file xscontrol_def.cpp.
|
protected |
|
protected |
The broadcast device object.
Definition at line 268 of file xscontrol_def.h.
|
protected |
The communicator factory object.
Definition at line 285 of file xscontrol_def.h.
|
protected |
The device factory object.
Definition at line 282 of file xscontrol_def.h.
|
protected |
This list contains device-information and cached data per device.
Definition at line 230 of file xscontrol_def.h.
|
protected |
Contains the last serious error reported by CMT3.
Definition at line 239 of file xscontrol_def.h.
|
protected |
Contains the XsDevice ID of the device that caused the last hardware error.
Definition at line 242 of file xscontrol_def.h.
|
mutableprotected |
The last result of an operation.
Definition at line 236 of file xscontrol_def.h.
|
protected |
This vector contains the latitude, longitude and altitude.
Definition at line 277 of file xscontrol_def.h.
|
protected |
Contsins all disabled options.
Definition at line 274 of file xscontrol_def.h.
|
protected |
Contains all enable options.
Definition at line 271 of file xscontrol_def.h.
|
mutableprotected |
Controls access to the serial ports, also used to suspend the thread.
Definition at line 247 of file xscontrol_def.h.
|
protected |
This map contains the proxy channels.
Definition at line 233 of file xscontrol_def.h.
|
protected |
AwindaStationIndication of threads started or not.
Definition at line 252 of file xscontrol_def.h.
|
protected |
The restore communication object.
Definition at line 288 of file xscontrol_def.h.
|
mutableprotected |
Always held by the thread when it is running.
Definition at line 249 of file xscontrol_def.h.
|
protected |
Boolean variable for enabling/disabling the use of fake messages.
Definition at line 227 of file xscontrol_def.h.