<?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: Presets for D435 in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607216#M12609</link>
    <description>&lt;P&gt;Hello matspetter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Is it possible to provide us the code that you are using in order to test it? &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you in advance,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Eliza</description>
    <pubDate>Thu, 25 Oct 2018 14:42:32 GMT</pubDate>
    <dc:creator>idata</dc:creator>
    <dc:date>2018-10-25T14:42:32Z</dc:date>
    <item>
      <title>Presets for D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607211#M12604</link>
      <description>&lt;P&gt;When I try to apply a preset by using the rs2_set_option(..., RS2_OPTION_VISUAL_PRESET, 1, ...) it doesnt work. There is no error but also there is no effect at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I load one of your json-presets (from  &lt;A href="https://github.com/IntelRealSense/librealsense/wiki/D400-Series-Visual-Presets"&gt;https://github.com/IntelRealSense/librealsense/wiki/D400-Series-Visual-Presets&lt;/A&gt;) by using rs2_load_json() everything works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any special steps to consider when doing it the rs2_set_option way??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Mats B&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 16:36:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607211#M12604</guid>
      <dc:creator>MBerg10</dc:creator>
      <dc:date>2018-10-23T16:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Presets for D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607212#M12605</link>
      <description>&lt;P&gt;What settings are you trying to change with the json please?  Earlier in the year (May 2018), it was not possible to set FPS and resolution with a json because the pipeline sets them instead.  Intel were thinking about looking into how to change this, but I don't know if they have implemented that yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the link below is a statement about it from Sergey 'Dorodnic' Dorodnicov, the RealSense SDK Manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 16:53:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607212#M12605</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-23T16:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Presets for D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607213#M12606</link>
      <description>&lt;P&gt;Hello matspetter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you for your interest in the Intel RealSense D435 camera. &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;On GitHub issue &lt;A href="https://github.com/IntelRealSense/librealsense/issues/1217"&gt;https://github.com/IntelRealSense/librealsense/issues/1217&lt;/A&gt; Using advanced mode presets via C API, dorodnic have posted a code that you can use as a start-up for your project. It uses the &lt;I&gt;rs2_set_option &lt;/I&gt;function. &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Best regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Eliza</description>
      <pubDate>Tue, 23 Oct 2018 16:55:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607213#M12606</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-23T16:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Presets for D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607214#M12607</link>
      <description>&lt;P&gt;No we are not trying to these two parameters. We just try to set the parameters relevant to HighAccuracy etc.&lt;/P&gt;&lt;P&gt;/MB&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:02:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607214#M12607</guid>
      <dc:creator>MBerg10</dc:creator>
      <dc:date>2018-10-24T16:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Presets for D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607215#M12608</link>
      <description>&lt;P&gt;Yes I have looked into that example and we are (more or less) doing the same thing without any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But isn't it strange that I can set presets with your json-files but not with set_option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HighAccuracy, Default, Hand etc presets, they are not possible to over-write or? I mean if we by mistake could have overwritten them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any preconditions that are different when setting presets via json compared to set_option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/MB&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:05:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607215#M12608</guid>
      <dc:creator>MBerg10</dc:creator>
      <dc:date>2018-10-24T16:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Presets for D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607216#M12609</link>
      <description>&lt;P&gt;Hello matspetter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Is it possible to provide us the code that you are using in order to test it? &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you in advance,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Eliza</description>
      <pubDate>Thu, 25 Oct 2018 14:42:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607216#M12609</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-25T14:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Presets for D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607217#M12610</link>
      <description>&lt;P&gt;Hi. Our code typically looks like this:&lt;/P&gt;&lt;P&gt;&lt;B&gt;context &lt;/B&gt;= rs2_create_context(&lt;I&gt;API_VERSION&lt;/I&gt;, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;&lt;B&gt;deviceList &lt;/B&gt;= rs2_query_devices(&lt;B&gt;context&lt;/B&gt;, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;device = rs2_create_device(&lt;B&gt;deviceList&lt;/B&gt;, 0, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;list = rs2_query_sensors(&lt;B&gt;device&lt;/B&gt;, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;n = rs2_get_sensors_count(list, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;&lt;B&gt;for &lt;/B&gt;(i=0 ; i&lt;/P&gt;&lt;P&gt;  sensor = rs2_create_sensor(list, i, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;  &lt;B&gt;if &lt;/B&gt;(rs2_is_sensor_extendable_to(sensor, &lt;B&gt;RS2_EXTENSION_DEPTH_SENSOR&lt;/B&gt;, &lt;B&gt;error&lt;/B&gt;)) {&lt;/P&gt;&lt;P&gt;  &lt;B&gt;depthSensor &lt;/B&gt;= sensor&lt;/P&gt;&lt;P&gt;  }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;rs2_delete_sensor_list(list)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;serial &lt;/B&gt;= rs2_get_device_info(device, &lt;B&gt;RS2_CAMERA_INFO_SERIAL_NUMBER&lt;/B&gt;, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;pipelineD &lt;/B&gt;= rs2_create_pipeline(&lt;B&gt;context&lt;/B&gt;, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;&lt;B&gt;configD &lt;/B&gt;= rs2_create_config(&lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;rs2_config_enable_device(&lt;B&gt;configD&lt;/B&gt;, &lt;B&gt;serial&lt;/B&gt;, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs2_set_option(depthSensor, RS2_OPTION_LASER_POWER, 360.0)&lt;/P&gt;&lt;P&gt;if (setPresetViaOption) {&lt;/P&gt;&lt;P&gt;  //========= this does not =====================&lt;/P&gt;&lt;P&gt;  preset = 3.0 // HighAccuracy&lt;/P&gt;&lt;P&gt;  rs2_set_option(depthSensor, &lt;B&gt;&lt;I&gt;RS2_OPTION_VISUAL_PRESET, &lt;/I&gt;&lt;/B&gt;preset, error)&lt;/P&gt;&lt;P&gt;  //=============================================&lt;/P&gt;&lt;P&gt;} else {&lt;/P&gt;&lt;P&gt;  //========= this WORKS ========================&lt;/P&gt;&lt;P&gt;  rs2_load_json(&lt;B&gt;device&lt;/B&gt;, &lt;B&gt;jsonBytes&lt;/B&gt;, &lt;B&gt;jsonBytes&lt;/B&gt;.&lt;B&gt;size&lt;/B&gt;, &lt;B&gt;error&lt;/B&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;rs2_config_enable_stream(&lt;B&gt;configD&lt;/B&gt;, &lt;B&gt;RS2_STREAM_DEPTH&lt;/B&gt;, 0, &lt;B&gt;width&lt;/B&gt;, &lt;B&gt;height&lt;/B&gt;, &lt;B&gt;RS2_FORMAT_Z16&lt;/B&gt;, &lt;B&gt;fps&lt;/B&gt;, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;&lt;B&gt;pipelineProfileD &lt;/B&gt;= rs2_pipeline_start_with_config(&lt;B&gt;pipelineD&lt;/B&gt;, &lt;B&gt;configD&lt;/B&gt;, &lt;B&gt;error&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;rs2_set_option(depthSensor, RS2_OPTION_ENABLE_AUTO_EXPOSURE, 1.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that we start reading frames. Both when we load the preset via set_option and via json it works to load frames. The difference is that when doing it via set_option it does not have any effect on the frames.&lt;/P&gt;&lt;P&gt;After each call above we also check that we didn't get any error in the error-variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/MB&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 06:20:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607217#M12610</guid>
      <dc:creator>MBerg10</dc:creator>
      <dc:date>2018-10-26T06:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Presets for D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607218#M12611</link>
      <description>&lt;P&gt;Hello matspetter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you! &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Could you please use: &lt;I&gt;rs2_set_option(&lt;B&gt;(const rs2_options*)&lt;/B&gt;depthSensor, RS2_OPTION_VISUAL_PRESET, preset, error); &lt;/I&gt;instead of r&lt;I&gt;s2_set_option(depthSensor, RS2_OPTION_VISUAL_PRESET, preset, error)&lt;/I&gt;?&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Looking for ward to your reply!&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Best regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Eliza&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 14:31:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Presets-for-D435/m-p/607218#M12611</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-26T14:31:56Z</dc:date>
    </item>
  </channel>
</rss>

