xsens_imu
cmtscan.h
Go to the documentation of this file.
1 #ifndef XSENS_MONOLITHIC
2 
26 #endif
27 
28 #ifndef CMTSCAN_H
29 #define CMTSCAN_H
30 
31 #ifndef XSENS_MONOLITHIC
32 # include "xsens_list.h"
33 #endif
34 
35 namespace xsens {
36 
46 bool cmtScanPorts(List<CmtPortInfo>& ports, uint32_t baudrate = 0, uint32_t singleScanTimeout = 1000, uint32_t scanTries = 1, bool ignoreNonXsensDevices = true);
47 
57 bool cmtScanPort(CmtPortInfo& portInfo, uint32_t baudrate = 0, uint32_t singleScanTimeout = 1000, uint32_t scanTries = 1);
58 
60 extern bool abortScan;
61 
62 } // end of xsens namespace
63 
64 #endif // CMTSCAN_H
bool abortScan
Set to true from another thread to abort any scan currently in progress.
Definition: cmtscan.cpp:49
bool cmtScanPorts(List< CmtPortInfo > &ports, uint32_t baudrate, uint32_t singleScanTimeout, uint32_t scanTries, bool ignoreNonXsensDevices)
Scan COM ports for connected Xsens devices.
Definition: cmtscan.cpp:113
bool cmtScanPort(CmtPortInfo &portInfo, uint32_t baud, uint32_t singleScanTimeout, uint32_t scanTries)
Scan a single COM port for connected Xsens devices.
Definition: cmtscan.cpp:51
List class interface for use in CMT.
The namespace of all Xsens software since 2006.
Definition: cmt1.cpp:62
Structure for storing information about a serial port.
Definition: cmtdef.h:1137