<?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: Issues when running Intel SDK samples with SR300 camera in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Issues-when-running-Intel-SDK-samples-with-SR300-camera/m-p/376860#M1795</link>
    <description>&lt;P&gt;If you are using Librealsense, a general manual exposure and auto-exposure seems to be supported for both SR300 and R200 camera with the RS_OPTION_COLOR_EXPOSURE and RS_OPTION_COLOR_ENABLE_AUTO_EXPOSURE instructions.  But instructions for fine-controlling the direction of the exposure seem to be limited to the R200 camera only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of fine-control over exposure, the SR300 instead has auto-range instructions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/sites/products/realsense/camera/rs_8h.html"&gt;https://software.intel.com/sites/products/realsense/camera/rs_8h.html&lt;/A&gt; Intel® RealSense™ Cross Platform API (librealsense): /Users/mcurfman/ws/Linux_SDK/realsense_documentation/librealsense/s… &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The article is lengthy, so it is easiest to find the relevant instructions by doing a Find on the page for 'auto'.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2017 11:25:07 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2017-04-26T11:25:07Z</dc:date>
    <item>
      <title>Issues when running Intel SDK samples with SR300 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Issues-when-running-Intel-SDK-samples-with-SR300-camera/m-p/376859#M1794</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running into some trouble trying to run the Intel SDK sample for the 3D cameras on a Macbook Pro 15" 2015 Model running Ubuntu 16.04. I installed all of th dependencies and optional packages successfully and downloaded the source code from the repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Tried to compile the samples from source (which succeeded), but I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; leandrogil@trinity92-macbook-ubuntu:~/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/build$ ./pt_tutorial_3 &lt;/P&gt;&lt;P&gt;    terminate called after throwing an instance of 'std::runtime_error'&lt;/P&gt;&lt;P&gt;      what():  camera is not support requested format&lt;/P&gt;&lt;P&gt;    Aborted (core dumped)&lt;/P&gt;&lt;P&gt;    leandrogil@trinity92-macbook-ubuntu:~/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/build$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, I compiled this sample with debugging symbols and ran the gdb debugger on it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1&lt;/P&gt;&lt;P&gt;    Copyright (C) 2016 Free Software Foundation, Inc.&lt;/P&gt;&lt;P&gt;    License GPLv3+: GNU GPL version 3 or later &amp;lt;&amp;lt;/span&amp;gt; &lt;A href="http://gnu.org/licenses/gpl.html"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;    This is free software: you are free to change and redistribute it.&lt;/P&gt;&lt;P&gt;    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"&lt;/P&gt;&lt;P&gt;    and "show warranty" for details.&lt;/P&gt;&lt;P&gt;    This GDB was configured as "x86_64-linux-gnu".&lt;/P&gt;&lt;P&gt;    Type "show configuration" for configuration details.&lt;/P&gt;&lt;P&gt;    For bug reporting instructions, please see:&lt;/P&gt;&lt;P&gt;    &amp;lt;&amp;lt;/span&amp;gt; &lt;A href="http://www.gnu.org/software/gdb/bugs/"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&amp;gt;.&lt;/P&gt;&lt;P&gt;    Find the GDB manual and other documentation resources online at:&lt;/P&gt;&lt;P&gt;    &amp;lt;&amp;lt;/span&amp;gt; &lt;A href="http://www.gnu.org/software/gdb/documentation/"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&amp;gt;.&lt;/P&gt;&lt;P&gt;    For help, type "help".&lt;/P&gt;&lt;P&gt;    Type "apropos word" to search for commands related to "word"...&lt;/P&gt;&lt;P&gt;    Reading symbols from pt_tutorial_3...done.&lt;/P&gt;&lt;P&gt;    (gdb) run&lt;/P&gt;&lt;P&gt;    Starting program: /home/leandrogil/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/build/pt_tutorial_3 &lt;/P&gt;&lt;P&gt;    [Thread debugging using libthread_db enabled]&lt;/P&gt;&lt;P&gt;    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".&lt;/P&gt;&lt;P&gt;    [New Thread 0x7fffea3cb700 (LWP 18084)]&lt;/P&gt;&lt;P&gt;    terminate called after throwing an instance of 'std::runtime_error'&lt;/P&gt;&lt;P&gt;      what():  camera is not support requested format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thread 1 "pt_tutorial_3" received signal SIGABRT, Aborted.&lt;/P&gt;&lt;P&gt;    0x00007ffff28cd428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54&lt;/P&gt;&lt;P&gt;    54    ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.&lt;/P&gt;&lt;P&gt;    (gdb) backtrace&lt;/P&gt;&lt;P&gt;    # 0  0x00007ffff28cd428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54&lt;/P&gt;&lt;P&gt;    # 1  0x00007ffff28cf02a in __GI_abort () at abort.c:89&lt;/P&gt;&lt;P&gt;    # 2  0x00007ffff2f0684d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6&lt;/P&gt;&lt;P&gt;    # 3  0x00007ffff2f046b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6&lt;/P&gt;&lt;P&gt;    # 4  0x00007ffff2f04701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6&lt;/P&gt;&lt;P&gt;    # 5  0x00007ffff2f04919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6&lt;/P&gt;&lt;P&gt;    # 6  0x0000000000406a51 in pt_utils::ConfigureCamera (this=this@entry=0x7fffffffce60, device=0x71a7c0)&lt;/P&gt;&lt;P&gt;        at /home/leandrogil/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/../common/utils/pt_utils.hpp:139&lt;/P&gt;&lt;P&gt;    # 7  0x00000000004074df in pt_utils::init_camera (this=0x7fffffffce60, actualConfig=...)&lt;/P&gt;&lt;P&gt;        at /home/leandrogil/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/../common/utils/pt_utils.hpp:326&lt;/P&gt;&lt;P&gt;    # 8  0x0000000000403513 in main (argc=, argv=)&lt;/P&gt;&lt;P&gt;        at /home/leandrogil/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/cpp/main.cpp:29&lt;/P&gt;&lt;P&gt;    (gdb) exit&lt;/P&gt;&lt;P&gt;    Undefined command: "exit".  Try "help".&lt;/P&gt;&lt;P&gt;    (gdb) quit&lt;/P&gt;&lt;P&gt;    A debugging session is active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Inferior 1 [process 18080] will be killed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Quit anyway? (y or n) y&lt;/P&gt;&lt;P&gt;    leandrogil@trinity92-macbook-ubuntu:~/Dropbox/University_BachelorInInformatics/Master4_Thesis/realsense_samples/samples/pt_tutorial_3/build$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program crashes at the following line in the main.cpp file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;    // Initializing Camera and Person Tracking modules&lt;/P&gt;&lt;P&gt;    if(pt_utils.init_camera(actualModuleConfig) != rs::core::status_no_error)&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This init_camera(actualModuleConfig) call can be traced back to the common/utils/pt_utils.hpp file, where it references the following function/lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;    rs::core::video_module_interface::actual_module_config ConfigureCamera (rs::device* device)&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;        ...&lt;/P&gt;&lt;P&gt;        if (streamModeNb &amp;gt;= streamModeCount)&lt;/P&gt;&lt;P&gt;                {&lt;/P&gt;&lt;P&gt;                    throw  runtime_error("camera is not support requested format");&lt;/P&gt;&lt;P&gt;                }&lt;/P&gt;&lt;P&gt;        ...&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somewhere in this function I added the following line for debugging purposes, so that I can get the values with which it is trying to initialize the camera:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/...&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 10:06:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Issues-when-running-Intel-SDK-samples-with-SR300-camera/m-p/376859#M1794</guid>
      <dc:creator>LFida</dc:creator>
      <dc:date>2017-04-26T10:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issues when running Intel SDK samples with SR300 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Issues-when-running-Intel-SDK-samples-with-SR300-camera/m-p/376860#M1795</link>
      <description>&lt;P&gt;If you are using Librealsense, a general manual exposure and auto-exposure seems to be supported for both SR300 and R200 camera with the RS_OPTION_COLOR_EXPOSURE and RS_OPTION_COLOR_ENABLE_AUTO_EXPOSURE instructions.  But instructions for fine-controlling the direction of the exposure seem to be limited to the R200 camera only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of fine-control over exposure, the SR300 instead has auto-range instructions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/sites/products/realsense/camera/rs_8h.html"&gt;https://software.intel.com/sites/products/realsense/camera/rs_8h.html&lt;/A&gt; Intel® RealSense™ Cross Platform API (librealsense): /Users/mcurfman/ws/Linux_SDK/realsense_documentation/librealsense/s… &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The article is lengthy, so it is easiest to find the relevant instructions by doing a Find on the page for 'auto'.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 11:25:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Issues-when-running-Intel-SDK-samples-with-SR300-camera/m-p/376860#M1795</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-26T11:25:07Z</dc:date>
    </item>
  </channel>
</rss>

