landmark_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_LANDMARK_DATA_H_
18 #define CARTOGRAPHER_SENSOR_LANDMARK_DATA_H_
19 
20 #include <string>
21 
22 #include "Eigen/Core"
23 #include "Eigen/Geometry"
26 #include "cartographer/sensor/proto/sensor.pb.h"
28 
29 namespace cartographer {
30 namespace sensor {
31 
33  std::string id;
37 };
38 
39 struct LandmarkData {
41  std::vector<LandmarkObservation> landmark_observations;
42 };
43 
44 // Converts 'landmark_data' to a proto::LandmarkData.
45 proto::LandmarkData ToProto(const LandmarkData& landmark_data);
46 
47 // Converts 'proto' to an LandmarkData.
48 LandmarkData FromProto(const proto::LandmarkData& proto);
49 
50 } // namespace sensor
51 } // namespace cartographer
52 
53 #endif // CARTOGRAPHER_SENSOR_LANDMARK_DATA_H_
proto::FixedFramePoseData ToProto(const FixedFramePoseData &pose_data)
transform::Rigid3d landmark_to_tracking_transform
Definition: landmark_data.h:34
FixedFramePoseData FromProto(const proto::FixedFramePoseData &proto)
UniversalTimeScaleClock::time_point Time
Definition: time.h:44
std::vector< LandmarkObservation > landmark_observations
Definition: landmark_data.h:41


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