Fixed missing left/right suffixes when loading stereo calibration files

This commit is contained in:
matlabbe
2016-09-20 11:52:06 -04:00
parent 3530da935b
commit 5f85c2a7a0
2 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ namespace rtabmap {
class RTABMAP_EXP StereoCameraModel class RTABMAP_EXP StereoCameraModel
{ {
public: public:
StereoCameraModel() {} StereoCameraModel() : leftSuffix_("left"), rightSuffix_("right") {}
StereoCameraModel( StereoCameraModel(
const std::string & name, const std::string & name,
const cv::Size & imageSize1, const cv::Size & imageSize1,

View File

@@ -63,7 +63,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>-450</y>
<width>673</width> <width>673</width>
<height>2496</height> <height>2496</height>
</rect> </rect>
@@ -86,7 +86,7 @@
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>5</number>
</property> </property>
<widget class="QWidget" name="page_22"> <widget class="QWidget" name="page_22">
<layout class="QVBoxLayout" name="verticalLayout_29" stretch="0,1"> <layout class="QVBoxLayout" name="verticalLayout_29" stretch="0,1">
@@ -2377,7 +2377,7 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
<item> <item>
<widget class="QStackedWidget" name="stackedWidget_src"> <widget class="QStackedWidget" name="stackedWidget_src">
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="page_41"> <widget class="QWidget" name="page_41">
<layout class="QVBoxLayout" name="verticalLayout_64"> <layout class="QVBoxLayout" name="verticalLayout_64">
@@ -3318,7 +3318,7 @@ when using the file type, logs are saved in LogRtabmap.txt (located in the worki
<item row="1" column="2"> <item row="1" column="2">
<widget class="QLabel" name="label_stereo_depthGenerated"> <widget class="QLabel" name="label_stereo_depthGenerated">
<property name="text"> <property name="text">
<string>Generate disparity image and convert it to depth. The resulting output is a RGB-D image instead of stereo images. Dense disparity parameters can found under StereoBM tab.</string> <string>Generate disparity image and convert it to depth. The resulting output is a RGB-D image instead of stereo images. Dense disparity parameters can be found under StereoBM tab.</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>