Apollo  6.0
Open source self driving car software
prediction_system_gflags.h
Go to the documentation of this file.
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
22 DECLARE_string(prediction_module_name);
23 DECLARE_string(prediction_conf_file);
24 DECLARE_string(prediction_adapter_config_filename);
25 DECLARE_string(prediction_data_dir);
26 DECLARE_string(offline_feature_proto_file_name);
27 DECLARE_string(output_filename);
28 DECLARE_string(extract_feature_type);
29 
30 DECLARE_bool(prediction_test_mode);
31 DECLARE_double(prediction_test_duration);
32 
33 DECLARE_string(prediction_offline_bags);
34 DECLARE_int32(prediction_offline_mode);
35 DECLARE_bool(enable_multi_thread);
36 DECLARE_int32(max_thread_num);
37 DECLARE_int32(max_caution_thread_num);
38 DECLARE_bool(enable_async_draw_base_image);
39 DECLARE_bool(use_cuda);
40 
41 // Bag replay timestamp gap
42 DECLARE_double(replay_timestamp_gap);
43 DECLARE_int32(max_num_dump_feature);
44 DECLARE_int32(max_num_dump_dataforlearn);
45 
46 // Submodules
47 DECLARE_bool(use_lego);
48 DECLARE_string(container_topic_name);
49 DECLARE_string(adccontainer_topic_name);
50 DECLARE_string(evaluator_topic_name);
51 DECLARE_string(container_submodule_name);
52 DECLARE_string(evaluator_submodule_name);
53 DECLARE_string(perception_obstacles_topic_name);
DECLARE_double(prediction_test_duration)
DECLARE_int32(prediction_offline_mode)
DECLARE_bool(prediction_test_mode)
DECLARE_string(prediction_module_name)