<?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: I could not use  get the pose_frame from my realsense d435i in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667107#M15396</link>
    <description>&lt;P&gt;Thank you for your reply. I have read the link and think it is useful .But it's not for my question. The data I want to get is the angular-velocity , accelerated velocity  and the pose of the camera. All these data are contained in the class "rs2_pose",  and the "rs2::pose_frame" have the function to get the "rs2_pose" of current frame , that's why I show the code. When I add the stream of pose_frame, the camera tell me that there is somethings wrong when open the stream. But thank you all the same!   &lt;/P&gt;</description>
    <pubDate>Sat, 20 Apr 2019 21:48:52 GMT</pubDate>
    <dc:creator>振夏</dc:creator>
    <dc:date>2019-04-20T21:48:52Z</dc:date>
    <item>
      <title>I could not use  get the pose_frame from my realsense d435i</title>
      <link>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667104#M15393</link>
      <description>&lt;P&gt;In my project , I need to get the pose information from the d435i; But I found that I could get that in default settings.I use the following code which from the librealsense-master to test why the pose information can not be exported.&lt;/P&gt;&lt;CODE&gt;// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2019 Intel Corporation. All Rights Reserved.
#include &amp;lt;librealsense2/rs.hpp&amp;gt;
#include &amp;lt;iostream&amp;gt;
#include &amp;lt;iomanip&amp;gt;
&amp;nbsp;
int main(int argc, char * argv[]) try
{
	// Declare RealSense pipeline, encapsulating the actual device and sensors
	rs2::pipeline pipe;
	// Create a configuration for configuring the pipeline with a non default profile
	rs2::config cfg;
	// Add pose stream
	cfg.enable_stream(RS2_STREAM_POSE, RS2_FORMAT_6DOF);
	// Start pipeline with chosen configuration
	pipe.start(cfg);
&amp;nbsp;
	// Main loop
	while (true)
	{
		// Wait for the next set of frames from the camera
		auto frames = pipe.wait_for_frames();
		// Get a frame from the pose stream
		auto f = frames.first_or_default(RS2_STREAM_POSE);
		// Cast the frame to pose_frame and get its data
		auto pose_data = f.as&amp;lt;rs2::pose_frame&amp;gt;().get_pose_data();
&amp;nbsp;
		// Print the x, y, z values of the translation, relative to initial position
		std::cout &amp;lt;&amp;lt; "\r" &amp;lt;&amp;lt; "Device Position: " &amp;lt;&amp;lt; std::setprecision(3) &amp;lt;&amp;lt; std::fixed &amp;lt;&amp;lt; pose_data.translation.x &amp;lt;&amp;lt; " " &amp;lt;&amp;lt;
			pose_data.translation.y &amp;lt;&amp;lt; " " &amp;lt;&amp;lt; pose_data.translation.z &amp;lt;&amp;lt; " (meters)";
	}
&amp;nbsp;
	return EXIT_SUCCESS;
}
catch (const rs2::error &amp;amp; e)
{
	std::cerr &amp;lt;&amp;lt; "RealSense error calling " &amp;lt;&amp;lt; e.get_failed_function() &amp;lt;&amp;lt; "(" &amp;lt;&amp;lt; e.get_failed_args() &amp;lt;&amp;lt; "):\n    " &amp;lt;&amp;lt; e.what() &amp;lt;&amp;lt; std::endl;
	return EXIT_FAILURE;
}
catch (const std::exception&amp;amp; e)
{
	std::cerr &amp;lt;&amp;lt; e.what() &amp;lt;&amp;lt; std::endl;
	return EXIT_FAILURE;
}&lt;/CODE&gt;&lt;P&gt;The result tells that the stream of pose can not be opened:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="微信图片_20190420173751.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/4140iFD5801F67B60915E/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="微信图片_20190420173751.png" alt="微信图片_20190420173751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you give me a solution for this question.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 16:40:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667104#M15393</guid>
      <dc:creator>振夏</dc:creator>
      <dc:date>2019-04-20T16:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: I could not use  get the pose_frame from my realsense d435i</title>
      <link>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667105#M15394</link>
      <description>&lt;P&gt;Sorry, I forget to introduce the platform. I use this camera at Windows 10 ,64bit.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 16:44:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667105#M15394</guid>
      <dc:creator>振夏</dc:creator>
      <dc:date>2019-04-20T16:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: I could not use  get the pose_frame from my realsense d435i</title>
      <link>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667106#M15395</link>
      <description>&lt;P&gt;I hope the link below will be of use to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.intel.com/s/question/0D70P000006GEZUSA4" target="_self" alt="https://forums.intel.com/s/question/0D70P000006GEZUSA4"&gt;&lt;/A&gt;&lt;A href="https://forums.intel.com/s/question/0D70P000006GEZUSA4"&gt;https://forums.intel.com/s/question/0D70P000006GEZUSA4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RealSense T265 has the same IMU component as the D435i.  The T265 can provide 6DOF pose though because unlike the D435i, "the VPU employed with T265 is capable of fusing inertial and video sensors to produce a reliable and persistent six degrees of freedom (6DOF) pose, offloading the CPU-intensive calculations from the host PC".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/" target="_self" alt="https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/"&gt;&lt;/A&gt;&lt;A href="https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/"&gt;https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 21:22:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667106#M15395</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-04-20T21:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: I could not use  get the pose_frame from my realsense d435i</title>
      <link>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667107#M15396</link>
      <description>&lt;P&gt;Thank you for your reply. I have read the link and think it is useful .But it's not for my question. The data I want to get is the angular-velocity , accelerated velocity  and the pose of the camera. All these data are contained in the class "rs2_pose",  and the "rs2::pose_frame" have the function to get the "rs2_pose" of current frame , that's why I show the code. When I add the stream of pose_frame, the camera tell me that there is somethings wrong when open the stream. But thank you all the same!   &lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 21:48:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667107#M15396</guid>
      <dc:creator>振夏</dc:creator>
      <dc:date>2019-04-20T21:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: I could not use  get the pose_frame from my realsense d435i</title>
      <link>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667108#M15397</link>
      <description>&lt;P&gt;The subject of &lt;B&gt;RS2_STREAM_POSE &lt;/B&gt;is discussed here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/3070" target="_self" alt="https://github.com/IntelRealSense/librealsense/issues/3070"&gt;&lt;/A&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/3070"&gt;https://github.com/IntelRealSense/librealsense/issues/3070&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pose stream was added to the SDK as a feature for the T265 Tracking Camera model. The SDK developers hope to make the pose stream accessible to D435i in the future via RealSense SLAM. The reasons why RealSense SLAM development is difficult for D435i are provided by Dorodnic the RealSense SDK Manager in this comment from the discussion in the link above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/3070#issuecomment-454689295"&gt;https://github.com/IntelRealSense/librealsense/issues/3070#issuecomment-454689295&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 22:20:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667108#M15397</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-04-20T22:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: I could not use  get the pose_frame from my realsense d435i</title>
      <link>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667109#M15398</link>
      <description>&lt;P&gt;Thank you for quick response. Maybe  I choose the wrong way to get the data. I choose the pose_frame only because the class "rs2_pose"  contains these data . But I have seen that others have got these data on ROS , Ubuntu. And I think the angular-velocity , accelerated velocity and the orentation  of the camera can be  supported by the imu and do not need any calculation. Maybe  I need choose some other way to get these data. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 22:46:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667109#M15398</guid>
      <dc:creator>振夏</dc:creator>
      <dc:date>2019-04-20T22:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: I could not use  get the pose_frame from my realsense d435i</title>
      <link>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667110#M15399</link>
      <description>&lt;P&gt;I'm very glad I could be of help.   :)&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 23:41:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/I-could-not-use-get-the-pose-frame-from-my-realsense-d435i/m-p/667110#M15399</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-04-20T23:41:54Z</dc:date>
    </item>
  </channel>
</rss>

