19 #include "cartographer/transform/proto/transform.pb.h" 27 proto::TimedPointCloudData proto;
30 proto.mutable_point_data()->Reserve(timed_point_cloud_data.
ranges.size());
31 for (
const Eigen::Vector4f& range : timed_point_cloud_data.
ranges) {
39 timed_point_cloud.reserve(proto.point_data().size());
41 proto.point_data().begin(), proto.point_data().end(),
42 std::back_inserter(timed_point_cloud),
43 static_cast<Eigen::Vector4f (*)(
const transform::proto::Vector4f&)
>(
proto::FixedFramePoseData ToProto(const FixedFramePoseData &pose_data)
FixedFramePoseData FromProto(const proto::FixedFramePoseData &proto)
Time FromUniversal(const int64 ticks)
int64 ToUniversal(const Time time)
std::vector< Eigen::Vector4f > TimedPointCloud
sensor::TimedPointCloud ranges