Added realsense2 playback support (bag) (#1636)

This commit is contained in:
matlabbe
2026-01-17 18:07:32 -08:00
committed by GitHub
parent 93ca4ed8d7
commit 7db14533f1
3 changed files with 224 additions and 181 deletions
+125 -125
View File
@@ -63,7 +63,7 @@
<property name="geometry">
<rect>
<x>0</x>
<y>-603</y>
<y>-747</y>
<width>684</width>
<height>5110</height>
</rect>
@@ -95,7 +95,7 @@
<enum>QFrame::Raised</enum>
</property>
<property name="currentIndex">
<number>19</number>
<number>5</number>
</property>
<widget class="QWidget" name="page_22">
<layout class="QVBoxLayout" name="verticalLayout_29" stretch="0,0">
@@ -3590,7 +3590,7 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
<item>
<widget class="QStackedWidget" name="stackedWidget_rgbd">
<property name="currentIndex">
<number>12</number>
<number>9</number>
</property>
<widget class="QWidget" name="page_32">
<layout class="QVBoxLayout" name="verticalLayout_63">
@@ -4578,8 +4578,15 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
<string>RealSense2</string>
</property>
<layout class="QGridLayout" name="gridLayout_100" columnstretch="0,0,1">
<item row="0" column="1">
<widget class="QCheckBox" name="checkbox_rs2_emitter">
<item row="10" column="0">
<widget class="QToolButton" name="toolButton_rs2_jsonFile">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QCheckBox" name="checkbox_rs2_globalTimeStync">
<property name="text">
<string/>
</property>
@@ -4588,10 +4595,13 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_468">
<item row="10" column="1">
<widget class="QLineEdit" name="lineEdit_rs2_jsonFile"/>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_562">
<property name="text">
<string>IR emitter enabled</string>
<string>Use depth image in IR mode (instead of right image).</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -4601,13 +4611,16 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="checkbox_rs2_irMode">
<item row="8" column="2">
<widget class="QLabel" name="label_613">
<property name="text">
<string/>
<string>(L515 or playback) Depth stream rate.</string>
</property>
<property name="checked">
<bool>false</bool>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
@@ -4624,45 +4637,15 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="checkbox_rs2_irDepth">
<item row="10" column="2">
<widget class="QLabel" name="label_571">
<property name="text">
<string/>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_562">
<property name="text">
<string>Use depth image in IR mode (instead of right image).</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;D400 Series Visual Presets. See this &lt;a href=&quot;https://github.com/IntelRealSense/librealsense/wiki/D400-Series-Visual-Presets&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;page&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="spinBox_rs2_width">
<property name="suffix">
<string> pix</string>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_549">
<property name="text">
<string>RGB/IR stream width. Set 1280 for L515.</string>
</property>
<property name="wordWrap">
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
@@ -4670,16 +4653,6 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="spinBox_rs2_height">
<property name="suffix">
<string> pix</string>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_550">
<property name="text">
@@ -4716,8 +4689,67 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QSpinBox" name="spinBox_rs2_width_depth">
<item row="3" column="2">
<widget class="QLabel" name="label_549">
<property name="text">
<string>RGB/IR stream width. Set 1280 for L515.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="spinBox_rs2_width">
<property name="suffix">
<string> pix</string>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_468">
<property name="text">
<string>IR emitter enabled</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="checkbox_rs2_irMode">
<property name="text">
<string/>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="7" column="2">
<widget class="QLabel" name="label_612">
<property name="text">
<string>(L515 or playback) Depth stream height.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="spinBox_rs2_height">
<property name="suffix">
<string> pix</string>
</property>
@@ -4729,7 +4761,7 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
<item row="6" column="2">
<widget class="QLabel" name="label_611">
<property name="text">
<string>(L515) Depth stream width.</string>
<string>(L515 or playback) Depth stream width.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -4739,54 +4771,8 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QSpinBox" name="spinBox_rs2_height_depth">
<property name="suffix">
<string> pix</string>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item row="7" column="2">
<widget class="QLabel" name="label_612">
<property name="text">
<string>(L515) Depth stream height.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QSpinBox" name="spinBox_rs2_rate_depth">
<property name="suffix">
<string> Hz</string>
</property>
<property name="maximum">
<number>999</number>
</property>
</widget>
</item>
<item row="8" column="2">
<widget class="QLabel" name="label_613">
<property name="text">
<string>(L515) Depth stream rate.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QCheckBox" name="checkbox_rs2_globalTimeStync">
<item row="0" column="1">
<widget class="QCheckBox" name="checkbox_rs2_emitter">
<property name="text">
<string/>
</property>
@@ -4808,29 +4794,43 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QToolButton" name="toolButton_rs2_jsonFile">
<property name="text">
<string>...</string>
<item row="6" column="1">
<widget class="QSpinBox" name="spinBox_rs2_width_depth">
<property name="suffix">
<string> pix</string>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QLineEdit" name="lineEdit_rs2_jsonFile"/>
<item row="8" column="1">
<widget class="QSpinBox" name="spinBox_rs2_rate_depth">
<property name="suffix">
<string> Hz</string>
</property>
<property name="maximum">
<number>999</number>
</property>
</widget>
</item>
<item row="10" column="2">
<widget class="QLabel" name="label_571">
<item row="7" column="1">
<widget class="QSpinBox" name="spinBox_rs2_height_depth">
<property name="suffix">
<string> pix</string>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="checkbox_rs2_irDepth">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;D400 Series Visual Presets. See this &lt;a href=&quot;https://github.com/IntelRealSense/librealsense/wiki/D400-Series-Visual-Presets&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;page&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>