Skip to main content

assert_robot_fps_over

Function assert_robot_fps_over 

Source
pub fn assert_robot_fps_over(
    robot: &Robot,
    metric: &str,
    stage: &str,
    min_fps: f32,
    frames: u32,
) -> FpsStats
Expand description

Pump a bounded frame window and assert the measured FPS is above min_fps.

The metric line is printed in a stable machine-readable form: {metric} stage=<stage> fps=<fps> avg_ms=<ms> frames=<count> ....