Apollo 11.0
自动驾驶开放平台
third_party_perception_gflags.h
浏览该文件的文档.
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
21DECLARE_string(third_party_perception_node_name);
22
23DECLARE_double(third_party_perception_freq);
24DECLARE_bool(enable_radar);
25
26// flags to calibrate mobileye, radar and localization
27DECLARE_double(mobileye_pos_adjust);
28DECLARE_double(smartereye_pos_adjust);
29DECLARE_double(radar_pos_adjust);
30
31// object id offset
32DECLARE_int32(mobileye_id_offset);
33DECLARE_int32(smartereye_id_offset);
34DECLARE_int32(radar_id_offset);
35
36// flags to create fake bounding box
37DECLARE_double(default_car_length);
38DECLARE_double(default_truck_length);
39DECLARE_double(default_bike_length);
40DECLARE_double(default_ped_length);
41DECLARE_double(default_unknown_length);
42DECLARE_double(default_car_width);
43DECLARE_double(default_truck_width);
44DECLARE_double(default_bike_width);
45DECLARE_double(default_ped_width);
46DECLARE_double(default_unknown_width);
47DECLARE_double(default_height);
48
49// flags to filter radar obstacles
50DECLARE_double(filter_y_distance);
51DECLARE_double(movable_speed_threshold);
52DECLARE_double(movable_heading_threshold);
53DECLARE_int32(movable_frames_count_threshold);
54DECLARE_int32(keep_radar_frames);
55
56// TODO(QiL) : remove this temporary gflags
57DECLARE_bool(use_conti_radar);
58DECLARE_double(max_mobileye_obstacle_length);
59DECLARE_double(max_mobileye_obstacle_width);
60DECLARE_bool(overwrite_mobileye_theta);
DECLARE_double(third_party_perception_freq)
DECLARE_int32(mobileye_id_offset)
DECLARE_string(third_party_perception_node_name)
DECLARE_bool(enable_radar)