Apollo  6.0
Open source self driving car software
adapter_gflags.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright 2017 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 DECLARE_bool(enable_adapter_dump);
22 DECLARE_string(gps_topic);
23 DECLARE_string(imu_topic);
24 DECLARE_string(raw_imu_topic);
25 DECLARE_string(audio_detection_topic);
26 DECLARE_string(chassis_topic);
27 DECLARE_string(chassis_detail_topic);
28 DECLARE_string(localization_topic);
29 DECLARE_string(planning_learning_data_topic);
30 DECLARE_string(planning_trajectory_topic);
31 DECLARE_string(planning_pad_topic);
32 DECLARE_string(monitor_topic);
33 DECLARE_string(pad_topic);
34 DECLARE_string(control_command_topic);
35 DECLARE_string(control_preprocessor_topic);
36 DECLARE_string(control_local_view_topic);
37 DECLARE_string(control_core_command_topic);
38 DECLARE_string(pointcloud_topic);
39 DECLARE_string(pointcloud_16_topic);
40 DECLARE_string(pointcloud_16_raw_topic);
41 DECLARE_string(pointcloud_16_front_up_topic);
42 DECLARE_string(pointcloud_64_topic);
43 DECLARE_string(pointcloud_128_topic);
44 DECLARE_string(pointcloud_hesai_40p_topic);
45 DECLARE_string(pointcloud_raw_topic);
46 DECLARE_string(velodyne_raw_topic);
47 DECLARE_string(pointcloud_fusion_topic);
48 DECLARE_string(vlp16_pointcloud_topic);
49 DECLARE_string(lidar_16_front_center_topic);
50 DECLARE_string(lidar_16_front_up_topic);
51 DECLARE_string(lidar_16_rear_left_topic);
52 DECLARE_string(lidar_16_rear_right_topic);
53 DECLARE_string(lidar_16_fusion_topic);
54 DECLARE_string(lidar_16_fusion_compensator_topic);
55 DECLARE_string(lidar_128_topic);
56 DECLARE_string(prediction_topic);
57 DECLARE_string(prediction_container_topic);
58 DECLARE_string(perception_obstacle_topic);
59 DECLARE_string(drive_event_topic);
60 DECLARE_string(traffic_light_detection_topic);
61 DECLARE_string(perception_lane_mask_segmentation_topic);
62 DECLARE_string(routing_request_topic);
63 DECLARE_string(routing_response_topic);
64 DECLARE_string(routing_response_history_topic);
65 DECLARE_string(relative_odometry_topic);
66 DECLARE_string(ins_stat_topic);
67 DECLARE_string(ins_status_topic);
68 DECLARE_string(gnss_status_topic);
69 DECLARE_string(system_status_topic);
70 DECLARE_string(static_info_topic);
71 DECLARE_string(mobileye_topic);
72 DECLARE_string(smartereye_obstacles_topic);
73 DECLARE_string(smartereye_lanemark_topic);
74 DECLARE_string(smartereye_image_topic);
75 DECLARE_string(delphi_esr_topic);
76 DECLARE_string(conti_radar_topic);
77 DECLARE_string(racobit_radar_topic);
78 DECLARE_string(ultrasonic_radar_topic);
79 DECLARE_string(front_radar_topic);
80 DECLARE_string(rear_radar_topic);
81 DECLARE_string(compressed_image_topic);
82 DECLARE_string(image_front_topic);
83 DECLARE_string(image_short_topic);
84 DECLARE_string(image_long_topic);
85 DECLARE_string(camera_image_long_topic);
86 DECLARE_string(camera_image_short_topic);
87 DECLARE_string(camera_front_6mm_topic);
88 DECLARE_string(camera_front_6mm_2_topic);
89 DECLARE_string(camera_front_12mm_topic);
90 DECLARE_string(camera_front_6mm_compressed_topic);
91 DECLARE_string(camera_front_12mm_compressed_topic);
92 DECLARE_string(camera_left_fisheye_compressed_topic);
93 DECLARE_string(camera_right_fisheye_compressed_topic);
94 DECLARE_string(camera_rear_6mm_compressed_topic);
95 DECLARE_string(camera_front_6mm_video_compressed_topic);
96 DECLARE_string(camera_front_12mm_video_compressed_topic);
97 DECLARE_string(camera_left_fisheye_video_compressed_topic);
98 DECLARE_string(camera_right_fisheye_video_compressed_topic);
99 DECLARE_string(camera_rear_6mm_video_compressed_topic);
100 DECLARE_string(gnss_rtk_obs_topic);
101 DECLARE_string(gnss_rtk_eph_topic);
102 DECLARE_string(gnss_best_pose_topic);
103 DECLARE_string(localization_gnss_topic);
104 DECLARE_string(localization_lidar_topic);
105 DECLARE_string(localization_ndt_topic);
106 DECLARE_string(localization_sins_pva_topic);
107 DECLARE_string(localization_msf_status);
108 DECLARE_string(relative_map_topic);
109 DECLARE_string(navigation_topic);
110 DECLARE_string(hmi_status_topic);
111 DECLARE_string(audio_capture_topic);
112 DECLARE_string(v2x_obu_traffic_light_topic);
113 DECLARE_string(v2x_internal_obstacle_topic);
114 DECLARE_string(v2x_obstacle_topic);
115 DECLARE_string(v2x_traffic_light_topic);
116 DECLARE_string(v2x_traffic_light_for_hmi_topic);
117 DECLARE_string(v2x_rsi_topic);
118 DECLARE_string(storytelling_topic);
119 DECLARE_string(gnss_raw_data_topic);
120 DECLARE_string(stream_status_topic);
121 DECLARE_string(heading_topic);
122 DECLARE_string(rtcm_data_topic);
123 DECLARE_string(audio_event_topic);
124 DECLARE_string(task_topic);
125 
126 // Guardian topic
127 DECLARE_string(guardian_topic);
128 
129 // Transform topic
130 DECLARE_string(tf_topic);
131 DECLARE_string(tf_static_topic);
132 
133 // Recorder status topic
134 DECLARE_string(recorder_status_topic);
135 
136 // Latency recording topic
137 DECLARE_string(latency_recording_topic);
138 // Latency reporting topic
139 DECLARE_string(latency_reporting_topic);
140 
141 // It determins which lidar model(16 or 128) to load, if not to set,
142 // the model will be loaded by the sensor name. Mainly for D-kit.
143 DECLARE_string(lidar_model_version);
DECLARE_string(gps_topic)
DECLARE_bool(enable_adapter_dump)