Permalink
Browse files

fix clang error: TTimeStamp port

  • Loading branch information...
jlblancoc committed Aug 14, 2018
1 parent c2136b0 commit 878c1ae13153f01242a9a1a4f319684625315b36
Showing with 4 additions and 3 deletions.
  1. +4 −3 libs/graphslam/include/mrpt/graphslam/CGraphSlamEngine_impl.h
@@ -1420,8 +1420,8 @@ void CGraphSlamEngine<GRAPH_T>::readGTFile(
// timestamp
if (gt_timestamps)
{
mrpt::system::TTimeStamp timestamp(
mrpt::system::time_tToTimestamp(atof(curr_tokens[0].c_str())));
auto timestamp =
mrpt::Clock::fromDouble(atof(curr_tokens[0].c_str()));
gt_timestamps->push_back(timestamp);
}

@@ -1528,7 +1528,8 @@ void CGraphSlamEngine<GRAPH_T>::readGTFileRGBD_TUM(
// timestamp
if (gt_timestamps)
{
mrpt::system::TTimeStamp timestamp(atof(curr_tokens[0].c_str()));
auto timestamp =
mrpt::Clock::fromDouble(atof(curr_tokens[0].c_str()));
gt_timestamps->push_back(timestamp);
}

0 comments on commit 878c1ae

Please sign in to comment.