mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Okvis: removed some compilation warnings when not built with okvis
This commit is contained in:
@@ -52,8 +52,10 @@ private:
|
||||
|
||||
private:
|
||||
std::string configFilename_;
|
||||
#ifdef RTABMAP_OKVIS
|
||||
OkvisCallbackHandler * okvisCallbackHandler_;
|
||||
okvis::ThreadedKFVio * okvisEstimator_;
|
||||
#endif
|
||||
ParametersMap okvisParameters_;
|
||||
IMU lastImu_; // only used for initialization
|
||||
int imagesProcessed_;
|
||||
|
||||
@@ -130,10 +130,8 @@ OdometryOkvis::OdometryOkvis(const ParametersMap & parameters) :
|
||||
Odometry(parameters),
|
||||
#ifdef RTABMAP_OKVIS
|
||||
okvisCallbackHandler_(new OkvisCallbackHandler),
|
||||
#else
|
||||
okvisCallbackHandler_(0),
|
||||
#endif
|
||||
okvisEstimator_(0),
|
||||
#endif
|
||||
okvisParameters_(parameters),
|
||||
imagesProcessed_(0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user