Apollo 11.0
自动驾驶开放平台
ndt_map.cc
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2018 The Apollo Authors. All Rights Reserved.
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
18
19namespace apollo {
20namespace localization {
21namespace msf {
22
23NdtMap::NdtMap(NdtMapConfig* config) : BaseMap(config) {}
24
26
27void NdtMap::PreloadMapArea(const Eigen::Vector3d& location,
28 const Eigen::Vector3d& trans_diff,
29 unsigned int resolution_id, unsigned int zone_id) {
30 BaseMap::PreloadMapArea(location, trans_diff, resolution_id, zone_id);
31}
32
33bool NdtMap::LoadMapArea(const Eigen::Vector3d& seed_pt3d,
34 unsigned int resolution_id, unsigned int zone_id,
35 int filter_size_x, int filter_size_y) {
36 BaseMap::LoadMapArea(seed_pt3d, resolution_id, zone_id, filter_size_x,
37 filter_size_y);
38 return true;
39}
40
41} // namespace msf
42} // namespace localization
43} // namespace apollo
The data structure of the base map.
Definition base_map.h:35
virtual bool LoadMapArea(const Eigen::Vector3d &seed_pt3d, unsigned int resolution_id, unsigned int zone_id, int filter_size_x, int filter_size_y)
Load map nodes for the location calculate of this frame.
Definition base_map.cc:407
virtual void PreloadMapArea(const Eigen::Vector3d &location, const Eigen::Vector3d &trans_diff, unsigned int resolution_id, unsigned int zone_id)
Preload map nodes for the next frame location calculation.
Definition base_map.cc:268
The options of the reflectance map.
virtual void PreloadMapArea(const Eigen::Vector3d &location, const Eigen::Vector3d &trans_diff, unsigned int resolution_id, unsigned int zone_id)
Preload map nodes for the next frame location calculation.
Definition ndt_map.cc:27
NdtMap(NdtMapConfig *config)
Definition ndt_map.cc:23
virtual bool LoadMapArea(const Eigen::Vector3d &seed_pt3d, unsigned int resolution_id, unsigned int zone_id, int filter_size_x, int filter_size_y)
Load map nodes for the location calculate of this frame.
Definition ndt_map.cc:33
class register implement
Definition arena_queue.h:37