Apollo
11.0
自动驾驶开放平台
perception_gflags.h
浏览该文件的文档.
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
17
#pragma once
18
19
#include "gflags/gflags.h"
20
21
namespace
apollo
{
22
namespace
perception {
23
24
// sensor_manager
25
DECLARE_string
(obs_sensor_intrinsic_path);
26
DECLARE_string
(obs_sensor_meta_file);
27
28
DECLARE_bool
(enable_base_object_pool);
29
30
// config_manager
31
DECLARE_string
(config_manager_path);
32
DECLARE_string
(work_root);
33
34
// emergency detection onnx
35
DECLARE_string
(onnx_obstacle_detector_model);
36
DECLARE_string
(onnx_test_input_path);
37
DECLARE_string
(onnx_test_input_name_file);
38
DECLARE_string
(onnx_prediction_image_path);
39
DECLARE_int32
(num_classes);
40
41
// emergency detection libtorch
42
DECLARE_string
(torch_detector_model);
43
44
// lidar sensor name
45
DECLARE_string
(lidar_sensor_name);
46
47
// lidar_center_point
48
DECLARE_bool
(use_trt);
49
DECLARE_int32
(trt_precision);
50
DECLARE_int32
(trt_use_static);
51
DECLARE_bool
(use_calibration);
52
DECLARE_bool
(use_dynamicshape);
53
DECLARE_bool
(collect_shape_info);
54
DECLARE_string
(dynamic_shape_file);
55
56
DECLARE_string
(object_template_file);
57
58
DECLARE_int32
(hdmap_sample_step);
59
60
// scene manager
61
DECLARE_string
(scene_manager_file);
62
DECLARE_string
(roi_service_file);
63
DECLARE_string
(ground_service_file);
64
65
// front critical judgement (in NOVATEL system)
66
DECLARE_bool
(need_judge_front_critical);
67
DECLARE_double
(x_front);
68
DECLARE_double
(x_back);
69
DECLARE_double
(y_front);
70
DECLARE_double
(y_back);
71
DECLARE_double
(max_points_height);
72
73
// blind TrafficCone (in NOVATEL system)
74
DECLARE_bool
(need_reserve_blind_cone);
75
DECLARE_double
(cone_x_front);
76
DECLARE_double
(cone_x_back);
77
DECLARE_double
(cone_y_front);
78
DECLARE_double
(cone_y_back);
79
DECLARE_double
(cone_reserve_time);
80
81
}
// namespace perception
82
}
// namespace apollo
apollo::perception::DECLARE_bool
DECLARE_bool(enable_base_object_pool)
apollo::perception::DECLARE_double
DECLARE_double(x_front)
apollo::perception::DECLARE_string
DECLARE_string(obs_sensor_intrinsic_path)
apollo::perception::DECLARE_int32
DECLARE_int32(num_classes)
apollo
class register implement
Definition
arena_queue.h:37
modules
perception
common
perception_gflags.h