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

浏览源代码.

函数

 DEFINE_string (dreamview_module_name, "dreamview", "dreamview module name")
 
 DEFINE_bool (dreamview_profiling_mode, false, "Run dreamview in profiling mode")
 
 DEFINE_int32 (dreamview_profiling_duration, -1, "Dreamview profiling duration in ms. Negative value will not restrict the " "profiling time")
 
 DEFINE_string (static_file_dir, "/apollo/modules/dreamview_plus/frontend/dist", "The path to the dreamview distribution directory. The default " "value points to built-in version from the Apollo project.")
 
 DEFINE_string (server_ports, "8888", "Comma-separated list of ports to listen on. If the port is SSL, " "a letter s must be appended, for example, 80,443s will open " "port 80 and port 443.Dreamview always use 8899 and Dreamview Plus" " always use 8888.")
 
 DEFINE_bool (routing_from_file, false, "Whether Dreamview reads initial routing response from file.")
 
 DEFINE_string (routing_response_file, "modules/map/data/demo/garage_routing.pb.txt", "File path of the routing response that SimControl will read the " "start point from. If this is absent, SimControl will directly " "take the RoutingResponse from external to determine the start " "point.")
 
 DEFINE_string (websocket_timeout_ms, "36000000", "Time span that CivetServer keeps the websocket connection alive " "without dropping it.")
 
 DEFINE_string (ssl_certificate, "", "Path to the SSL certificate file. This option is only required " "when at least one of the listening_ports is SSL. The file must " "be in PEM format, and it must have both, private key and " "certificate")
 
 DEFINE_double (sim_map_radius, 200.0, "The radius within which Dreamview will find all the map " "elements around the car.")
 
 DEFINE_bool (enable_update_size_check, true, "True to check if the update byte number is less than threshold")
 
 DEFINE_uint32 (max_update_size, 1000000, "Number of max update bytes allowed to push to dreamview FE")
 
 DEFINE_bool (sim_world_with_routing_path, false, "Whether the routing_path is included in sim_world proto.")
 
 DEFINE_string (request_timeout_ms, "2000", "Timeout for network read and network write operations, in milliseconds.")
 
 DEFINE_double (voxel_filter_size, 0.3, "VoxelGrid pointcloud filter leaf size")
 
 DEFINE_double (voxel_filter_height, 0.2, "VoxelGrid pointcloud filter leaf height")
 
 DEFINE_double (system_status_lifetime_seconds, 30, "Lifetime of a valid SystemStatus message. It's more like a " "replay message if the timestamp is old, where we should ignore " "the status change.")
 
 DEFINE_string (lidar_height_yaml, "/apollo/modules/localization/msf/params/velodyne_params/" "velodyne64_height.yaml", "The yaml file for reading height of lidar w.r.t. ground.")
 
 DEFINE_int32 (monitor_msg_pending_queue_size, 10, "Max monitor message pending queue size")
 
 DEFINE_string (default_data_collection_config_path, "/apollo/modules/dreamview_plus/conf/data_collection_table.pb.txt", "Data collection table config path.")
 
 DEFINE_int32 (loop_routing_end_to_start_distance_threshold, 10, "Loop routing distance threshold: start to end")
 
 DEFINE_string (default_preprocess_config_path, "/apollo/modules/dreamview_plus/conf/preprocess_table.pb.txt", "Sensor calibration preprocess table config path.")
 
 DEFINE_string (vehicle_calibration_mode, "Vehicle Calibration", "Name of vehicle calibration mode.")
 
 DEFINE_string (lidar_calibration_mode, "Lidar-IMU Sensor Calibration", "Name of lidar_to_gnss calibration mode.")
 
 DEFINE_string (camera_calibration_mode, "Camera-Lidar Sensor Calibration", "Name of camera_to_lidar calibration mode.")
 
 DEFINE_double (parking_routing_distance_threshold, 20.0, "For open space planner parking situation: get the routing" "end point based on this threshold.")
 
 DEFINE_string (plugin_path, "/.apollo/dreamview/plugins/", "Plugin placement")
 
 DEFINE_string (plugin_config_file_name_suffix, "_plugin_config.pb.txt", "PLugin config file name!")
 
 DEFINE_string (plugin_channel_prefix, "/apollo/dreamview/plugins/", "plugins must use this as channel prefix")
 
 DEFINE_string (resource_scenario_path, "/.apollo/resources/scenario_sets/", "Scenario set placement")
 
 DEFINE_string (resource_dynamic_model_path, "/.apollo/resources/dynamic_models/models/", "Dynamic Models placement")
 
 DEFINE_string (dynamic_model_root_path, "/.apollo/resources/dynamic_models/", "Dynamic Model root directory")
 
 DEFINE_string (dynamic_model_library_path, "/.apollo/resources/dynamic_models/library/", "Dynamic Model libs placement")
 
 DEFINE_string (dynamic_model_package_library_path, "/opt/apollo/neo/lib/modules/dynamic_model/", "Dynamic Model package lib path")
 
 DEFINE_string (apollo_package_meta_info_path_prefix, "/opt/apollo/neo/share/packages/", "apollo package meta info path prefix")
 
 DEFINE_string (sim_obstacle_stop_command, "pkill -9 -f \"sim_obstacle\" ", "Sim obstacle stop command")
 
 DEFINE_string (sim_obstacle_path, "/opt/apollo/neo/bin/sim_obstacle", "sim obstacle binary placement.")
 
 DEFINE_string (gflag_command_arg, " --flagfile=/apollo/modules/common/data/global_flagfile.txt", "sim obstacle need use gflag!")
 
 DEFINE_string (sim_perfect_control, "Simulation Perfect Control", "sim perfect control!")
 
 DEFINE_string (resource_record_path, "/.apollo/resources/records/", "Records placement")
 
 DEFINE_string (resource_rtk_record_path, "/apollo/data/log", "Waypoint Follow Records placement")
 
 DEFINE_string (cyber_recorder_stop_command, "pkill -9 cyber_recorder", "stop play recorder")
 
 DEFINE_string (vehicles_config_path, "/apollo/modules/calibration/data", "Vehicles config path.")
 
 DEFINE_bool (vehicle_changed_use_copy_mode, true, "change vehicle use copy mode if set to true, else use symlink mode")
 
 DEFINE_string (lane_follow_command_topic, "/apollo/external_command/lane_follow", "Lane follow command topic name.")
 
 DEFINE_string (valet_parking_command_topic, "/apollo/external_command/valet_parking", "Valet parking command topic name.")
 
 DEFINE_string (action_command_topic, "/apollo/external_command/action", "Action command topic name.")
 
 DEFINE_string (data_handler_config_path, "/apollo/modules/dreamview_plus/conf/data_handler.conf", "Data handler config path.")
 
 DEFINE_string (data_recorder_command_keyword, "cyber_recorder record", "Data recorder command keyword.")
 
 DEFINE_string (data_record_default_name, "default_record_name", "Data record default name")
 
 DEFINE_double (threshold_for_destination_check, 1.0, "meters, which is 100 feet. This threshold is used to check if" "the vehicle reaches the destination")
 
 DEFINE_string (dv_hmi_modes_config_path, "/apollo/modules/dreamview/conf/hmi_modes", "Dreamview HMI modes config path.")
 
 DEFINE_string (dv_plus_hmi_modes_config_path, "/apollo/modules/dreamview_plus/conf/hmi_modes", "Dreamview Plus HMI modes config path.")
 
 DEFINE_string (maps_data_path, "/apollo/modules/map/data", "Maps data path.")
 
 DEFINE_string (global_components_config_path, "/apollo/modules/dreamview/conf/global_components_config.pb.txt", "Global components config path.")
 
 DEFINE_string (terminal_start_cmd, "nohup /apollo/modules/dreamview_plus/backend/third_party_lib/cyber_shell " "&", "Terminal start cmd")
 
 DEFINE_string (terminal_stop_cmd, "pkill -9 -f \"cyber_shell\" ", "Terminal start cmd")
 
 DEFINE_string (cyber_channels_key, "apollo.dreamview.Cyber", "Cyber channels key")
 
 DEFINE_string (vehicle_data_config_filename, "/apollo/modules/dreamview_plus/conf/vehicle_data.pb.txt", "Vehicle data config file.")
 
 DEFINE_double (status_publish_interval, 5, "HMI Status publish interval.")
 
 DEFINE_string (current_mode_db_key, "/apollo/hmi/status:current_mode", "Key to store hmi_status.current_mode in KV DB.")
 
 DEFINE_string (default_hmi_mode, "Default", "Default HMI Mode when there is no cache.")
 
 DEFINE_string (default_rtk_record_file, "/apollo/data/log/garage.csv", "Default rtk record file.")
 
 DEFINE_string (default_rtk_record_path, "/apollo/data/log/", "Default rtk record path.")
 
 DEFINE_bool (dv_cpu_profile, false, "enable cpu profile")
 
 DEFINE_bool (dv_heap_profile, false, "enable heap profile")
 
 DEFINE_double (monitor_timeout_threshold, 2.5, "Monitor the maximum tolerable time from the last message sent. If " "it exceeds the time, the autonomous driving will be exited.")
 

函数说明

◆ DEFINE_bool() [1/7]

DEFINE_bool ( dreamview_profiling_mode  ,
false  ,
"Run dreamview in profiling mode"   
)

◆ DEFINE_bool() [2/7]

DEFINE_bool ( dv_cpu_profile  ,
false  ,
"enable cpu profile"   
)

◆ DEFINE_bool() [3/7]

DEFINE_bool ( dv_heap_profile  ,
false  ,
"enable heap profile"   
)

◆ DEFINE_bool() [4/7]

DEFINE_bool ( enable_update_size_check  ,
true  ,
"True to check if the update byte number is less than threshold"   
)

◆ DEFINE_bool() [5/7]

DEFINE_bool ( routing_from_file  ,
false  ,
"Whether Dreamview reads initial routing response from file."   
)

◆ DEFINE_bool() [6/7]

DEFINE_bool ( sim_world_with_routing_path  ,
false  ,
"Whether the routing_path is included in sim_world proto."   
)

◆ DEFINE_bool() [7/7]

DEFINE_bool ( vehicle_changed_use_copy_mode  ,
true  ,
"change vehicle use copy mode if set to  true,
else use symlink mode"   
)

◆ DEFINE_double() [1/8]

DEFINE_double ( monitor_timeout_threshold  ,
2.  5,
"Monitor the maximum tolerable time from the last message sent. If " "it exceeds the  time,
the autonomous driving will be exited."   
)

◆ DEFINE_double() [2/8]

DEFINE_double ( parking_routing_distance_threshold  ,
20.  0,
"For open space planner parking situation: get the routing" "end point based on this threshold."   
)

◆ DEFINE_double() [3/8]

DEFINE_double ( sim_map_radius  ,
200.  0,
"The radius within which Dreamview will find all the map " "elements around the car."   
)

◆ DEFINE_double() [4/8]

DEFINE_double ( status_publish_interval  ,
5  ,
"HMI Status publish interval."   
)

◆ DEFINE_double() [5/8]

DEFINE_double ( system_status_lifetime_seconds  ,
30  ,
"Lifetime of a valid SystemStatus message. It's more like a " "replay message if the timestamp is  old,
where we should ignore " "the status change."   
)

◆ DEFINE_double() [6/8]

DEFINE_double ( threshold_for_destination_check  ,
1.  0,
"  meters,
which is 100 feet. This threshold is used to check if" "the vehicle reaches the destination"   
)

◆ DEFINE_double() [7/8]

DEFINE_double ( voxel_filter_height  ,
0.  2,
"VoxelGrid pointcloud filter leaf height"   
)

◆ DEFINE_double() [8/8]

DEFINE_double ( voxel_filter_size  ,
0.  3,
"VoxelGrid pointcloud filter leaf size"   
)

◆ DEFINE_int32() [1/3]

DEFINE_int32 ( dreamview_profiling_duration  ,
-  1,
"Dreamview profiling duration in ms. Negative value will not restrict the " "profiling time"   
)

◆ DEFINE_int32() [2/3]

DEFINE_int32 ( loop_routing_end_to_start_distance_threshold  ,
10  ,
"Loop routing distance threshold: start to end"   
)

◆ DEFINE_int32() [3/3]

DEFINE_int32 ( monitor_msg_pending_queue_size  ,
10  ,
"Max monitor message pending queue size"   
)

◆ DEFINE_string() [1/48]

DEFINE_string ( action_command_topic  ,
"/apollo/external_command/action"  ,
"Action command topic name."   
)

◆ DEFINE_string() [2/48]

DEFINE_string ( apollo_package_meta_info_path_prefix  ,
"/opt/apollo/neo/share/packages/"  ,
"apollo package meta info path prefix"   
)

◆ DEFINE_string() [3/48]

DEFINE_string ( camera_calibration_mode  ,
"Camera-Lidar Sensor Calibration"  ,
"Name of camera_to_lidar calibration mode."   
)

◆ DEFINE_string() [4/48]

DEFINE_string ( current_mode_db_key  ,
"/apollo/hmi/status:current_mode"  ,
"Key to store hmi_status.current_mode in KV DB."   
)

◆ DEFINE_string() [5/48]

DEFINE_string ( cyber_channels_key  ,
"apollo.dreamview.Cyber"  ,
"Cyber channels key"   
)

◆ DEFINE_string() [6/48]

DEFINE_string ( cyber_recorder_stop_command  ,
"pkill -9 cyber_recorder"  ,
"stop play recorder"   
)

◆ DEFINE_string() [7/48]

DEFINE_string ( data_handler_config_path  ,
"/apollo/modules/dreamview_plus/conf/data_handler.conf"  ,
"Data handler config path."   
)

◆ DEFINE_string() [8/48]

DEFINE_string ( data_record_default_name  ,
"default_record_name"  ,
"Data record default name"   
)

◆ DEFINE_string() [9/48]

DEFINE_string ( data_recorder_command_keyword  ,
"cyber_recorder record"  ,
"Data recorder command keyword."   
)

◆ DEFINE_string() [10/48]

DEFINE_string ( default_data_collection_config_path  ,
"/apollo/modules/dreamview_plus/conf/data_collection_table.pb.txt"  ,
"Data collection table config path."   
)

◆ DEFINE_string() [11/48]

DEFINE_string ( default_hmi_mode  ,
"Default"  ,
"Default HMI Mode when there is no cache."   
)

◆ DEFINE_string() [12/48]

DEFINE_string ( default_preprocess_config_path  ,
"/apollo/modules/dreamview_plus/conf/preprocess_table.pb.txt"  ,
"Sensor calibration preprocess table config path."   
)

◆ DEFINE_string() [13/48]

DEFINE_string ( default_rtk_record_file  ,
"/apollo/data/log/garage.csv"  ,
"Default rtk record file."   
)

◆ DEFINE_string() [14/48]

DEFINE_string ( default_rtk_record_path  ,
"/apollo/data/log/"  ,
"Default rtk record path."   
)

◆ DEFINE_string() [15/48]

DEFINE_string ( dreamview_module_name  ,
"dreamview"  ,
"dreamview module name"   
)

◆ DEFINE_string() [16/48]

DEFINE_string ( dv_hmi_modes_config_path  ,
"/apollo/modules/dreamview/conf/hmi_modes"  ,
"Dreamview HMI modes config path."   
)

◆ DEFINE_string() [17/48]

DEFINE_string ( dv_plus_hmi_modes_config_path  ,
"/apollo/modules/dreamview_plus/conf/hmi_modes"  ,
"Dreamview Plus HMI modes config path."   
)

◆ DEFINE_string() [18/48]

DEFINE_string ( dynamic_model_library_path  ,
"/.apollo/resources/dynamic_models/library/"  ,
"Dynamic Model libs placement"   
)

◆ DEFINE_string() [19/48]

DEFINE_string ( dynamic_model_package_library_path  ,
"/opt/apollo/neo/lib/modules/dynamic_model/"  ,
"Dynamic Model package lib path"   
)

◆ DEFINE_string() [20/48]

DEFINE_string ( dynamic_model_root_path  ,
"/.apollo/resources/dynamic_models/"  ,
"Dynamic Model root directory"   
)

◆ DEFINE_string() [21/48]

DEFINE_string ( gflag_command_arg  )

◆ DEFINE_string() [22/48]

DEFINE_string ( global_components_config_path  ,
"/apollo/modules/dreamview/conf/global_components_config.pb.txt"  ,
"Global components config path."   
)

◆ DEFINE_string() [23/48]

DEFINE_string ( lane_follow_command_topic  ,
"/apollo/external_command/lane_follow"  ,
"Lane follow command topic name."   
)

◆ DEFINE_string() [24/48]

DEFINE_string ( lidar_calibration_mode  ,
"Lidar-IMU Sensor Calibration"  ,
"Name of lidar_to_gnss calibration mode."   
)

◆ DEFINE_string() [25/48]

DEFINE_string ( lidar_height_yaml  ,
"/apollo/modules/localization/msf/params/velodyne_params/" "velodyne64_height.yaml"  ,
"The yaml file for reading height of lidar w.r.t. ground."   
)

◆ DEFINE_string() [26/48]

DEFINE_string ( maps_data_path  ,
"/apollo/modules/map/data"  ,
"Maps data path."   
)

◆ DEFINE_string() [27/48]

DEFINE_string ( plugin_channel_prefix  ,
"/apollo/dreamview/plugins/"  ,
"plugins must use this as channel prefix"   
)

◆ DEFINE_string() [28/48]

DEFINE_string ( plugin_config_file_name_suffix  ,
"_plugin_config.pb.txt"  ,
"PLugin config file name!"   
)

◆ DEFINE_string() [29/48]

DEFINE_string ( plugin_path  ,
"/.apollo/dreamview/plugins/"  ,
"Plugin placement"   
)

◆ DEFINE_string() [30/48]

DEFINE_string ( request_timeout_ms  ,
"2000"  ,
"Timeout for network read and network write  operations,
in milliseconds."   
)

◆ DEFINE_string() [31/48]

DEFINE_string ( resource_dynamic_model_path  ,
"/.apollo/resources/dynamic_models/models/"  ,
"Dynamic Models placement"   
)

◆ DEFINE_string() [32/48]

DEFINE_string ( resource_record_path  ,
"/.apollo/resources/records/"  ,
"Records placement"   
)

◆ DEFINE_string() [33/48]

DEFINE_string ( resource_rtk_record_path  ,
"/apollo/data/log"  ,
"Waypoint Follow Records placement"   
)

◆ DEFINE_string() [34/48]

DEFINE_string ( resource_scenario_path  ,
"/.apollo/resources/scenario_sets/"  ,
"Scenario set placement"   
)

◆ DEFINE_string() [35/48]

DEFINE_string ( routing_response_file  ,
"modules/map/data/demo/garage_routing.pb.txt"  ,
"File path of the routing response that SimControl will read the " "start point from. If this is  absent,
SimControl will directly " "take the RoutingResponse from external to determine the start " "point."   
)

◆ DEFINE_string() [36/48]

DEFINE_string ( server_ports  ,
"8888"  ,
"Comma-separated list of ports to listen on. If the port is  SSL,
" "a letter s must be  appended,
for  example,
80  ,
443s will open " "port 80 and port 443.Dreamview always use 8899 and Dreamview Plus" " always use 8888."   
)

◆ DEFINE_string() [37/48]

DEFINE_string ( sim_obstacle_path  ,
"/opt/apollo/neo/bin/sim_obstacle"  ,
"sim obstacle binary placement."   
)

◆ DEFINE_string() [38/48]

DEFINE_string ( sim_obstacle_stop_command  ,
"pkill -9 -f \"sim_obstacle\" "  ,
"Sim obstacle stop command"   
)

◆ DEFINE_string() [39/48]

DEFINE_string ( sim_perfect_control  ,
"Simulation Perfect Control"  ,
"sim perfect control!"   
)

◆ DEFINE_string() [40/48]

DEFINE_string ( ssl_certificate  ,
""  ,
"Path to the SSL certificate file. This option is only required " "when at least one of the listening_ports is SSL. The file must " "be in PEM  format,
and it must have  both,
private key and " "certificate"   
)

◆ DEFINE_string() [41/48]

DEFINE_string ( static_file_dir  ,
"/apollo/modules/dreamview_plus/frontend/dist"  ,
"The path to the dreamview distribution directory. The default " "value points to built-in version from the Apollo project."   
)

◆ DEFINE_string() [42/48]

DEFINE_string ( terminal_start_cmd  ,
"nohup /apollo/modules/dreamview_plus/backend/third_party_lib/cyber_shell " "&"  ,
"Terminal start cmd"   
)

◆ DEFINE_string() [43/48]

DEFINE_string ( terminal_stop_cmd  ,
"pkill -9 -f \"cyber_shell\" "  ,
"Terminal start cmd"   
)

◆ DEFINE_string() [44/48]

DEFINE_string ( valet_parking_command_topic  ,
"/apollo/external_command/valet_parking"  ,
"Valet parking command topic name."   
)

◆ DEFINE_string() [45/48]

DEFINE_string ( vehicle_calibration_mode  ,
"Vehicle Calibration"  ,
"Name of vehicle calibration mode."   
)

◆ DEFINE_string() [46/48]

DEFINE_string ( vehicle_data_config_filename  ,
"/apollo/modules/dreamview_plus/conf/vehicle_data.pb.txt"  ,
"Vehicle data config file."   
)

◆ DEFINE_string() [47/48]

DEFINE_string ( vehicles_config_path  ,
"/apollo/modules/calibration/data"  ,
"Vehicles config path."   
)

◆ DEFINE_string() [48/48]

DEFINE_string ( websocket_timeout_ms  ,
"36000000"  ,
"Time span that CivetServer keeps the websocket connection alive " "without dropping it."   
)

◆ DEFINE_uint32()

DEFINE_uint32 ( max_update_size  ,
1000000  ,
"Number of max update bytes allowed to push to dreamview FE"   
)