Skip to content

Commit

Permalink
feat: system diagnostic monitor message (#96)
Browse files Browse the repository at this point in the history
* feat: add diagnostic graph

Signed-off-by: Takagi, Isamu <[email protected]>

* feat: update diagnostic graph

Signed-off-by: Takagi, Isamu <[email protected]>

* feat: add links

Signed-off-by: Takagi, Isamu <[email protected]>

* feat: split status and struct

Signed-off-by: Takagi, Isamu <[email protected]>

* add name

Signed-off-by: Takagi, Isamu <[email protected]>

* add summary

Signed-off-by: Takagi, Isamu <[email protected]>

* add link

Signed-off-by: Takagi, Isamu <[email protected]>

* add stamp

Signed-off-by: Takagi, Isamu <[email protected]>

* add stamp

Signed-off-by: Takagi, Isamu <[email protected]>

* rename message

Signed-off-by: Takagi, Isamu <[email protected]>

* add comment

Signed-off-by: Takagi, Isamu <[email protected]>

---------

Signed-off-by: Takagi, Isamu <[email protected]>
  • Loading branch information
isamu-takagi authored Sep 15, 2023
1 parent 41d741c commit 71cc77d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tier4_system_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/AutowareState.msg"
"msg/DiagnosticGraph.msg"
"msg/DiagnosticLink.msg"
"msg/DiagnosticNode.msg"
"msg/OperationModeAvailability.msg"
"msg/EmergencyState.msg"
"msg/EmergencyStateStamped.msg"
"msg/HazardStatus.msg"
Expand Down
2 changes: 2 additions & 0 deletions tier4_system_msgs/msg/DiagnosticGraph.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
builtin_interfaces/Time stamp
tier4_system_msgs/DiagnosticNode[] nodes
2 changes: 2 additions & 0 deletions tier4_system_msgs/msg/DiagnosticLink.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uint32 index # The index of the nodes in the DiagnosticGraph message.
bool used # Whether the linked node is used if the dependency is conditional.
2 changes: 2 additions & 0 deletions tier4_system_msgs/msg/DiagnosticNode.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
diagnostic_msgs/DiagnosticStatus status
tier4_system_msgs/DiagnosticLink[] links
8 changes: 8 additions & 0 deletions tier4_system_msgs/msg/OperationModeAvailability.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
builtin_interfaces/Time stamp
bool stop
bool autonomous
bool local
bool remote
bool emergency_stop
bool comfortable_stop
bool pull_over

0 comments on commit 71cc77d

Please sign in to comment.