Apollo
6.0
Open source self driving car software
modules
localization
common
localization_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
22
#pragma once
23
24
#include "gflags/gflags.h"
25
26
DECLARE_string
(localization_module_name);
27
28
DECLARE_double
(localization_publish_freq);
29
30
DECLARE_string
(localization_config_file);
31
32
DECLARE_bool
(enable_gps_imu_interprolate);
33
DECLARE_bool
(enable_map_reference_unify);
34
DECLARE_bool
(enable_watchdog);
35
36
DECLARE_double
(gps_time_delay_tolerance);
37
DECLARE_double
(gps_imu_timestamp_sec_diff_tolerance);
38
DECLARE_double
(timestamp_sec_tolerance);
39
40
DECLARE_double
(map_offset_x);
41
DECLARE_double
(map_offset_y);
42
DECLARE_double
(map_offset_z);
43
44
DECLARE_int32
(report_threshold_err_num);
45
DECLARE_double
(report_gps_imu_time_diff_threshold);
46
47
DECLARE_bool
(enable_gps_timestamp);
48
49
// lidar module
50
DECLARE_string
(local_map_name);
51
DECLARE_string
(lidar_extrinsics_file);
52
DECLARE_string
(lidar_height_file);
53
DECLARE_double
(lidar_height_default);
54
DECLARE_int32
(lidar_localization_mode);
55
DECLARE_int32
(lidar_yaw_align_mode);
56
DECLARE_int32
(lidar_filter_size);
57
DECLARE_double
(lidar_imu_max_delay_time);
58
DECLARE_double
(lidar_map_coverage_theshold);
59
DECLARE_bool
(lidar_debug_log_flag);
60
DECLARE_int32
(point_cloud_step);
61
DECLARE_bool
(if_use_avx);
62
63
// integ module
64
DECLARE_bool
(integ_ins_can_self_align);
65
DECLARE_bool
(integ_sins_align_with_vel);
66
DECLARE_bool
(integ_sins_state_check);
67
DECLARE_double
(integ_sins_state_span_time);
68
DECLARE_double
(integ_sins_state_pos_std);
69
70
DECLARE_double
(vel_threshold_get_yaw);
71
72
// gnss module
73
DECLARE_bool
(enable_ins_aid_rtk);
74
DECLARE_string
(eph_buffer_path);
75
DECLARE_string
(ant_imu_leverarm_file);
76
DECLARE_bool
(gnss_debug_log_flag);
77
DECLARE_bool
(if_imuant_from_file);
78
DECLARE_double
(imu_to_ant_offset_x);
79
DECLARE_double
(imu_to_ant_offset_y);
80
DECLARE_double
(imu_to_ant_offset_z);
81
DECLARE_double
(imu_to_ant_offset_ux);
82
DECLARE_double
(imu_to_ant_offset_uy);
83
DECLARE_double
(imu_to_ant_offset_uz);
84
85
// common
86
DECLARE_double
(imu_rate);
87
DECLARE_bool
(if_utm_zone_id_from_folder);
88
DECLARE_bool
(trans_gpstime_to_utctime);
89
DECLARE_int32
(gnss_mode);
90
DECLARE_bool
(imu_coord_rfu);
91
DECLARE_bool
(gnss_only_init);
92
DECLARE_bool
(enable_lidar_localization);
93
94
DECLARE_string
(lidar_topic);
95
DECLARE_string
(broadcast_tf_frame_id);
96
DECLARE_string
(broadcast_tf_child_frame_id);
97
98
// imu vehicle extrinsic
99
DECLARE_string
(vehicle_imu_file);
100
DECLARE_bool
(if_vehicle_imu_from_file);
101
DECLARE_double
(imu_vehicle_qx);
102
DECLARE_double
(imu_vehicle_qy);
103
DECLARE_double
(imu_vehicle_qz);
104
DECLARE_double
(imu_vehicle_qw);
105
106
// visualization
107
DECLARE_string
(map_visual_dir);
108
109
// Status
110
DECLARE_double
(imu_delay_time_threshold_1);
111
DECLARE_double
(imu_delay_time_threshold_2);
112
DECLARE_double
(imu_delay_time_threshold_3);
113
114
DECLARE_double
(imu_missing_time_threshold_1);
115
DECLARE_double
(imu_missing_time_threshold_2);
116
DECLARE_double
(imu_missing_time_threshold_3);
117
118
DECLARE_double
(bestgnsspose_loss_time_threshold);
119
DECLARE_double
(lidar_loss_time_threshold);
120
121
DECLARE_double
(localization_std_x_threshold_1);
122
DECLARE_double
(localization_std_y_threshold_1);
123
124
DECLARE_double
(localization_std_x_threshold_2);
125
DECLARE_double
(localization_std_y_threshold_2);
126
127
// ndt_localization
128
DECLARE_string
(ndt_map_dir);
129
DECLARE_bool
(ndt_debug_log_flag);
130
DECLARE_double
(online_resolution);
131
DECLARE_int32
(ndt_max_iterations);
132
DECLARE_double
(ndt_target_resolution);
133
DECLARE_double
(ndt_line_search_step_size);
134
DECLARE_double
(ndt_transformation_epsilon);
135
DECLARE_int32
(ndt_filter_size_x);
136
DECLARE_int32
(ndt_filter_size_y);
137
DECLARE_int32
(ndt_bad_score_count_threshold);
138
DECLARE_double
(ndt_warnning_ndt_score);
139
DECLARE_double
(ndt_error_ndt_score);
DECLARE_string
DECLARE_string(localization_module_name)
DECLARE_double
DECLARE_double(localization_publish_freq)
DECLARE_bool
DECLARE_bool(enable_gps_imu_interprolate)
DECLARE_int32
DECLARE_int32(report_threshold_err_num)
Generated by
1.8.13