Apollo 11.0
自动驾驶开放平台
lossy_map_2d.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
24
26
27void LossyMap2D::PreloadMapArea(const Eigen::Vector3d& location,
28 const Eigen::Vector3d& trans_diff,
29 unsigned int resolution_id,
30 unsigned int zone_id) {
31 BaseMap::PreloadMapArea(location, trans_diff, resolution_id, zone_id);
32}
33
34bool LossyMap2D::LoadMapArea(const Eigen::Vector3d& seed_pt3d,
35 unsigned int resolution_id, unsigned int zone_id,
36 int filter_size_x, int filter_size_y) {
37 BaseMap::LoadMapArea(seed_pt3d, resolution_id, zone_id, filter_size_x,
38 filter_size_y);
39 return true;
40}
41
42} // namespace msf
43} // namespace localization
44} // 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
LossyMap2D(LossyMapConfig2D *config)
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.
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.
The options of the reflectance map.
class register implement
Definition arena_queue.h:37