Skip to content

T2ff sensor enhance info + skills update - #14769

Merged
Nir-Az merged 5 commits into
realsenseai:developmentfrom
Nir-Az:t2ff-sensor-enhance
Mar 3, 2026
Merged

Nir-Az merged 5 commits into
realsenseai:developmentfrom
Nir-Az:t2ff-sensor-enhance

Conversation

@Nir-Az

@Nir-Az Nir-Az commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator

We wish to print the actual time the frame arrived even if pass the KPI (until 1 sec post KPI)
Also update the agent instructions to use the skills properly and the testing skill to better understand how to run tests

Copilot AI review requested due to automatic review settings February 26, 2026 15:39

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 updates the T2FF (time-to-first-frame) sensor live test to capture/report the actual first-frame arrival time even when it exceeds the KPI (up to KPI + 1s), and refreshes repository guidance so agents/developers use the documented build/testing “skills” correctly.

Changes:

  • Update test-t2ff-sensor.py to use a “no-frame” sentinel and to print/check first-frame timing even if it arrives after the KPI.
  • Improve testing documentation with Windows-oriented examples and troubleshooting notes.
  • Update agent instructions to reference .github/skills/* as the source of truth for build/test how-tos.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
unit-tests/live/frames/test-t2ff-sensor.py Adjusts first-frame timing logic to report late frames (up to KPI+1s) and adds explicit “no frames arrived” checks.
.github/skills/testing.md Updates test-running examples and adds notes on .pyd ambiguity and test-name/regex matching.
.github/agent-instructions.md Adds a “Skills” section and points build/testing guidance to the skill files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/skills/testing.md Resolved
@Nir-Az
Nir-Az requested a review from remibettan March 2, 2026 08:34
Nir-Az and others added 3 commits March 2, 2026 20:24
…sting.md Windows example

- Update time_to_first_frame docstring: return value on timeout is -1, not max_delay_allowed
- Fix depth/color 'no frames' error messages to report max_delay_allowed+1 (the actual wait window)
- Fix malformed Windows example in testing.md (extra space in path, wrong flags)
@Nir-Az
Nir-Az force-pushed the t2ff-sensor-enhance branch from 10be072 to 42eee6c Compare March 2, 2026 18:27
@Nir-Az
Nir-Az requested a review from OhadMeir March 3, 2026 15:14
@Nir-Az
Nir-Az removed the request for review from remibettan March 3, 2026 15:19
@Nir-Az
Nir-Az merged commit 396e099 into realsenseai:development Mar 3, 2026
27 checks passed
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.

3 participants