Use std::chrono instead of custom timestamp function

Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
This commit is contained in:
Jacob Perron 2019-09-02 18:56:32 +00:00 committed by Jacob Perron
parent 111b062251
commit eaeea24a21
3 changed files with 5 additions and 16 deletions

View file

@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/shared_ptr.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <chrono>
#include <string>
#include <unistd.h>
@ -79,7 +80,7 @@ namespace create {
float totalLeftDist;
float totalRightDist;
bool firstOnData;
util::timestamp_t prevOnDataTime;
std::chrono::time_point<std::chrono::system_clock> prevOnDataTime;
Matrix poseCovar;