Added RealSense2 driver to UI

This commit is contained in:
matlabbe
2018-06-15 13:29:08 -04:00
parent 2060e0b1da
commit eb4de8e724
10 changed files with 188 additions and 40 deletions

View File

@@ -27,7 +27,7 @@
<x>0</x>
<y>0</y>
<width>1012</width>
<height>21</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@@ -173,7 +173,7 @@
</property>
<property name="icon">
<iconset resource="../GuiLib.qrc">
<normaloff>:/images/r200.png</normaloff>:/images/r200.png</iconset>
<normaloff>:/images/d435.png</normaloff>:/images/d435.png</iconset>
</property>
<addaction name="actionRealSense_R200"/>
</widget>
@@ -187,12 +187,23 @@
</property>
<addaction name="actionRealSense_ZR300"/>
</widget>
<widget class="QMenu" name="menuRealSense_D435">
<property name="title">
<string>RealSense D435</string>
</property>
<property name="icon">
<iconset resource="../GuiLib.qrc">
<normaloff>:/images/d435.png</normaloff>:/images/d435.png</iconset>
</property>
<addaction name="actionRealSense2_D435"/>
</widget>
<addaction name="menuKinect_for_Xbox_360"/>
<addaction name="menuXtion_PRO_LIVE"/>
<addaction name="menuSense_3D_scanner"/>
<addaction name="menuKinect_v2"/>
<addaction name="menuRealSense_R200"/>
<addaction name="menuRealSense_ZR300"/>
<addaction name="menuRealSense_D435"/>
</widget>
<widget class="QMenu" name="menuStereo_camera">
<property name="title">
@@ -1466,6 +1477,14 @@
<string>Kinect for Windows SDK v2</string>
</property>
</action>
<action name="actionRealSense2_D435">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>RealSense2</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>

View File

@@ -63,9 +63,9 @@
<property name="geometry">
<rect>
<x>0</x>
<y>-567</y>
<y>-510</y>
<width>680</width>
<height>2812</height>
<height>2836</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_16">
@@ -2827,7 +2827,7 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
<item>
<widget class="QStackedWidget" name="stackedWidget_src">
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="page_41">
<layout class="QVBoxLayout" name="verticalLayout_64">
@@ -2905,6 +2905,11 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
<string>Kinect for Windows SDK v2</string>
</property>
</item>
<item>
<property name="text">
<string>RealSense2</string>
</property>
</item>
</widget>
</item>
<item row="0" column="1">
@@ -2942,7 +2947,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>7</number>
<number>9</number>
</property>
<widget class="QWidget" name="page_32">
<layout class="QVBoxLayout" name="verticalLayout_63">
@@ -3816,6 +3821,71 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
</item>
</layout>
</widget>
<widget class="QWidget" name="page_55">
<layout class="QVBoxLayout" name="verticalLayout_103">
<item>
<widget class="QGroupBox" name="groupBox_realsense2">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>RealSense2</string>
</property>
<layout class="QGridLayout" name="gridLayout_100" rowstretch="0,1">
<item row="0" column="0">
<widget class="QCheckBox" name="checkbox_rs2_emitter">
<property name="text">
<string/>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_468">
<property name="text">
<string>Emitter enabled</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer_71">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer_72">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>338</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
@@ -3958,7 +4028,7 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
<item>
<widget class="QStackedWidget" name="stackedWidget_stereo">
<property name="currentIndex">
<number>4</number>
<number>0</number>
</property>
<widget class="QWidget" name="page_49">
<layout class="QVBoxLayout" name="verticalLayout_91">