Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add l515 frames filter tests #8180

Merged
merged 5 commits into from
Jan 24, 2021

Conversation

Nir-Az
Copy link
Collaborator

@Nir-Az Nir-Az commented Jan 18, 2021

Testing that IR frames do not arrive to the user callback if not specifically asked for.
Tracked on [RS5-10249]

unit-tests/py/pyrsutil.py Outdated Show resolved Hide resolved
unit-tests/py/rspy/timer.py Outdated Show resolved Hide resolved
unit-tests/py/rspy/timer.py Outdated Show resolved Hide resolved

# Check if timer time expired
def has_expired(self):
return self._sw.get_start() + self._delta <= time.perf_counter()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use _self._sw.get_elapsed() >= self._delta is clearer, no?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

👍

@maloel maloel merged commit 2868970 into IntelRealSense:development Jan 24, 2021
@Nir-Az Nir-Az deleted the add_l515_frames_filter_ut branch July 27, 2021 12:38
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.

2 participants