Function make_trig_fps_cmd

Source
pub fn make_trig_fps_cmd(rate_ideal: f64) -> (Cmd, f64)
Expand description

Given an ideal frame rate (in frames per second), compute the triggerbox command which best approximates this frame rate.

Returns the triggerbox command and the expected actual frame rate (in frames per second).