Apollo 11.0
自动驾驶开放平台
params.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2022 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
17#pragma once
18
19#include <map>
20#include <string>
21#include <vector>
22
23namespace apollo {
24namespace perception {
25namespace lidar {
26
27class Params {
28 public:
29 static constexpr float kVoxelXSize = 0.2f;
30 static constexpr float kVoxelYSize = 0.2f;
31 static constexpr float kVoxelZSize = 8.0f;
32 static constexpr float kMinXRange = -51.2f;
33 static constexpr float kMinYRange = -51.2f;
34 static constexpr float kMinZRange = -5.0f;
35 static constexpr float kMaxXRange = 51.2f;
36 static constexpr float kMaxYRange = 51.2f;
37 static constexpr float kMaxZRange = 3.0f;
38 static constexpr int kNumClass = 3;
39 static constexpr int kMaxNumVoxels = 60000;
40 static constexpr int kMaxNumPointsPerVoxel = 20;
41 static constexpr int kNumPointFeature = 5; // x, y, z, i, delta of time
42 static constexpr int kNumOutputBoxFeature = 7;
43 static constexpr int kBatchSize = 1;
44
45 private:
46 Params() = default;
47 ~Params() = default;
48}; // class Params
49
50} // namespace lidar
51} // namespace perception
52} // namespace apollo
static constexpr float kMaxYRange
Definition params.h:36
static constexpr int kMaxNumPointsPerVoxel
Definition params.h:40
static constexpr int kNumClass
Definition params.h:38
static constexpr int kMaxNumVoxels
Definition params.h:39
static constexpr float kMinYRange
Definition params.h:33
static constexpr float kVoxelXSize
Definition params.h:29
static constexpr int kBatchSize
Definition params.h:43
static constexpr float kMaxZRange
Definition params.h:37
static constexpr float kMinXRange
Definition params.h:32
static constexpr int kNumOutputBoxFeature
Definition params.h:42
static constexpr float kVoxelYSize
Definition params.h:30
static constexpr float kVoxelZSize
Definition params.h:31
static constexpr float kMinZRange
Definition params.h:34
static constexpr int kNumPointFeature
Definition params.h:41
static constexpr float kMaxXRange
Definition params.h:35
class register implement
Definition arena_queue.h:37