<?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 Where to find detailed definition of rs2_device_info? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680894#M15885</link>
    <description>&lt;P&gt;I am exploring Intel's librealsense library here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense"&gt;https://github.com/IntelRealSense/librealsense&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tracing the code, I can see that rs2_device_info is defined in rs_types.h:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense2/h/rs_types.h"&gt;https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense2/h/rs_types.h&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;typedef struct rs2_device_info rs2_device_info;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it does not contain detailed the actual definition like `rs2_intrinsics` in the same file.&amp;nbsp;Could someone show me where it is?&amp;nbsp;How can the code compile if the actual definition is missing?&amp;nbsp;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2019 10:07:10 GMT</pubDate>
    <dc:creator>HNguy103</dc:creator>
    <dc:date>2019-08-22T10:07:10Z</dc:date>
    <item>
      <title>Where to find detailed definition of rs2_device_info?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680894#M15885</link>
      <description>&lt;P&gt;I am exploring Intel's librealsense library here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense"&gt;https://github.com/IntelRealSense/librealsense&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tracing the code, I can see that rs2_device_info is defined in rs_types.h:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense2/h/rs_types.h"&gt;https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense2/h/rs_types.h&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;typedef struct rs2_device_info rs2_device_info;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it does not contain detailed the actual definition like `rs2_intrinsics` in the same file.&amp;nbsp;Could someone show me where it is?&amp;nbsp;How can the code compile if the actual definition is missing?&amp;nbsp;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 10:07:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680894#M15885</guid>
      <dc:creator>HNguy103</dc:creator>
      <dc:date>2019-08-22T10:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find detailed definition of rs2_device_info?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680895#M15886</link>
      <description>&lt;P&gt;Line 20 of the file 'context.h' shows how device_info can be defined within the framework of a "struct".&lt;/P&gt;&lt;P&gt;​&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/src/context.h#L20" target="_self" alt="https://github.com/IntelRealSense/librealsense/blob/master/src/context.h#L20"&gt;&lt;/A&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/src/context.h#L20"&gt;https://github.com/IntelRealSense/librealsense/blob/master/src/context.h#L20&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The struct also makes reference to a 'device_info' class that is defined outside of the struct, just before it on line 17.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 12:46:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680895#M15886</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-08-22T12:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find detailed definition of rs2_device_info?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680896#M15887</link>
      <description>&lt;P&gt;&lt;A href="https://community.intel.com/sfdc-users/MartyG"&gt;@MartyG&lt;/A&gt;​&amp;nbsp;, Thank you so much. I am using the&amp;nbsp;sln&amp;nbsp;file that came with the RealSense SDK installer. The example I am looking at is&amp;nbsp;`rs-pointcloud.cpp`&amp;nbsp;which is&amp;nbsp;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/examples/pointcloud/rs-pointcloud.cpp" target="_self" alt="https://github.com/IntelRealSense/librealsense/blob/master/examples/pointcloud/rs-pointcloud.cpp"&gt;here&lt;/A&gt;. It has no reference to&amp;nbsp;`context.h`&amp;nbsp;in any way. Can you tell how it will even compile?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 13:22:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680896#M15887</guid>
      <dc:creator>HNguy103</dc:creator>
      <dc:date>2019-08-22T13:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find detailed definition of rs2_device_info?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680897#M15888</link>
      <description>&lt;P&gt;RealSense programming is not one of my specialist areas (though I have an understanding of it on a general level). so there may be others, especially on the RealSense GitHub site, who can provide a better answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having said that, looking at the point cloud example, I suspect that it gets to the context file by first including 'librealsense2/rs.hpp' so the point cloud example can access the code in rs.hpp. In turn, rs.hpp includes context.hpp. So my guess would be that the point cloud example includes the context data as part of the pooling-together of files through #include. That is an opinion though, not certainty. If you would like confirmation, I recommend asking a question on the RealSense GitHub, by visiting the link below and clicking on the 'New Issue' button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues" target="_self" alt="https://github.com/IntelRealSense/librealsense/issues"&gt;&lt;/A&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues"&gt;https://github.com/IntelRealSense/librealsense/issues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may also find useful the following charts of the linkages of 'context.h' through the SDK files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.ros.org/kinetic/api/librealsense2/html/context_8h.html" target="_self" alt="http://docs.ros.org/kinetic/api/librealsense2/html/context_8h.html"&gt;&lt;/A&gt;&lt;A href="http://docs.ros.org/kinetic/api/librealsense2/html/context_8h.html"&gt;http://docs.ros.org/kinetic/api/librealsense2/html/context_8h.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 13:49:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680897#M15888</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-08-22T13:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find detailed definition of rs2_device_info?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680898#M15889</link>
      <description>&lt;P&gt;&lt;A href="https://community.intel.com/sfdc-users/MartyG"&gt;@MartyG&lt;/A&gt;​&amp;nbsp;, thank you so much.  I really appreciate it.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 14:06:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680898#M15889</guid>
      <dc:creator>HNguy103</dc:creator>
      <dc:date>2019-08-22T14:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find detailed definition of rs2_device_info?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680899#M15890</link>
      <description>&lt;P&gt;You're very welcome.   Good luck with your explorations of Librealsense, and please feel free to ask follow-up questions whenever you need to.  The RealSense forum has moved to a new location, so I recommend bookmarking that for future reference and posting follow-up questions there so that Intel support team members can assist you. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.intelrealsense.com/hc/en-us/community/topics"&gt;https://support.intelrealsense.com/hc/en-us/community/topics&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 14:14:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Where-to-find-detailed-definition-of-rs2-device-info/m-p/680899#M15890</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-08-22T14:14:19Z</dc:date>
    </item>
  </channel>
</rss>

