Apollo 10.0
自动驾驶开放平台
prediction_system_gflags.cc 文件参考
prediction_system_gflags.cc 的引用(Include)关系图:

浏览源代码.

函数

 DEFINE_string (prediction_module_name, "prediction", "Default prediction module name")
 
 DEFINE_string (prediction_conf_file, "modules/prediction/conf/prediction_conf.pb.txt", "Default conf file for prediction")
 
 DEFINE_string (prediction_adapter_config_filename, "modules/prediction/conf/adapter.conf", "Default conf file for prediction")
 
 DEFINE_string (prediction_data_dir, "modules/prediction/data/prediction/", "Prefix of files to store feature data")
 
 DEFINE_string (offline_feature_proto_file_name, "", "The bin file including a series of feature proto messages")
 
 DEFINE_string (output_filename, "", "The filename for offline process.")
 
 DEFINE_string (extract_feature_type, "", "The extract feature type, either cruise or junction")
 
 DEFINE_bool (prediction_test_mode, false, "Set prediction to test mode")
 
 DEFINE_double (prediction_test_duration, std::numeric_limits< double >::infinity(), "The runtime duration in test mode (in seconds). Negative value will not " "restrict the runtime duration.")
 
 DEFINE_string (prediction_offline_bags, "", "a list of bag files or directories for offline mode. The items need to be " "separated by colon ':'. If this value is not set, the prediction module " "will use the listen to published ros topic mode.")
 
 DEFINE_int32 (prediction_offline_mode, 0, "0: online mode, no dump file" "1: dump feature proto to feature.*.bin" "2: dump data for learning to datalearn.*.bin" "3: dump predicted trajectory to predict_result.*.bin" "4: dump frame environment info to frame_env.*.bin" "5: dump data for tuning to datatuning.*.bin")
 
 DEFINE_bool (enable_multi_agent_pedestrian_evaluator, true, "If enable multi agent pedestrian evaluator.")
 
 DEFINE_bool (enable_multi_agent_vehicle_evaluator, true, "If enable multi agent vehicle evaluator.")
 
 DEFINE_bool (prediction_eval_mode, false, "Set prediction to eval mode")
 
 DEFINE_bool (enable_multi_thread, true, "If enable multi-thread.")
 
 DEFINE_int32 (max_thread_num, 8, "Maximal number of threads.")
 
 DEFINE_int32 (max_caution_thread_num, 2, "Maximal number of threads for caution obstacles.")
 
 DEFINE_bool (enable_async_draw_base_image, true, "If enable async to draw base image")
 
 DEFINE_bool (use_cuda, true, "If use cuda for torch.")
 
 DEFINE_double (replay_timestamp_gap, 10.0, "Max timestamp gap for rosbag replay")
 
 DEFINE_int32 (max_num_dump_feature, 10000, "Max number of features to dump")
 
 DEFINE_int32 (max_num_dump_dataforlearn, 5000, "Max number of dataforlearn to dump")
 
 DEFINE_bool (use_lego, false, "If use lego architecture")
 
 DEFINE_string (container_topic_name, "/apollo/prediction/container", "Container topic name")
 
 DEFINE_string (adccontainer_topic_name, "/apollo/prediction/adccontainer", "ADC Container topic name")
 
 DEFINE_string (evaluator_topic_name, "/apollo/prediction/evaluator", "Evaluator topic name")
 
 DEFINE_string (container_submodule_name, "container_submodule", "Container submodule name")
 
 DEFINE_string (evaluator_submodule_name, "evaluator_submodule", "Evaluator submodule name")
 
 DEFINE_string (perception_obstacles_topic_name, "/apollo/prediction/perception_obstacles", "Internal topic of perception obstacles")
 
 DEFINE_string (prediction_target_file, "data/train/test.pb.txt", "VectorNet target pb file name")
 
 DEFINE_string (world_coordinate_file, "data/world_coord.bin", "VectorNet world coordinate file name")
 
 DEFINE_string (prediction_target_dir, "data/train/", "VectorNet target dir")
 
 DEFINE_double (obstacle_x, 0.0, "obstacle position x")
 
 DEFINE_double (obstacle_y, 0.0, "obstacle position y")
 
 DEFINE_double (obstacle_phi, 0.0, "obstacle heading phi")
 
 DEFINE_double (road_distance, 100.0, "road distance within which the points are got")
 
 DEFINE_double (point_distance, 5.0, "sampling distance of two points")
 

函数说明

◆ DEFINE_bool() [1/8]

DEFINE_bool ( enable_async_draw_base_image  ,
true  ,
"If enable async to draw base image"   
)

◆ DEFINE_bool() [2/8]

DEFINE_bool ( enable_multi_agent_pedestrian_evaluator  ,
true  ,
"If enable multi agent pedestrian evaluator."   
)

◆ DEFINE_bool() [3/8]

DEFINE_bool ( enable_multi_agent_vehicle_evaluator  ,
true  ,
"If enable multi agent vehicle evaluator."   
)

◆ DEFINE_bool() [4/8]

DEFINE_bool ( enable_multi_thread  ,
true  ,
"If enable multi-thread."   
)

◆ DEFINE_bool() [5/8]

DEFINE_bool ( prediction_eval_mode  ,
false  ,
"Set prediction to eval mode"   
)

◆ DEFINE_bool() [6/8]

DEFINE_bool ( prediction_test_mode  ,
false  ,
"Set prediction to test mode"   
)

◆ DEFINE_bool() [7/8]

DEFINE_bool ( use_cuda  ,
true  ,
"If use cuda for torch."   
)

◆ DEFINE_bool() [8/8]

DEFINE_bool ( use_lego  ,
false  ,
"If use lego architecture"   
)

◆ DEFINE_double() [1/7]

DEFINE_double ( obstacle_phi  ,
0.  0,
"obstacle heading phi"   
)

◆ DEFINE_double() [2/7]

DEFINE_double ( obstacle_x  ,
0.  0,
"obstacle position x"   
)

◆ DEFINE_double() [3/7]

DEFINE_double ( obstacle_y  ,
0.  0,
"obstacle position y"   
)

◆ DEFINE_double() [4/7]

DEFINE_double ( point_distance  ,
5.  0,
"sampling distance of two points"   
)

◆ DEFINE_double() [5/7]

DEFINE_double ( prediction_test_duration  ,
std::numeric_limits< double >  ::infinity(),
"The runtime duration in test mode (in seconds). Negative value will not " "restrict the runtime duration."   
)

◆ DEFINE_double() [6/7]

DEFINE_double ( replay_timestamp_gap  ,
10.  0,
"Max timestamp gap for rosbag replay"   
)

◆ DEFINE_double() [7/7]

DEFINE_double ( road_distance  ,
100.  0,
"road distance within which the points are got"   
)

◆ DEFINE_int32() [1/5]

DEFINE_int32 ( max_caution_thread_num  ,
2  ,
"Maximal number of threads for caution obstacles."   
)

◆ DEFINE_int32() [2/5]

DEFINE_int32 ( max_num_dump_dataforlearn  ,
5000  ,
"Max number of dataforlearn to dump"   
)

◆ DEFINE_int32() [3/5]

DEFINE_int32 ( max_num_dump_feature  ,
10000  ,
"Max number of features to dump"   
)

◆ DEFINE_int32() [4/5]

DEFINE_int32 ( max_thread_num  ,
8  ,
"Maximal number of threads."   
)

◆ DEFINE_int32() [5/5]

DEFINE_int32 ( prediction_offline_mode  ,
0  ,
"0: online  mode,
no dump file" "1:dump feature proto to feature.*.bin" "2:dump data for learning to datalearn.*.bin" "3:dump predicted trajectory to predict_result.*.bin" "4:dump frame environment info to frame_env.*.bin" "5:dump data for tuning to datatuning.*.bin"   
)

◆ DEFINE_string() [1/17]

DEFINE_string ( adccontainer_topic_name  ,
"/apollo/prediction/adccontainer"  ,
"ADC Container topic name"   
)

◆ DEFINE_string() [2/17]

DEFINE_string ( container_submodule_name  ,
"container_submodule"  ,
"Container submodule name"   
)

◆ DEFINE_string() [3/17]

DEFINE_string ( container_topic_name  ,
"/apollo/prediction/container"  ,
"Container topic name"   
)

◆ DEFINE_string() [4/17]

DEFINE_string ( evaluator_submodule_name  ,
"evaluator_submodule"  ,
"Evaluator submodule name"   
)

◆ DEFINE_string() [5/17]

DEFINE_string ( evaluator_topic_name  ,
"/apollo/prediction/evaluator"  ,
"Evaluator topic name"   
)

◆ DEFINE_string() [6/17]

DEFINE_string ( extract_feature_type  ,
""  ,
"The extract feature  type,
either cruise or junction"   
)

◆ DEFINE_string() [7/17]

DEFINE_string ( offline_feature_proto_file_name  ,
""  ,
"The bin file including a series of feature proto messages"   
)

◆ DEFINE_string() [8/17]

DEFINE_string ( output_filename  ,
""  ,
"The filename for offline process."   
)

◆ DEFINE_string() [9/17]

DEFINE_string ( perception_obstacles_topic_name  ,
"/apollo/prediction/perception_obstacles"  ,
"Internal topic of perception obstacles"   
)

◆ DEFINE_string() [10/17]

DEFINE_string ( prediction_adapter_config_filename  ,
"modules/prediction/conf/adapter.conf"  ,
"Default conf file for prediction"   
)

◆ DEFINE_string() [11/17]

DEFINE_string ( prediction_conf_file  ,
"modules/prediction/conf/prediction_conf.pb.txt"  ,
"Default conf file for prediction"   
)

◆ DEFINE_string() [12/17]

DEFINE_string ( prediction_data_dir  ,
"modules/prediction/data/prediction/"  ,
"Prefix of files to store feature data"   
)

◆ DEFINE_string() [13/17]

DEFINE_string ( prediction_module_name  ,
"prediction"  ,
"Default prediction module name"   
)

◆ DEFINE_string() [14/17]

DEFINE_string ( prediction_offline_bags  ,
""  ,
"a list of bag files or directories for offline mode. The items need to be " "separated by colon ':'. If this value is not  set,
the prediction module " "will use the listen to published ros topic mode."   
)

◆ DEFINE_string() [15/17]

DEFINE_string ( prediction_target_dir  ,
"data/train/"  ,
"VectorNet target dir"   
)

◆ DEFINE_string() [16/17]

DEFINE_string ( prediction_target_file  ,
"data/train/test.pb.txt"  ,
"VectorNet target pb file name"   
)

◆ DEFINE_string() [17/17]

DEFINE_string ( world_coordinate_file  ,
"data/world_coord.bin"  ,
"VectorNet world coordinate file name"   
)