Skip to content

Commit

Permalink
chore(system_diagnostic_monitor): fix sensing lidar diag (autowarefou…
Browse files Browse the repository at this point in the history
…ndation#767)

* fix lidar diag in sensing.yaml

* enable sensing.yaml

* style(pre-commit): autofix

---------

Co-authored-by: kotaro-hihara <[email protected]>
  • Loading branch information
kotaro-hihara and kotaro-hihara authored Aug 26, 2024
1 parent bc5d844 commit a1f6703
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ files:
- { path: $(dirname)/perception.yaml }
- { path: $(dirname)/planning.yaml }
- { path: $(dirname)/others.yaml }
# - { path: $(dirname)/sensing.yaml }
- { path: $(dirname)/sensing.yaml }
- { path: $(dirname)/system.yaml }
- { path: $(dirname)/vehicle.yaml }

Expand Down
133 changes: 131 additions & 2 deletions autoware_launch/config/system/system_diagnostic_monitor/sensing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ units:
# Intermediate paths
- path: /sensing/lidar/pndr/002-temperature-error
type: warn-to-ok
list:
- { type: link, link: /sensing/lidar/pndr/002-temperature }
item:
type: link
link: /sensing/lidar/pndr/002-temperature

# - path: /sensing/imu/001-monitor-error
# type: warn-to-ok
Expand Down Expand Up @@ -207,3 +208,131 @@ units:
node: topic_state_monitor_radar_rear_right
name: radar_rear_right_topic_status
timeout: 1.0

- path: /sensing/lidar/front_lower/connection
type: diag
node: "pandar_monitor: /sensing/lidar/front_lower:"
name: pandar_connection
timeout: 5.0
- path: /sensing/lidar/front_lower/ptp
type: diag
node: "pandar_monitor: /sensing/lidar/front_lower:"
name: pandar_ptp
timeout: 5.0
- path: /sensing/lidar/front_lower/temperature
type: diag
node: "pandar_monitor: /sensing/lidar/front_lower:"
name: pandar_temperature
timeout: 5.0

- path: /sensing/lidar/front_upper/connection
type: diag
node: "pandar_monitor: /sensing/lidar/front_upper:"
name: pandar_connection
timeout: 5.0
- path: /sensing/lidar/front_upper/ptp
type: diag
node: "pandar_monitor: /sensing/lidar/front_upper:"
name: pandar_ptp
timeout: 5.0
- path: /sensing/lidar/front_upper/temperature
type: diag
node: "pandar_monitor: /sensing/lidar/front_upper:"
name: pandar_temperature
timeout: 5.0

- path: /sensing/lidar/left_lower/connection
type: diag
node: "pandar_monitor: /sensing/lidar/left_lower:"
name: pandar_connection
timeout: 5.0
- path: /sensing/lidar/left_lower/ptp
type: diag
node: "pandar_monitor: /sensing/lidar/left_lower:"
name: pandar_ptp
timeout: 5.0
- path: /sensing/lidar/left_lower/temperature
type: diag
node: "pandar_monitor: /sensing/lidar/left_lower:"
name: pandar_temperature
timeout: 5.0

- path: /sensing/lidar/left_upper/connection
type: diag
node: "pandar_monitor: /sensing/lidar/left_upper:"
name: pandar_connection
timeout: 5.0
- path: /sensing/lidar/left_upper/ptp
type: diag
node: "pandar_monitor: /sensing/lidar/left_upper:"
name: pandar_ptp
timeout: 5.0
- path: /sensing/lidar/left_upper/temperature
type: diag
node: "pandar_monitor: /sensing/lidar/left_upper:"
name: pandar_temperature
timeout: 5.0

- path: /sensing/lidar/right_lower/connection
type: diag
node: "pandar_monitor: /sensing/lidar/right_lower:"
name: pandar_connection
timeout: 5.0
- path: /sensing/lidar/right_lower/ptp
type: diag
node: "pandar_monitor: /sensing/lidar/right_lower:"
name: pandar_ptp
timeout: 5.0
- path: /sensing/lidar/right_lower/temperature
type: diag
node: "pandar_monitor: /sensing/lidar/right_lower:"
name: pandar_temperature
timeout: 5.0

- path: /sensing/lidar/right_upper/connection
type: diag
node: "pandar_monitor: /sensing/lidar/right_upper:"
name: pandar_connection
timeout: 5.0
- path: /sensing/lidar/right_upper/ptp
type: diag
node: "pandar_monitor: /sensing/lidar/right_upper:"
name: pandar_ptp
timeout: 5.0
- path: /sensing/lidar/right_upper/temperature
type: diag
node: "pandar_monitor: /sensing/lidar/right_upper:"
name: pandar_temperature
timeout: 5.0

- path: /sensing/lidar/rear_lower/connection
type: diag
node: "pandar_monitor: /sensing/lidar/rear_lower:"
name: pandar_connection
timeout: 5.0
- path: /sensing/lidar/rear_lower/ptp
type: diag
node: "pandar_monitor: /sensing/lidar/rear_lower:"
name: pandar_ptp
timeout: 5.0
- path: /sensing/lidar/rear_lower/temperature
type: diag
node: "pandar_monitor: /sensing/lidar/rear_lower:"
name: pandar_temperature
timeout: 5.0

- path: /sensing/lidar/rear_upper/connection
type: diag
node: "pandar_monitor: /sensing/lidar/rear_upper:"
name: pandar_connection
timeout: 5.0
- path: /sensing/lidar/rear_upper/ptp
type: diag
node: "pandar_monitor: /sensing/lidar/rear_upper:"
name: pandar_ptp
timeout: 5.0
- path: /sensing/lidar/rear_upper/temperature
type: diag
node: "pandar_monitor: /sensing/lidar/rear_upper:"
name: pandar_temperature
timeout: 5.0

0 comments on commit a1f6703

Please sign in to comment.