Go to the documentation of this file.
80 if (deviceId.isAwindaXDongle() ||
81 deviceId.isBodyPack())
84 if (deviceId.isAwindaX())
86 else if (deviceId.isSyncStationX())
88 else if (deviceId.isMtMark5() && deviceId.isMtigX10())
90 else if (deviceId.isMtig())
92 else if (deviceId.isMtiX() && deviceId.isGnss())
94 else if (deviceId.isMti6X0() && deviceId.isGnss() && deviceId.hasInternalGnss())
96 else if (deviceId.isMti6X0() && deviceId.isGnss())
98 else if (deviceId.isMti6X0())
100 else if (deviceId.isMtiX() || deviceId.isMti3X0())
102 else if (deviceId.isMti() || deviceId.isMtig())
104 else if (deviceId.isGnss())
106 else if (deviceId.isMtx2())
108 else if (deviceId.isMtw2())
128 if (deviceId.isAwindaX())
130 else if (deviceId.isSyncStationX())
142 if (deviceId.isAwindaX())
144 else if (deviceId.isSyncStationX())
146 else if (deviceId.isMti() || deviceId.isMtig())
148 else if (deviceId.isMtx2())
162 #define SUPPORT_XSL4_BiIn 0 // Bidirectional 1 <- In is not supported anymore
179 settings.push_back(
s);
181 #if SUPPORT_XSL4_BiIn == 1
183 settings.push_back(
s);
188 settings.push_back(
s);
197 settings.push_back(
s);
205 #if SUPPORT_XSL4_BiIn == 1
207 settings.push_back(
s);
213 settings.push_back(
s);
220 settings.push_back(
s);
228 settings.push_back(
s);
250 settings.push_back(
s);
252 settings.push_back(
s);
256 settings.push_back(
s);
258 settings.push_back(
s);
269 settings.push_back(
s);
280 settings.push_back(
s);
289 settings.push_back(
s);
291 settings.push_back(
s);
300 settings.push_back(
s);
302 settings.push_back(
s);
322 settings.push_back(
s);
324 settings.push_back(
s);
346 settings.push_back(
s);
348 settings.push_back(
s);
352 settings.push_back(
s);
354 settings.push_back(
s);
365 settings.push_back(
s);
376 settings.push_back(
s);
387 settings.push_back(
s);
389 settings.push_back(
s);
399 settings.push_back(
s);
406 settings.push_back(
s);
416 settings.push_back(timePulse1Pps);
426 for (
auto it = settings.begin(); it != settings.end(); ++it)
439 settings.insert(
s, it);
461 settings.push_back(
s);
471 settings.push_back(
s);
481 settings.push_back(
s);
503 settings.push_back(
s);
507 settings.push_back(
s);
512 settings.push_back(
s);
519 settings.push_back(
s);
539 settings.push_back(
s);
561 settings.push_back(
s);
570 settings.push_back(
s);
582 std::set<XsSyncFunction> inputSyncFunctions;
592 s.m_function = syncFunction;
600 settings.push_back(
s);
604 s.m_function = syncFunction;
612 settings.push_back(
s);
616 std::set<XsSyncFunction> outputSyncFunctions;
626 s.m_function = syncFunction;
634 settings.push_back(
s);
638 s.m_function = syncFunction;
646 settings.push_back(
s);
659 bool isCompatible =
true;
664 if (areInputs || areOutputs)
675 isCompatible =
false;
struct XsSyncSettingArray XsSyncSettingArray
@ XSF_Gnss1Pps
Emit trigger on the start of each second, generated by the GNSS receiver.
XsSyncSettingArray supportedSyncSettingsForMtiDevice()
XsSyncSettingArray supportedSyncSettingsForMt6x0Device()
get list of supported synchronizations settings for an Mti6x0Device
@ XSF_IntervalTransitionMeasurement
Emit trigger on an interval transition during measurement and recording.
@ XSF_TriggerIndication
An indication is sent to the driver when trigger is detected.
bool supportsSyncSettings(XsDeviceId const &deviceId)
@ XSLGMT_ReqData
Serial data sync option, use XMID_ReqData message id for this XSL_ReqData.
XsSyncFunction m_function
@ XSF_ClockBiasEstimation
Do a clock bias estimation on trigger.
@ XSL4_ReqData
Serial data sync option, use XMID_ReqData message id for this XSL_ReqData.
@ XSL_ReqData
Serial data sync option, use XMID_ReqData message id for this.
@ XSF_StopRecordingOut
Stop recording on trigger or emit trigger when recording is stopped (Out).
XsSyncPolarity m_polarity
@ XSP_None
Don't generate or react to trigger level changes.
unsigned int mtiTimeResolutionInMicroseconds()
XsSyncSettingArray supportedSyncSettingsForMt6x0IntGnssDevice()
get list of supported synchronizations settings for any MTi-6x0G, rugged devices with internal GNSS,...
XsSyncSettingArray supportedSyncSettingsForMtigDevice()
get list of supported synchronizations settings for an MtigDevice
@ XSL4_BiIn
Bidirectional sync line, configured as input XSL_Bi1In.
XsSyncSettingArray supportedSyncSettingsForAwindaBaseStation()
get list of supported synchronizations settings for an Awinda base station
XsSyncSettingArray supportedSyncSettingsForMti7AndMTi8Devices()
get list of supported synchronizations settings for an Mti7 or MTi8 Device
@ XSLGMT_In1
Sync in 1 XSL_In1.
unsigned int awindaTimeResolutionInMicroseconds()
@ XSF_GotoOperational
Emit trigger when going to Operational mode.
A structure for storing all xsens sync settings.
@ XSF_IntervalTransitionRecording
Emit trigger on an interval transition during recording.
XsSyncLine xslgmtToXsl(SyncLineGmt mk4Line)
Translate an SyncLineGmt into a generic XsSyncLine.
@ XSL_GnssClockIn
Clock synchronisation input line attached to internal GNSS unit.
@ XSL4_ClockIn
External clock sync XSL_ClockIn.
@ XSL_ClockIn
Clock synchronisation input.
XsSyncSettingArray supportedSyncSettingsForGnssDevice()
get list of supported synchronizations settings for MtDevice with GNSS
@ XSL4_Gnss1Pps
GNSS 1PPS sync line XSL_Gnss1Pps.
@ XSL4_BiOut
Bidirectional sync line, configured as output XSL_Bi1Out.
bool isAwindaSettingCompatible(XsSyncSetting const &setting1, XsSyncSetting const &setting2)
Contains an Xsens device ID and provides operations for determining the type of device.
@ XSP_RisingEdge
React to a rising edge on input.
XsSyncLine xsl4ToXsl(SyncLineMk4 mk4Line)
Translate an SyncLineMk4 into a generic XsSyncLine.
XsSyncSettingArray supportedSyncSettingsForMtiXDevice()
get list of supported synchronization settings for an MtiX Device
@ XSF_StartRecordingIn
Start recording on trigger or emit trigger when first recording frame is started (In).
XsSyncSettingArray supportedSyncSettingsForMt6x0GnssDevice()
get list of supported synchronizations settings for any MTi-6x0, non-rugged devices with external GNS...
@ XSF_StartRecordingOut
Start recording on trigger or emit trigger when first recording frame is started (Out).
@ XSF_StartSampling
Start sampling. Data will only be transmitted after this trigger has been received.
A list of XsSyncSetting values.
bool isSyncStationSettingCompatible(XsSyncSetting const &setting1, XsSyncSetting const &setting2)
@ XSF_StopRecordingIn
Stop recording on trigger or emit trigger when recording is stopped (In).
XsSyncSettingArray supportedSyncSettings(XsDeviceId const &deviceId)
Returns the list of the supported synchronizations settings for the specified device id Each item in ...
@ XSF_ResetTimer
On input trigger, the outgoing timer of the station will be set to 0.
unsigned int mtx2TimeResolutionInMicroseconds()
bool isCompatibleSyncSetting(XsDeviceId const &deviceId, XsSyncSetting const &setting1, XsSyncSetting const &setting2)
Return true if setting1 is compatible with setting2 for a device with deviceId.
XsSyncSettingArray supportedSyncSettingsForMark5MtigX10Device()
@ XSF_SendLatest
Send the latest sample.
XsSyncFunction
Actions to be taken on input triggers.
@ XSL4_In
Send data line XSL_In1.
@ XSL4_GnssClockIn
GNSS clock sync XSL_GnssClockIn.
XsSyncSettingArray supportedSyncSettingsForMtDevice()
get list of supported synchronizations settings for an MtDevice
unsigned int timeResolutionInMicroseconds(XsDeviceId const &deviceId)
unsigned int syncStationTimeResolutionInMicroseconds()
XsSyncSettingArray supportedSyncSettingsForMtx2Device()
get list of supported synchronizations settings for an Mtx2Device