Skip to content

Fix syncer bug causing wrong frame order - #8378

Merged
maloel merged 9 commits into
realsenseai:developmentfrom
aangerma:RS5-10200
Feb 23, 2021
Merged

Fix syncer bug causing wrong frame order#8378
maloel merged 9 commits into
realsenseai:developmentfrom
aangerma:RS5-10200

Conversation

@aangerma

@aangerma aangerma commented Feb 17, 2021

Copy link
Copy Markdown
Contributor
  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
Comment thread src/proc/syncer-processing-block.h Outdated
Comment thread src/proc/syncer-processing-block.cpp
Comment thread src/proc/syncer-processing-block.cpp Outdated
Comment thread src/sync.h Outdated
Comment thread src/sync.cpp Outdated
Comment thread src/proc/syncer-processing-block.cpp Outdated
Comment thread src/l500/l500-device.cpp Outdated
Comment thread src/l500/l500-device.cpp Outdated
Comment thread src/proc/syncer-processing-block.cpp Outdated
Comment thread src/proc/syncer-processing-block.cpp Outdated
@maloel

maloel commented Feb 17, 2021

Copy link
Copy Markdown
Contributor

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

Comment thread src/proc/syncer-processing-block.cpp Outdated
@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
Comment thread src/proc/syncer-processing-block.cpp Outdated
Comment thread src/proc/syncer-processing-block.cpp Outdated
Comment thread src/sync.cpp Outdated
Comment thread src/sync.cpp Outdated
Comment thread src/sync.cpp Outdated
Comment thread src/sync.cpp Outdated
Comment thread src/sync.cpp Outdated

@maloel maloel 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.

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

Comment thread src/proc/syncer-processing-block.cpp
Comment thread src/proc/syncer-processing-block.cpp Outdated
Comment thread src/proc/syncer-processing-block.h Outdated
Comment thread src/sync.cpp
Comment thread src/proc/syncer-processing-block.cpp Outdated
Comment thread src/proc/syncer-processing-block.cpp
Comment thread src/proc/syncer-processing-block.cpp

@maloel maloel 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.

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

Comment thread src/proc/syncer-processing-block.cpp Outdated
Comment thread src/sync.cpp
s << " " << f->get_stream()->get_unique_id();
s << " " << f->get_frame_number();
s << " " << std::fixed << (double)f->get_frame_timestamp();
s << " ";

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.

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