Skip to content

Add l515 frames filter tests - #8180

Merged
maloel merged 5 commits into
realsenseai:developmentfrom
Nir-Az:add_l515_frames_filter_ut
Jan 24, 2021
Merged

Add l515 frames filter tests#8180
maloel merged 5 commits into
realsenseai:developmentfrom
Nir-Az:add_l515_frames_filter_ut

Conversation

@Nir-Az

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

Copy link
Copy Markdown
Collaborator

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

Comment thread unit-tests/func/frame-filter/test-l500-frame-filter.py Outdated
Comment thread unit-tests/func/frame-filter/test-l500-frame-filter.py Outdated
Comment thread unit-tests/func/frame-filter/test-l500-frame-filter.py Outdated
Comment thread unit-tests/func/frame-filter/test-l500-frame-filter.py Outdated
Comment thread unit-tests/func/frame-filter/test-l500-frame-filter.py Outdated
Comment thread unit-tests/func/frame-filter/test-l500-frame-filter.py Outdated
Comment thread unit-tests/func/frame-filter/test-l500-frame-filter.py Outdated
Comment thread unit-tests/func/ir/l500/test-frame-filter.py Outdated
Comment thread unit-tests/func/ir/l500/test-frame-filter.py
Comment thread unit-tests/func/ir/l500/test-frame-filter.py Outdated
Comment thread unit-tests/func/ir/l500/test-frame-filter.py
Comment thread unit-tests/func/ir/l500/test-frame-filter.py Outdated
Comment thread unit-tests/py/pyrsutil.py Outdated
Comment thread unit-tests/py/rspy/timer.py Outdated
Comment thread unit-tests/run-unit-tests.py
Comment thread unit-tests/py/rspy/stopwatch.py Outdated
Comment thread unit-tests/py/rspy/timer.py Outdated
Comment thread unit-tests/py/rspy/timer.py Outdated

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

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.

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

👍

Comment thread unit-tests/py/rspy/timer.py
@Nir-Az
Nir-Az force-pushed the add_l515_frames_filter_ut branch from e302322 to d5443f7 Compare January 24, 2021 08:17
@maloel
maloel merged commit 2868970 into realsenseai: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