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

Fix syncer bug causing wrong frame order #8378

Merged
merged 9 commits into from
Feb 23, 2021

Conversation

aangerma
Copy link
Contributor

@aangerma aangerma commented Feb 17, 2021

  1. fixed l500 matcher hierarchy (remove timestamp_composite_matcher as root above device-generated matcher)
  2. Added mutex to protect try_dequeue and calling to callback
  3. added log parameter to syncer

Tracked on: RS5-10200

2.  Added mutex to protect try_dequeue and calling to callback
3. added log parameter to syncer
src/sync.h Outdated Show resolved Hide resolved
src/sync.cpp Outdated Show resolved Hide resolved
src/l500/l500-device.cpp Outdated Show resolved Hide resolved
src/l500/l500-device.cpp Outdated Show resolved Hide resolved
@maloel
Copy link
Collaborator

maloel commented Feb 17, 2021

Make sure to provide Yehuda a side-drop and run RealCI on both D400 and L500 to make sure we didn't break anything

@maloel maloel changed the title Fixed bug on syncer (RS5-10200) Fix syncer bug causing wrong frame order (RS5-10200) Feb 18, 2021
@ev-mp ev-mp changed the title Fix syncer bug causing wrong frame order (RS5-10200) Fix syncer bug causing wrong frame order Feb 18, 2021
src/sync.cpp Outdated Show resolved Hide resolved
src/sync.cpp Outdated Show resolved Hide resolved
src/sync.cpp Outdated Show resolved Hide resolved
src/sync.cpp Outdated Show resolved Hide resolved
src/sync.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@maloel maloel left a comment

Choose a reason for hiding this comment

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

Don't forget to remove the lines in l500_depth::create_matcher

src/sync.cpp Show resolved Hide resolved
Copy link
Collaborator

@maloel maloel left a comment

Choose a reason for hiding this comment

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

We'll wait for the result from RealCI before merging this...

s << " " << f->get_stream()->get_unique_id();
s << " " << f->get_frame_number();
s << " " << std::fixed << (double)f->get_frame_timestamp();
s << " ";
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's this for?

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