The Sample Rate setting is normally a Float input, so that when picking a sample rate in Seconds you set the interval with second units. It's currently an Int field in mPrefs which prevents to use custom intervals to sample at certain specific robot controller frequencies (eg 125Hz = 0.008s, 500Hz = 0.002s)
The Sample Rate setting is normally a Float input, so that when picking a sample rate in Seconds you set the interval with second units. It's currently an Int field in mPrefs which prevents to use custom intervals to sample at certain specific robot controller frequencies (eg 125Hz = 0.008s, 500Hz = 0.002s)
https://github.com/AutodeskRoboticsLab/Mimic/blob/7287c65a8b0d95f8b2212a1214c8cb28f0644430/mimic/scripts/mimic_prefs_ui.py#L356
https://github.com/AutodeskRoboticsLab/Mimic/blob/7287c65a8b0d95f8b2212a1214c8cb28f0644430/mimic/scripts/mimic_ui.py#L507