<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Intel RealSense D435 HW Sync check in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721939#M17395</link>
    <description>&lt;P&gt;You are very welcome!  I'm pleased I could help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually with RealSense camera sync, the unit used is microseconds (ms).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the 100 ns figure refers to an ideal target for latency reduction that the RealSense development team aim for. In practice, they achieve around 60-70 ms latency on the depth stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/1242#issuecomment-368911535" target="_self" alt="https://github.com/IntelRealSense/librealsense/issues/1242#issuecomment-368911535"&gt;&lt;/A&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/1242#issuecomment-368911535"&gt;https://github.com/IntelRealSense/librealsense/issues/1242#issuecomment-368911535&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 23:53:51 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2019-03-18T23:53:51Z</dc:date>
    <item>
      <title>Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721929#M17385</link>
      <description>&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;I am currently trying to understand how the HW sync works with Intel D435 cameras... I read a lot of topics, but none of them answer completely to my questions...&lt;/P&gt;&lt;P&gt;Let me explain a little bit more my expectations: I would like to synchronize 2 (or 3, but let start simple) RS D435 cameras. I've connected them (through pins 5 and 9), and enabled HW sync with the Realsense-viewer tool (with Ubuntu 16.04, all RealSense relatives packages installed properly).&lt;/P&gt;&lt;P&gt;But my real question is, how can I check that HW sync is working well? I mean, is there a little piece of code that could help me to check that? I've tried checking filming a timer on my computer's screen, it seems correct, but nothing ensure me that HW sync is really working or not.&lt;/P&gt;&lt;P&gt;Thanks for any answer you could provide me, and sorry by advance if this post is redundant with another one.  &lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 22:08:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721929#M17385</guid>
      <dc:creator>THilt</dc:creator>
      <dc:date>2019-03-15T22:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721930#M17386</link>
      <description>Hi Thilt,

Thank you for your interest in the Intel RealSense D435 camera. 
You may find information about HW sync validation in section G from the Multicamera white paper:
&lt;A href="https://www.intel.com/content/dam/support/us/en/documents/emerging-technologies/intel-realsense-technology/RealSense_Multiple_Camera_WhitePaper.pdf"&gt;https://www.intel.com/content/dam/support/us/en/documents/emerging-technologies/intel-realsense-technology/RealSense_Multiple_Camera_WhitePaper.pdf&lt;/A&gt;

Regards,
Alexandra</description>
      <pubDate>Fri, 15 Mar 2019 22:41:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721930#M17386</guid>
      <dc:creator>Alexandra_C_Intel</dc:creator>
      <dc:date>2019-03-15T22:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721931#M17387</link>
      <description>&lt;P&gt;The multiple-camera white paper document states that if hardware sync is working correctly, you should see the timestamps of the cameras drift apart over time. If hardware sync is not working then the timestamps will remain identical, because each individual ASIC is counting the exact same number of cycles between frames. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you can validate if the sync is working by observing whether there is drift. As the white-paper says, this is counter-intuitive to what you would expect from sync.   The drift can be expected to be less than 1 ms / minute, according to the white-paper.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 22:42:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721931#M17387</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-03-15T22:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721932#M17388</link>
      <description>&lt;P&gt;Many thanks for your answers! Indeed, I didn't pay enough attention to this section of the white paper...&lt;/P&gt;&lt;P&gt;Do you have any idea on how I could implement this "HW sync check" in a Python/C++ script? Maybe a test with the '&lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcimage.html" target="_self" alt="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcimage.html"&gt;Image&lt;/A&gt;.timeStamp' property?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 16:57:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721932#M17388</guid>
      <dc:creator>THilt</dc:creator>
      <dc:date>2019-03-18T16:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721933#M17389</link>
      <description>&lt;P&gt;In the link below, Dorodnic the RealSense SDK Manager has advice for hardware sync in Python, including scripts for setting the cameras as Master and Slave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/2623#issuecomment-433678111" target="_self" alt="https://github.com/IntelRealSense/librealsense/issues/2623#issuecomment-433678111"&gt;&lt;/A&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/2623#issuecomment-433678111"&gt;https://github.com/IntelRealSense/librealsense/issues/2623#issuecomment-433678111&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could not find a clear way to validate the sync using code.  Visual observation of the timestamps seems to be the recommended approach.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 17:24:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721933#M17389</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-03-18T17:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721934#M17390</link>
      <description>&lt;P&gt;Thanks for the link!&lt;/P&gt;&lt;P&gt;However, I still don't understand how can I check visually, with Intel RealSense Viewer, if HW sync is OK or not... I followed the instructions explained in &lt;A href="https://www.youtube.com/watch?v=DSm7NYG5bZE&amp;amp;" target="_self" alt="https://www.youtube.com/watch?v=DSm7NYG5bZE&amp;amp;"&gt;this video &lt;/A&gt;but whether if I enable HW sync or not (or if I plug PIN5 or not), I can't interpret what's happening with timestamps... Maybe I'm missing something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, here are the timestamps of my 2 cameras with HW sync enabled :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="timesteamps_sync.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/3332iBB902743756C99A2/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="timesteamps_sync.png" alt="timesteamps_sync.png" /&gt;&lt;/span&gt;And here are the timestamps with HW sync NOT enabled :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="timesteamps_nosync.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/3333iFEB01754A9B0B606/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="timesteamps_nosync.png" alt="timesteamps_nosync.png" /&gt;&lt;/span&gt; How can I deduce anything from that?&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 19:44:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721934#M17390</guid>
      <dc:creator>THilt</dc:creator>
      <dc:date>2019-03-18T19:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721935#M17391</link>
      <description>&lt;P&gt;The timestamps on your images seem to be completely unaligned.  What is hard to see on the YouTube video is that in the Inter Cam Sync section for each camera's settings in the RealSense Viewer, the Master camera should be set to a value of '1' and the other camera (the Slave) should be set to a value of '2' in this section.  This will clearly define which camera is the Master controlling the sync and which camera is the Slave that follows the Master's timing.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:31:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721935#M17391</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-03-18T20:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721936#M17392</link>
      <description>&lt;P&gt;Indeed, I retried it and, now, timestamps seem more aligned. Is the order I set the parameters important? I mean, should I set the master camera parameter to 1, then start the Stereo module, then set the slave camera parameter to 2, then start its module, or there is no importance?&lt;/P&gt;&lt;P&gt;Also, even if timestamps seem equal, if I let RealSense Viewer running for a while, I will observe the timestamps drifting, right?&lt;/P&gt;&lt;P&gt;Thanks!&lt;span class="lia-inline-image-display-wrapper" image-alt="timesteamps_sync2.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/3334i79108FB1BC854F2B/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="timesteamps_sync2.png" alt="timesteamps_sync2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(Master camera is on left, Slave on right)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:57:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721936#M17392</guid>
      <dc:creator>THilt</dc:creator>
      <dc:date>2019-03-18T20:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721937#M17393</link>
      <description>&lt;P&gt;I would advise setting the master / slave status in the Inter Cam Sync option before you start streaming either of them. That way, you will ensure that the streams are synced from the beginning. This is especially important if you are doing a recording of the synced streams.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the timestamps should drift apart over time if hardware sync is functioning correctly, drifting by about 1 ms per minute.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 21:30:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721937#M17393</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-03-18T21:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721938#M17394</link>
      <description>&lt;P&gt;Many thanks for your precise answers &lt;A href="https://community.intel.com/sfdc-users/MartyG"&gt;@MartyG&lt;/A&gt;​! It really helped me.&lt;/P&gt;&lt;P&gt;One last thing, does timestamps have a unit? When Googling that, I found that timestamps units are 100 ns. That means that, for example, a timestamp of 390632.6 means that the real timestamp is 390632.6 ns?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 22:41:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721938#M17394</guid>
      <dc:creator>THilt</dc:creator>
      <dc:date>2019-03-18T22:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721939#M17395</link>
      <description>&lt;P&gt;You are very welcome!  I'm pleased I could help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually with RealSense camera sync, the unit used is microseconds (ms).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the 100 ns figure refers to an ideal target for latency reduction that the RealSense development team aim for. In practice, they achieve around 60-70 ms latency on the depth stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/1242#issuecomment-368911535" target="_self" alt="https://github.com/IntelRealSense/librealsense/issues/1242#issuecomment-368911535"&gt;&lt;/A&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/1242#issuecomment-368911535"&gt;https://github.com/IntelRealSense/librealsense/issues/1242#issuecomment-368911535&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 23:53:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721939#M17395</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-03-18T23:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721940#M17396</link>
      <description>&lt;P&gt;Thanks for that clarification.&lt;/P&gt;&lt;P&gt;However, doesn't ms refer to millisecond (10⁻³ s), rather than microsecond (µs) (10⁻⁶ s) ?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 15:59:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721940#M17396</guid>
      <dc:creator>THilt</dc:creator>
      <dc:date>2019-03-19T15:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Intel RealSense D435 HW Sync check</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721941#M17397</link>
      <description>&lt;P&gt;I re-checked the white paper's section about timestamps and drift.  It says "[the cameras] will inevitably drift a few milliseconds over the course of 10s of minutes".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would suggest to me that the drift is occurring in microseconds if the rough rate of drift is "around 1 ms per minute".  Otherwise if it was in milliseconds, the drift would be a lot more than a few milliseconds over the course of tens of minutes having passed.    I could not find any references that explicitly confirm this to be the case though.  A member of Intel may be able to provide confirmation (I don't work for Intel).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 17:31:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Intel-RealSense-D435-HW-Sync-check/m-p/721941#M17397</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-03-19T17:31:47Z</dc:date>
    </item>
  </channel>
</rss>

