timed_point_cloud_data.h
Go to the documentation of this file.
1 /*
2  * Copyright 2017 The Cartographer Authors
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef CARTOGRAPHER_SENSOR_TIMED_POINT_CLOUD_DATA_H_
18 #define CARTOGRAPHER_SENSOR_TIMED_POINT_CLOUD_DATA_H_
19 
20 #include "Eigen/Core"
23 
24 namespace cartographer {
25 namespace sensor {
26 
29  Eigen::Vector3f origin;
31 };
32 
35  Eigen::Vector4f point_time;
36  size_t origin_index;
37  };
39  std::vector<Eigen::Vector3f> origins;
40  std::vector<RangeMeasurement> ranges;
41 };
42 
43 // Converts 'timed_point_cloud_data' to a proto::TimedPointCloudData.
44 proto::TimedPointCloudData ToProto(
45  const TimedPointCloudData& timed_point_cloud_data);
46 
47 // Converts 'proto' to TimedPointCloudData.
48 TimedPointCloudData FromProto(const proto::TimedPointCloudData& proto);
49 
50 } // namespace sensor
51 } // namespace cartographer
52 
53 #endif // CARTOGRAPHER_SENSOR_TIMED_POINT_CLOUD_DATA_H_
proto::FixedFramePoseData ToProto(const FixedFramePoseData &pose_data)
FixedFramePoseData FromProto(const proto::FixedFramePoseData &proto)
UniversalTimeScaleClock::time_point Time
Definition: time.h:44
std::vector< Eigen::Vector4f > TimedPointCloud
Definition: point_cloud.h:39


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:58