diff --git a/modules/dreamview/conf/hmi_modes/ipc1_mkz_close_loop.pb.txt b/modules/dreamview/conf/hmi_modes/ipc1_mkz_close_loop.pb.txt new file mode 100644 index 0000000000000000000000000000000000000000..d08a3e477bd060bd6012dd4dbf2065b29a6bf87b --- /dev/null +++ b/modules/dreamview/conf/hmi_modes/ipc1_mkz_close_loop.pb.txt @@ -0,0 +1,71 @@ +cyber_modules { + key: "Computer" + value: { + dag_files: "/apollo/modules/drivers/camera/dag/camera_no_compress.dag" + dag_files: "/apollo/modules/drivers/gnss/dag/gnss.dag" + dag_files: "/apollo/modules/drivers/radar/conti_radar/dag/conti_radar.dag" + dag_files: "/apollo/modules/drivers/velodyne/dag/velodyne.dag" + dag_files: "/apollo/modules/localization/dag/dag_streaming_msf_localization.dag" + dag_files: "/apollo/modules/perception/production/dag/dag_streaming_perception.dag" + dag_files: "/apollo/modules/perception/production/dag/dag_streaming_perception_trafficlights.dag" + dag_files: "/apollo/modules/routing/dag/routing.dag" + dag_files: "/apollo/modules/transform/dag/static_transform.dag" + process_group: "compute_sched" + } +} +cyber_modules { + key: "Controller" + value: { + dag_files: "/apollo/modules/canbus/dag/canbus.dag" + dag_files: "/apollo/modules/guardian/dag/guardian.dag" + process_group: "control_sched" + } +} +modules { + key: "Recorder" + value: { + start_command: "/apollo/scripts/record_bag.py --start" + stop_command: "/apollo/scripts/record_bag.py --stop" + process_monitor_config { + command_keywords: "cyber_recorder record" + } + } +} +monitored_components { + key: "Recorder" + value: { + process { + command_keywords: "cyber_recorder record" + } + resource { + disk_spaces { + # For logs. + path: "/apollo/data" + insufficient_space_warning: 8 + insufficient_space_error: 2 + } + disk_spaces { + # For records. + path: "/media/apollo/internal_nvme" + insufficient_space_warning: 128 + insufficient_space_error: 32 + } + } + } +} +monitored_components { + key: "GPS" + value: { + process { + command_keywords: "mainboard" + command_keywords: "/apollo/modules/drivers/gnss/dag/gnss.dag" + } + # We also have a special GPSMonitor to check message status. + } +} +monitored_components { + key: "Localization" + value: { + # Special LocalizationMonitor. + } +} diff --git a/modules/dreamview/conf/hmi_modes/ipc1_mkz_standard_debug.pb.txt b/modules/dreamview/conf/hmi_modes/ipc1_mkz_standard_debug.pb.txt new file mode 100644 index 0000000000000000000000000000000000000000..7b30f7303eb4303aeecc09191d48bbf0b2936577 --- /dev/null +++ b/modules/dreamview/conf/hmi_modes/ipc1_mkz_standard_debug.pb.txt @@ -0,0 +1,129 @@ +cyber_modules { + key: "Camera" + value: { + dag_files: "/apollo/modules/drivers/camera/dag/camera.dag" + } +} +cyber_modules { + key: "Canbus" + value: { + dag_files: "/apollo/modules/canbus/dag/canbus.dag" + } +} +cyber_modules { + key: "GPS" + value: { + dag_files: "/apollo/modules/drivers/gnss/dag/gnss.dag" + } +} +cyber_modules { + key: "Guardian" + value: { + dag_files: "/apollo/modules/guardian/dag/guardian.dag" + } +} +cyber_modules { + key: "Localization" + value: { + dag_files: "/apollo/modules/localization/dag/dag_streaming_msf_localization.dag" + } +} +cyber_modules { + key: "Perception" + value: { + dag_files: "/apollo/modules/perception/production/dag/dag_streaming_perception.dag" + } +} +cyber_modules { + key: "Traffic Light" + value: { + dag_files: "/apollo/modules/perception/production/dag/dag_streaming_perception_trafficlights.dag" + } +} +cyber_modules { + key: "Radar" + value: { + dag_files: "/apollo/modules/drivers/radar/conti_radar/dag/conti_radar.dag" + } +} +cyber_modules { + key: "Routing" + value: { + dag_files: "/apollo/modules/routing/dag/routing.dag" + } +} +cyber_modules { + key: "Transform" + value: { + dag_files: "/apollo/modules/transform/dag/static_transform.dag" + } +} +cyber_modules { + key: "Velodyne" + value: { + dag_files: "/apollo/modules/drivers/velodyne/dag/velodyne.dag" + } +} +modules { + key: "Recorder" + value: { + start_command: "/apollo/scripts/record_bag.py --start" + stop_command: "/apollo/scripts/record_bag.py --stop" + process_monitor_config { + command_keywords: "cyber_recorder record" + } + } +} +monitored_components { + key: "Recorder" + value: { + process { + command_keywords: "cyber_recorder record" + } + resource { + disk_spaces { + # For logs. + path: "/apollo/data" + insufficient_space_warning: 8 + insufficient_space_error: 2 + } + disk_spaces { + # For records. + path: "/media/apollo/internal_nvme" + insufficient_space_warning: 128 + insufficient_space_error: 32 + } + } + } +} +monitored_components { + key: "GPS" + value: { + process { + command_keywords: "mainboard" + command_keywords: "/apollo/modules/drivers/gnss/dag/gnss.dag" + } + # We also have a special GPSMonitor to check message status. + } +} +monitored_components { + key: "Localization" + value: { + # Special LocalizationMonitor. + } +} +# Disbale ESD-CAN for a while as in some cars we are using B-CAN. +# monitored_components { +# key: "ESD-CAN" +# value: { +# # Special EsdCanMonitor. +# } +# } +monitored_components { + key: "Lidar 128" + value: { + channel { + name: "/apollo/sensor/lidar128/compensator/PointCloud2" + } + } +} diff --git a/modules/dreamview/conf/hmi_modes/ipc2_mkz_close_loop.pb.txt b/modules/dreamview/conf/hmi_modes/ipc2_mkz_close_loop.pb.txt new file mode 100644 index 0000000000000000000000000000000000000000..c3881ff71f516df7059337046ad2e67892786d64 --- /dev/null +++ b/modules/dreamview/conf/hmi_modes/ipc2_mkz_close_loop.pb.txt @@ -0,0 +1,15 @@ +cyber_modules { + key: "Computer" + value: { + dag_files: "/apollo/modules/planning/dag/planning.dag" + dag_files: "/apollo/modules/prediction/dag/prediction.dag" + process_group: "compute_sched" + } +} +cyber_modules { + key: "Controller" + value: { + dag_files: "/apollo/modules/control/dag/control.dag" + process_group: "control_sched" + } +} diff --git a/modules/dreamview/conf/hmi_modes/ipc2_mkz_standard_debug.pb.txt b/modules/dreamview/conf/hmi_modes/ipc2_mkz_standard_debug.pb.txt new file mode 100644 index 0000000000000000000000000000000000000000..64799b2f2d3956d74933e2f0d6b6d0909cf7ca46 --- /dev/null +++ b/modules/dreamview/conf/hmi_modes/ipc2_mkz_standard_debug.pb.txt @@ -0,0 +1,18 @@ +cyber_modules { + key: "Control" + value: { + dag_files: "/apollo/modules/control/dag/control.dag" + } +} +cyber_modules { + key: "Planning" + value: { + dag_files: "/apollo/modules/planning/dag/planning.dag" + } +} +cyber_modules { + key: "Prediction" + value: { + dag_files: "/apollo/modules/prediction/dag/prediction.dag" + } +}