Repository navigation
add 5 FPS with 10% threshold - #13690
Conversation
|
|
||
|
|
||
| delta_Hz = 1 | ||
| tested_fps = [6, 15, 30, 60, 90] |
There was a problem hiding this comment.
Did you try running the nightly and verify there are no timeouts?
I believe we don't have models that support both 5 and 6 FPS but this test is long and we should verify no extra time is needed
There was a problem hiding this comment.
Passed - LRS_libci_pipeline-9992
| fps = measure_fps(cs, cp, time_to_test_fps[i]) | ||
| log.i("Requested fps: {:.1f} [Hz], actual fps: {:.1f} [Hz]. Time to first frame {:.6f}".format(requested_fps, fps, first_frame_seconds)) | ||
| delta_Hz = requested_fps * 0.05 # Validation KPI is 5% | ||
| delta_Hz = requested_fps * (0.10 if requested_fps == 5 else 0.05) # Validation KPI is 5% for all non 5 FPS rate |
There was a problem hiding this comment.
This is fine but maybe we need an array fps_threshold or even fps_delta_hz?
Up to you...
There was a problem hiding this comment.
I thought about it and decided to go on this path, if we will have more than 1 exception we will create an array, currently it's the only exception
|
Do we need to align fps-permutation test? Currently delta is 15% https://github.com/IntelRealSense/librealsense/blob/development/unit-tests/live/frames/fps_helper.py#L19 |
Since this is a 15% threshold I am not sure. |
Some D400 devices support 5 FPS color stream.
The KPI is higher than 5 % as the sensor actually output ~4.7 FPS