Skip to content

Add missing constants & fixed 6fps bug for live/FPS weekly CI - #14327

Merged
Nir-Az merged 1 commit into
realsenseai:developmentfrom
ttkhuong:RSDSO-20510.01
Oct 19, 2025
Merged

Nir-Az merged 1 commit into
realsenseai:developmentfrom
ttkhuong:RSDSO-20510.01

Conversation

@ttkhuong

@ttkhuong ttkhuong commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@ttkhuong

ttkhuong commented Oct 6, 2025

Copy link
Copy Markdown
Contributor Author

@Nir-Az , please review and merge

@ymodlin
ymodlin requested review from Nir-Az and Copilot October 8, 2025 08:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses timing and measurement issues in the FPS performance testing system for Intel RealSense cameras. The changes improve test reliability for low FPS scenarios (particularly 6 FPS) and add better configuration management for CI environments.

  • Added constants for device initialization timeouts and minimum frame count thresholds
  • Fixed measurement intervals for very low FPS tests (≤6 FPS) to improve data collection
  • Added a utility function for human-readable duration formatting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ymodlin

ymodlin commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

@ttkhuong once the CI is passing you can add Nir A. to review no need to tag him.
I added the copilot to review as well.

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once Yogev approve we can merge

@ttkhuong
ttkhuong requested a review from Copilot October 8, 2025 23:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

if min_fps <= 6:
warmup_frames = 2 # Reduced from 3
measurement_interval = 3
measurement_interval = 2

Copilot AI Oct 8, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hardcoded value conflicts with the measurement_interval = 1 pattern established for very low FPS (≤6) in the single stream test function above. For consistency and to apply the same 6fps bug fix, this should also be set to 1.

Suggested change
measurement_interval = 2
measurement_interval = 1

Copilot uses AI. Check for mistakes.
@Nir-Az
Nir-Az merged commit 32bfad8 into realsenseai:development Oct 19, 2025
26 checks passed
@ttkhuong
ttkhuong deleted the RSDSO-20510.01 branch November 6, 2025 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants