mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Handling intial odometry pose in all odometry approaches. For VIO approaches, gravity initialization is handled too. (#298)
This commit is contained in:
@@ -55,6 +55,8 @@ private:
|
||||
IMU lastImu_;
|
||||
ParametersMap parameters_;
|
||||
Transform flipXY_;
|
||||
Transform previousPose_;
|
||||
bool initGravity_;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
@@ -54,8 +54,9 @@ private:
|
||||
#ifdef RTABMAP_ORB_SLAM2
|
||||
ORBSLAM2System * orbslam2_;
|
||||
bool firstFrame_;
|
||||
#endif
|
||||
Transform originLocalTransform_;
|
||||
Transform previousPose_;
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -59,6 +59,8 @@ private:
|
||||
ParametersMap okvisParameters_;
|
||||
IMU lastImu_; // only used for initialization
|
||||
int imagesProcessed_;
|
||||
Transform previousPose_;
|
||||
bool initGravity_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user