Skip to content

Instantly share code, notes, and snippets.

@matlabbe
Created March 19, 2023 20:55
Show Gist options
  • Save matlabbe/8d66bbf3c690aa689c73da1a8708306b to your computer and use it in GitHub Desktop.
Save matlabbe/8d66bbf3c690aa689c73da1a8708306b to your computer and use it in GitHub Desktop.
Fixing realsense2 t265 image synchronization for >= v2.43
diff --git a/src/proc/syncer-processing-block.cpp b/src/proc/syncer-processing-block.cpp
index 34ebcb492..020b88eb7 100644
--- a/src/proc/syncer-processing-block.cpp
+++ b/src/proc/syncer-processing-block.cpp
@@ -11,7 +11,7 @@
namespace librealsense
{
syncer_process_unit::syncer_process_unit(std::initializer_list< bool_option::ptr > enable_opts, bool log)
- : processing_block("syncer"), _matcher((new composite_identity_matcher({})))
+ : processing_block("syncer"), _matcher((new timestamp_composite_matcher({})))
, _enable_opts(enable_opts.begin(), enable_opts.end())
{
_matcher->set_callback( [this]( frame_holder f, syncronization_environment env ) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment