Apollo  6.0
Open source self driving car software
third_party_perception_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_string(third_party_perception_node_name);
22 
23 DECLARE_double(third_party_perception_freq);
24 DECLARE_bool(enable_radar);
25 
26 // flags to calibrate mobileye, radar and localization
27 DECLARE_double(mobileye_pos_adjust);
28 DECLARE_double(smartereye_pos_adjust);
29 DECLARE_double(radar_pos_adjust);
30 
31 // object id offset
32 DECLARE_int32(mobileye_id_offset);
33 DECLARE_int32(smartereye_id_offset);
34 DECLARE_int32(radar_id_offset);
35 
36 // flags to create fake bounding box
37 DECLARE_double(default_car_length);
38 DECLARE_double(default_truck_length);
39 DECLARE_double(default_bike_length);
40 DECLARE_double(default_ped_length);
41 DECLARE_double(default_unknown_length);
42 DECLARE_double(default_car_width);
43 DECLARE_double(default_truck_width);
44 DECLARE_double(default_bike_width);
45 DECLARE_double(default_ped_width);
46 DECLARE_double(default_unknown_width);
47 DECLARE_double(default_height);
48 
49 // flags to filter radar obstacles
50 DECLARE_double(filter_y_distance);
51 DECLARE_double(movable_speed_threshold);
52 DECLARE_double(movable_heading_threshold);
53 DECLARE_int32(movable_frames_count_threshold);
54 DECLARE_int32(keep_radar_frames);
55 
56 // TODO(QiL) : remove this temporary gflags
57 DECLARE_bool(use_conti_radar);
58 DECLARE_double(max_mobileye_obstacle_length);
59 DECLARE_double(max_mobileye_obstacle_width);
60 DECLARE_bool(overwrite_mobileye_theta);
DECLARE_double(third_party_perception_freq)
DECLARE_bool(enable_radar)
DECLARE_int32(mobileye_id_offset)
DECLARE_string(third_party_perception_node_name)