OdometryROS: make sure we received imu (with same or future stamp) before processing data.

This commit is contained in:
matlabbe
2019-09-15 17:29:11 -04:00
parent 9ec95e1e0d
commit 29ccfe56cd
2 changed files with 24 additions and 1 deletions
+2
View File
@@ -140,6 +140,8 @@ private:
int odomStrategy_;
bool waitIMUToinit_;
bool imuProcessed_;
double lastImuReceivedStamp_;
rtabmap::SensorData bufferedData_;
};
}