mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Refactored OdometryBOW class
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1846 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
float getMaxDepth() const {return _maxDepth;}
|
||||
float geLinearUpdate() const {return _linearUpdate;}
|
||||
float getAngularUpdate() const {return _angularUpdate;}
|
||||
int getLocalHistory() const {return _localHistory;}
|
||||
int getLocalHistoryMaxSize() const {return _localHistoryMaxSize;}
|
||||
|
||||
private:
|
||||
virtual Transform computeTransform(const SensorData & image, int * quality = 0, int * features = 0, int * localMapSize = 0) = 0;
|
||||
@@ -84,7 +84,7 @@ private:
|
||||
float _linearUpdate;
|
||||
float _angularUpdate;
|
||||
int _resetCountdown;
|
||||
int _localHistory;
|
||||
int _localHistoryMaxSize;
|
||||
Transform _pose;
|
||||
int _resetCurrentCount;
|
||||
|
||||
@@ -101,8 +101,7 @@ public:
|
||||
virtual ~OdometryBOW();
|
||||
|
||||
virtual void reset();
|
||||
const std::multimap<int, std::pair<int, pcl::PointXYZ> > & getLocalMap() const {return localMap_;}
|
||||
std::multimap<int,pcl::PointXYZ> getLocalMeansMap() const;
|
||||
const std::multimap<int, pcl::PointXYZ> & getLocalMap() const {return localMap_;}
|
||||
const Memory * getMemory() const {return _memory;}
|
||||
|
||||
private:
|
||||
@@ -110,7 +109,7 @@ private:
|
||||
|
||||
private:
|
||||
Memory * _memory;
|
||||
std::multimap<int, std::pair<int, pcl::PointXYZ> > localMap_;
|
||||
std::multimap<int, pcl::PointXYZ> localMap_;
|
||||
};
|
||||
|
||||
class RTABMAP_EXP OdometryICP : public Odometry
|
||||
|
||||
Reference in New Issue
Block a user