add drift callback
Closes #232 (closed)
Merge request reports
Activity
changed milestone to %Port Acquisition Server to Qt/QML
requested review from @tprampar
assigned to @trcabel
- Resolved by Thomas PRAMPART
- Resolved by CABEL Tristan
- Resolved by CABEL Tristan
In the GTK version of the code, drift would stay very low on generated drivers like the generic oscilator.
However, I tested it and observed fast growing negative drift.
The report logged in the terminal is:[ INF ] Stats after 23.6719 second session of 512hz sampling (declared rate), [ INF ] Estimate : Driver samples at 5.1hz (1% of declared). [ INF ] Received : 120 samples. [ INF ] Expected : 12120 samples.
This looks like a bug, maybe due to not calculating the drift each time samples are recorded...
Edited by Thomas PRAMPART
mentioned in commit f7f721f3