range_data_inserter_3d.h
Go to the documentation of this file.
1 /*
2  * Copyright 2016 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_MAPPING_3D_RANGE_DATA_INSERTER_3D_H_
18 #define CARTOGRAPHER_MAPPING_3D_RANGE_DATA_INSERTER_3D_H_
19 
21 #include "cartographer/mapping/proto/3d/range_data_inserter_options_3d.pb.h"
24 
25 namespace cartographer {
26 namespace mapping {
27 
28 proto::RangeDataInserterOptions3D CreateRangeDataInserterOptions3D(
29  common::LuaParameterDictionary* parameter_dictionary);
30 
32  public:
33  explicit RangeDataInserter3D(
34  const proto::RangeDataInserterOptions3D& options);
35 
38 
39  // Inserts 'range_data' into 'hybrid_grid'.
40  void Insert(const sensor::RangeData& range_data,
41  HybridGrid* hybrid_grid) const;
42 
43  private:
44  const proto::RangeDataInserterOptions3D options_;
45  const std::vector<uint16> hit_table_;
46  const std::vector<uint16> miss_table_;
47 };
48 
49 } // namespace mapping
50 } // namespace cartographer
51 
52 #endif // CARTOGRAPHER_MAPPING_3D_RANGE_DATA_INSERTER_3D_H_
proto::RangeDataInserterOptions3D CreateRangeDataInserterOptions3D(common::LuaParameterDictionary *parameter_dictionary)
const proto::RangeDataInserterOptions3D options_
RangeDataInserter3D & operator=(const RangeDataInserter3D &)=delete
void Insert(const sensor::RangeData &range_data, HybridGrid *hybrid_grid) const
RangeDataInserter3D(const proto::RangeDataInserterOptions3D &options)


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