mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
Source images: fixed starting position to 1 (not 0) when selecting a folder, removed all asserts on valid caemra model in SensorData
This commit is contained in:
@@ -248,10 +248,6 @@ SensorData::SensorData(
|
|||||||
depth.type() == CV_16UC1); // Depth in millimetre
|
depth.type() == CV_16UC1); // Depth in millimetre
|
||||||
_depthOrRightRaw = depth;
|
_depthOrRightRaw = depth;
|
||||||
}
|
}
|
||||||
for(unsigned int i=0; i<cameraModels.size(); ++i)
|
|
||||||
{
|
|
||||||
UASSERT(cameraModels[i].isValid());
|
|
||||||
}
|
|
||||||
|
|
||||||
if(userData.type() == CV_8UC1) // Bytes
|
if(userData.type() == CV_8UC1) // Bytes
|
||||||
{
|
{
|
||||||
@@ -311,11 +307,6 @@ SensorData::SensorData(
|
|||||||
_laserScanCompressed = laserScan;
|
_laserScanCompressed = laserScan;
|
||||||
}
|
}
|
||||||
|
|
||||||
for(unsigned int i=0; i<cameraModels.size(); ++i)
|
|
||||||
{
|
|
||||||
UASSERT(cameraModels[i].isValid());
|
|
||||||
}
|
|
||||||
|
|
||||||
if(userData.type() == CV_8UC1) // Bytes
|
if(userData.type() == CV_8UC1) // Bytes
|
||||||
{
|
{
|
||||||
_userDataCompressed = userData; // assume compressed
|
_userDataCompressed = userData; // assume compressed
|
||||||
|
|||||||
@@ -2233,7 +2233,7 @@ void PreferencesDialog::selectSourceImagesPath()
|
|||||||
if(!path.isEmpty())
|
if(!path.isEmpty())
|
||||||
{
|
{
|
||||||
_ui->source_images_lineEdit_path->setText(path);
|
_ui->source_images_lineEdit_path->setText(path);
|
||||||
_ui->source_images_spinBox_startPos->setValue(0);
|
_ui->source_images_spinBox_startPos->setValue(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user