pcl
/build/rock-master-18.09-slam-orogen-pcl-0.20170106/PolygonMeshWithTimestamp.hpp
Go to the documentation of this file.
1 #ifndef PCL_POLYGON_MESH_AGGREGATOR_TIMESTAMPING_HPP
2 #define PCL_POLYGON_MESH_AGGREGATOR_TIMESTAMPING_HPP
3 
4 #include <base/Time.hpp>
5 #include <pcl/PolygonMesh.h>
6 
7 namespace aggregator
8 {
9 
13 inline base::Time determineTimestamp(const ::pcl::PolygonMesh& type)
14 {
15  return base::Time::fromMicroseconds(type.header.stamp);
16 }
17 
18 }
19 
20 #endif
Definition: PCLPointCloud2WithTimestamp.hpp:7
base::Time determineTimestamp(const ::pcl::PCLPointCloud2 &type)
Definition: PCLPointCloud2WithTimestamp.hpp:13