Function navtk::get_time
Defined in File get_time.hpp
Function Documentation
-
std::pair<bool, aspn_xtensor::TypeTimestamp> navtk::get_time(std::shared_ptr<aspn_xtensor::AspnBase> msg)
Extract timestamp from an AspnBase object.
- Parameters
msg – Message containing a timestamp.
- Returns
A pair where the first element is a flag indicating if
msghas a timestamp, and iftrue, the second element is the timestamp. If the flag isfalse, the second element will have a timestamp of 0.