Use std::chrono instead of custom timestamp function
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
This commit is contained in:
parent
111b062251
commit
eaeea24a21
3 changed files with 5 additions and 16 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue