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
21namespace apollo {
22namespace perception {
23
24// sensor_manager
25DECLARE_string(obs_sensor_intrinsic_path);
26DECLARE_string(obs_sensor_meta_file);
27
28DECLARE_bool(enable_base_object_pool);
29
30// config_manager
31DECLARE_string(config_manager_path);
32DECLARE_string(work_root);
33
34// emergency detection onnx
35DECLARE_string(onnx_obstacle_detector_model);
36DECLARE_string(onnx_test_input_path);
37DECLARE_string(onnx_test_input_name_file);
38DECLARE_string(onnx_prediction_image_path);
39DECLARE_int32(num_classes);
40
41// emergency detection libtorch
42DECLARE_string(torch_detector_model);
43
44// lidar sensor name
45DECLARE_string(lidar_sensor_name);
46
47// lidar_center_point
48DECLARE_bool(use_trt);
49DECLARE_int32(trt_precision);
50DECLARE_int32(trt_use_static);
51DECLARE_bool(use_calibration);
52DECLARE_bool(use_dynamicshape);
53DECLARE_bool(collect_shape_info);
54DECLARE_string(dynamic_shape_file);
55
56DECLARE_string(object_template_file);
57
58DECLARE_int32(hdmap_sample_step);
59
60// scene manager
61DECLARE_string(scene_manager_file);
62DECLARE_string(roi_service_file);
63DECLARE_string(ground_service_file);
64
65// front critical judgement (in NOVATEL system)
66DECLARE_bool(need_judge_front_critical);
71DECLARE_double(max_points_height);
72
73// blind TrafficCone (in NOVATEL system)
74DECLARE_bool(need_reserve_blind_cone);
75DECLARE_double(cone_x_front);
76DECLARE_double(cone_x_back);
77DECLARE_double(cone_y_front);
78DECLARE_double(cone_y_back);
79DECLARE_double(cone_reserve_time);
80
81} // namespace perception
82} // namespace apollo
DECLARE_bool(enable_base_object_pool)
DECLARE_double(x_front)
DECLARE_string(obs_sensor_intrinsic_path)
DECLARE_int32(num_classes)
class register implement
Definition arena_queue.h:37