<?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: Export rosbag content issues (frames drop or can't open with ROS API) in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542797#M7996</link>
    <description>&lt;P&gt;Hello bapriste-mnh,&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 Cameras.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;We will report this issue to the RealSense SDK team.&lt;P&gt;&amp;nbsp;&lt;/P&gt;We apologize for the inconvenience this may have caused.&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>Mon, 25 Jun 2018 14:25:32 GMT</pubDate>
    <dc:creator>idata</dc:creator>
    <dc:date>2018-06-25T14:25:32Z</dc:date>
    <item>
      <title>Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542795#M7994</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Since de 2.12.0 release of the SDK, their is a tool (rs-convert) which can export the PNG images and the PLYs.&lt;/P&gt;&lt;P&gt;But I got this issues : &lt;A href="https://github.com/IntelRealSense/librealsense/issues/1919"&gt;https://github.com/IntelRealSense/librealsense/issues/1919&lt;/A&gt; problems in rs_convert · Issue # 1919 · IntelRealSense/librealsense · GitHub &lt;/P&gt;"Even with small bag files (~150MB), it drops frames. I was unable to extract all frames from a bag with 427 color and 430 depth frames. The number of frames dropped varies in each execution instance."&lt;P&gt;So is there any way to get all the frames or may be another way (with ROS API) to get all of my images in my rosbag?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried some exemple based on ROS API but I often got this error when it try to open my rosbag file I got this error :&lt;/P&gt;&lt;P&gt;[FATAL] [1529679163.359016032]: Character [ ] at element [32] is not valid in Graph Resource Name [/device_0/sensor_0/option/Enable Auto Exposure/value].  Valid characters are a-z, A-Z, 0-9, / and _.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 14:55:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542795#M7994</guid>
      <dc:creator>BMana</dc:creator>
      <dc:date>2018-06-22T14:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542796#M7995</link>
      <description>&lt;P&gt;No answer ? It looks to me like a bugg in the sdk. And it is a very blocking issue.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 19:42:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542796#M7995</guid>
      <dc:creator>FChau1</dc:creator>
      <dc:date>2018-06-23T19:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542797#M7996</link>
      <description>&lt;P&gt;Hello bapriste-mnh,&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 Cameras.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;We will report this issue to the RealSense SDK team.&lt;P&gt;&amp;nbsp;&lt;/P&gt;We apologize for the inconvenience this may have caused.&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>Mon, 25 Jun 2018 14:25:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542797#M7996</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-06-25T14:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542798#M7997</link>
      <description>&lt;P&gt;Hello baptiste-mnh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;The RealSense team is aware of this bug and is working on it.&lt;P&gt;&amp;nbsp;&lt;/P&gt;Unfortunately, we don't have a timeline yet for when it will be fixed. Please give us more details (how you created the ROS bag, which ROS example you are running, etc.) on how you got the second error when you tried to open the ROS bag so that we can reproduce your issue.&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;Eliza</description>
      <pubDate>Thu, 28 Jun 2018 15:31:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542798#M7997</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-06-28T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542799#M7998</link>
      <description>&lt;P&gt;Hi, I simply use the realsense viewer to create my rosbag and rs-convert to extract the content.&lt;/P&gt;&lt;P&gt;I also tried to export with this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;import argparse&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;import pyrealsense2 as rs&lt;P&gt;&amp;nbsp;&lt;/P&gt;import numpy as np&lt;P&gt;&amp;nbsp;&lt;/P&gt;import cv2&lt;P&gt;&amp;nbsp;&lt;/P&gt;import os&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;LOAD_BAG = True&lt;P&gt;&amp;nbsp;&lt;/P&gt;SAVE_DEPTH = False&lt;P&gt;&amp;nbsp;&lt;/P&gt;SAVE_RGB = False&lt;P&gt;&amp;nbsp;&lt;/P&gt;SAVE_IRL = True&lt;P&gt;&amp;nbsp;&lt;/P&gt;SAVE_IRR = False&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;def main():&lt;P&gt;&amp;nbsp;&lt;/P&gt;    if not os.path.exists(args.directory):&lt;P&gt;&amp;nbsp;&lt;/P&gt;        os.mkdir(args.directory)&lt;P&gt;&amp;nbsp;&lt;/P&gt;    if SAVE_DEPTH and not os.path.exists(args.directory+"/depth"):&lt;P&gt;&amp;nbsp;&lt;/P&gt;        os.mkdir(args.directory+"/depth")&lt;P&gt;&amp;nbsp;&lt;/P&gt;    if SAVE_RGB and not os.path.exists(args.directory+"/image"):&lt;P&gt;&amp;nbsp;&lt;/P&gt;        os.mkdir(args.directory+"/image")&lt;P&gt;&amp;nbsp;&lt;/P&gt;    if SAVE_IRL and not os.path.exists(args.directory+"/irl"):&lt;P&gt;&amp;nbsp;&lt;/P&gt;        os.mkdir(args.directory+"/irl")&lt;P&gt;&amp;nbsp;&lt;/P&gt;    if SAVE_IRR and not os.path.exists(args.directory+"/irr"):&lt;P&gt;&amp;nbsp;&lt;/P&gt;        os.mkdir(args.directory+"/irr")&lt;P&gt;&amp;nbsp;&lt;/P&gt;    try:&lt;P&gt;&amp;nbsp;&lt;/P&gt;        config = rs.config()&lt;P&gt;&amp;nbsp;&lt;/P&gt;        pipeline = rs.pipeline()&lt;P&gt;&amp;nbsp;&lt;/P&gt;        if LOAD_BAG:&lt;P&gt;&amp;nbsp;&lt;/P&gt;            rs.config.enable_device_from_file(config, args.input, False)&lt;P&gt;&amp;nbsp;&lt;/P&gt;        if SAVE_DEPTH:&lt;P&gt;&amp;nbsp;&lt;/P&gt;            config.enable_stream(rs.stream.depth, 1280, 720, rs.format.z16, 30)&lt;P&gt;&amp;nbsp;&lt;/P&gt;        if SAVE_RGB:&lt;P&gt;&amp;nbsp;&lt;/P&gt;            config.enable_stream(rs.stream.color, 1280, 720, rs.format.rgb8, 30)&lt;P&gt;&amp;nbsp;&lt;/P&gt;        if SAVE_IRL:&lt;P&gt;&amp;nbsp;&lt;/P&gt;            config.enable_stream(rs.stream.infrared, 1, 1280, 720, rs.format.y8, 30)&lt;P&gt;&amp;nbsp;&lt;/P&gt;        if SAVE_IRR:&lt;P&gt;&amp;nbsp;&lt;/P&gt;            config.enable_stream(rs.stream.infrared, 2, 1280, 720, rs.format.y8, 30)&lt;P&gt;&amp;nbsp;&lt;/P&gt;        pipeline.start(config)&lt;P&gt;&amp;nbsp;&lt;/P&gt;        i = 0&lt;P&gt;&amp;nbsp;&lt;/P&gt;        while True:&lt;P&gt;&amp;nbsp;&lt;/P&gt;            print("Saving frame:", i)&lt;P&gt;&amp;nbsp;&lt;/P&gt;            frames = pipeline.wait_for_frames()&lt;P&gt;&amp;nbsp;&lt;/P&gt;            if SAVE_DEPTH:&lt;P&gt;&amp;nbsp;&lt;/P&gt;                depth_frame = frames.get_depth_frame()&lt;P&gt;&amp;nbsp;&lt;/P&gt;                depth_image = np.asanyarray(depth_frame.get_data())&lt;P&gt;&amp;nbsp;&lt;/P&gt;                depth_image[np.where((depth_image &amp;gt; 3000))] = 0&lt;P&gt;&amp;nbsp;&lt;/P&gt;                cv2.imwrite(args.directory + "/depth/" + &amp;lt;span style="co...</description>
      <pubDate>Tue, 10 Jul 2018 09:06:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542799#M7998</guid>
      <dc:creator>BMana</dc:creator>
      <dc:date>2018-07-10T09:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542800#M7999</link>
      <description>&lt;P&gt;Hello @baptiste-mnh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I see that you have responded in this thread:  &lt;A href="https://github.com/IntelRealSense/librealsense/issues/1919"&gt;https://github.com/IntelRealSense/librealsense/issues/1919&lt;/A&gt;. It is not clear whether you have resolved your issue. There is an open bug with the RealSense team where the rs-convert tool drops frames from ros bags.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Jesus G.&lt;P&gt;&amp;nbsp;&lt;/P&gt;Intel Customer Support</description>
      <pubDate>Fri, 13 Jul 2018 19:25:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542800#M7999</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-07-13T19:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542801#M8000</link>
      <description>&lt;P&gt;MATLAB worked flawlessly for me:   &lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 19:47:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542801#M8000</guid>
      <dc:creator>ASriv7</dc:creator>
      <dc:date>2018-07-13T19:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542802#M8001</link>
      <description>&lt;P&gt;Hi, I am having the same problem. How did you resolve this issues? &lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 16:49:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542802#M8001</guid>
      <dc:creator>kinam1</dc:creator>
      <dc:date>2019-01-20T16:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Export rosbag content issues (frames drop or can't open with ROS API)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542803#M8002</link>
      <description>&lt;P&gt;I have recorded video by using realsense-viewer. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;When I am trying to use rs-convert to convert .bag to png by using this command: rs-convert -i some.bag -p some_dir/some_file_prefix -r some_another_dir/some_another_file_prefix&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having this error: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RealSense error calling rs2_pipeline_start_with_config(pipe:0x85ae10, config:0x8080f0):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Failed to resolve request. Request to enable_device_from_file("20190118_232647.bag") was invalid, Reason: Failed to create ros reader: Error opening file: 20190118_232647.bag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 17:14:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Export-rosbag-content-issues-frames-drop-or-can-t-open-with-ROS/m-p/542803#M8002</guid>
      <dc:creator>kinam1</dc:creator>
      <dc:date>2019-01-20T17:14:11Z</dc:date>
    </item>
  </channel>
</rss>

