
Estimate live LSL clock offsets through pylsl
Source:R/roadmap-final-gaps.R
estimate_gazepoint_lsl_clock_offsets.RdResolves active LSL streams and repeatedly calls each inlet's
time_correction() method. The returned correction is ready to pass to
sync_gazepoint_signals_via_lsl() as a value added to remote timestamps.
Usage
estimate_gazepoint_lsl_clock_offsets(
stream_name = NULL,
stream_type = NULL,
source_id = NULL,
timeout_s = 5,
n_estimates = 5L,
pause_s = 0.05,
python = NULL,
execute = TRUE
)Arguments
- stream_name
Optional exact LSL stream name.
- stream_type
Optional exact LSL stream type.
- source_id
Optional exact LSL source ID.
- timeout_s
Resolution and first-correction timeout.
- n_estimates
Number of offset estimates per stream.
- pause_s
Pause between estimates.
- python
Optional Python executable or Windows
pylauncher.- execute
If
FALSE, return a dry-run specification.