mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
MainWindow::createCamera() fixed parameters not passed by reference
This commit is contained in:
@@ -308,8 +308,8 @@ protected:
|
|||||||
virtual Camera * createCamera(
|
virtual Camera * createCamera(
|
||||||
Camera ** odomSensor,
|
Camera ** odomSensor,
|
||||||
Transform & odomSensorExtrinsics,
|
Transform & odomSensorExtrinsics,
|
||||||
double odomSensorTimeOffset,
|
double & odomSensorTimeOffset,
|
||||||
float odomSensorScaleFactor);
|
float & odomSensorScaleFactor);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui_mainWindow * _ui;
|
Ui_mainWindow * _ui;
|
||||||
|
|||||||
@@ -5356,8 +5356,8 @@ void MainWindow::editDatabase()
|
|||||||
Camera * MainWindow::createCamera(
|
Camera * MainWindow::createCamera(
|
||||||
Camera ** odomSensor,
|
Camera ** odomSensor,
|
||||||
Transform & odomSensorExtrinsics,
|
Transform & odomSensorExtrinsics,
|
||||||
double odomSensorTimeOffset,
|
double & odomSensorTimeOffset,
|
||||||
float odomSensorScaleFactor)
|
float & odomSensorScaleFactor)
|
||||||
{
|
{
|
||||||
Camera * camera = _preferencesDialog->createCamera();
|
Camera * camera = _preferencesDialog->createCamera();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user