Apollo  6.0
Open source self driving car software
perception_gflags.h
Go to the documentation of this file.
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_path);
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 // lidar_point_pillars
35 DECLARE_int32(gpu_id);
36 DECLARE_string(pfe_torch_file);
37 DECLARE_string(scattered_torch_file);
38 DECLARE_string(backbone_torch_file);
39 DECLARE_string(fpn_torch_file);
40 DECLARE_string(bbox_head_torch_file);
41 DECLARE_double(normalizing_factor);
42 DECLARE_int32(num_point_feature);
43 DECLARE_bool(enable_ground_removal);
44 DECLARE_double(ground_removal_height);
45 DECLARE_bool(enable_downsample_beams);
46 DECLARE_int32(downsample_beams_factor);
47 DECLARE_bool(enable_downsample_pointcloud);
48 DECLARE_double(downsample_voxel_size_x);
49 DECLARE_double(downsample_voxel_size_y);
50 DECLARE_double(downsample_voxel_size_z);
51 DECLARE_bool(enable_fuse_frames);
52 DECLARE_int32(num_fuse_frames);
53 DECLARE_double(fuse_time_interval);
54 DECLARE_bool(enable_shuffle_points);
55 DECLARE_int32(max_num_points);
56 DECLARE_bool(reproduce_result_mode);
57 DECLARE_double(score_threshold);
58 DECLARE_double(nms_overlap_threshold);
59 DECLARE_int32(num_output_box_feature);
60 
61 // lidar_mask_pillars
62 DECLARE_string(mask_pfe_torch_file);
63 DECLARE_string(mask_scattered_torch_file);
64 DECLARE_string(mask_backbone_torch_file);
65 DECLARE_string(mask_fpn_torch_file);
66 DECLARE_string(mask_bbox_head_torch_file);
67 
68 // emergency detection onnx
69 DECLARE_string(onnx_obstacle_detector_model);
70 DECLARE_string(onnx_test_input_path);
71 DECLARE_string(onnx_test_input_name_file);
72 DECLARE_string(onnx_prediction_image_path);
73 DECLARE_int32(num_classes);
74 
75 // emergency detection libtorch
76 DECLARE_string(torch_detector_model);
77 
78 // lidar sensor name
79 DECLARE_string(lidar_sensor_name);
80 } // namespace perception
81 } // namespace apollo
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
DECLARE_string(obs_sensor_intrinsic_path)
DECLARE_bool(enable_base_object_pool)
DECLARE_double(normalizing_factor)