Apollo 11.0
自动驾驶开放平台
prediction_system_gflags.h
浏览该文件的文档.
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// System gflags
22DECLARE_string(prediction_module_name);
23DECLARE_string(prediction_conf_file);
24DECLARE_string(prediction_adapter_config_filename);
25DECLARE_string(prediction_data_dir);
26DECLARE_string(offline_feature_proto_file_name);
27DECLARE_string(output_filename);
28DECLARE_string(extract_feature_type);
29
30DECLARE_bool(prediction_test_mode);
31DECLARE_double(prediction_test_duration);
32
33DECLARE_string(prediction_offline_bags);
34DECLARE_int32(prediction_offline_mode);
35DECLARE_bool(enable_multi_agent_pedestrian_evaluator);
36DECLARE_bool(enable_multi_agent_vehicle_evaluator);
37DECLARE_bool(prediction_eval_mode);
38DECLARE_bool(enable_multi_thread);
39DECLARE_int32(max_thread_num);
40DECLARE_int32(max_caution_thread_num);
41DECLARE_bool(enable_async_draw_base_image);
42DECLARE_bool(use_cuda);
43
44// Bag replay timestamp gap
45DECLARE_double(replay_timestamp_gap);
46DECLARE_int32(max_num_dump_feature);
47DECLARE_int32(max_num_dump_dataforlearn);
48
49// Submodules
50DECLARE_bool(use_lego);
51DECLARE_string(container_topic_name);
52DECLARE_string(adccontainer_topic_name);
53DECLARE_string(evaluator_topic_name);
54DECLARE_string(container_submodule_name);
55DECLARE_string(evaluator_submodule_name);
56DECLARE_string(perception_obstacles_topic_name);
57
58// VectorNet
59DECLARE_string(prediction_target_file);
60DECLARE_string(world_coordinate_file);
61DECLARE_string(prediction_target_dir);
62DECLARE_double(obstacle_x);
63DECLARE_double(obstacle_y);
64DECLARE_double(obstacle_phi);
65DECLARE_double(road_distance);
66DECLARE_double(point_distance);
DECLARE_string(prediction_module_name)
DECLARE_int32(prediction_offline_mode)
DECLARE_double(prediction_test_duration)
DECLARE_bool(prediction_test_mode)