Skip to content

Commit

Permalink
feat: add msg mrm state (#139)
Browse files Browse the repository at this point in the history
* feat: add MrmState.msg

Signed-off-by: TetsuKawa <[email protected]>

* feat: add MrmState.msg to CMakeList

Signed-off-by: TetsuKawa <[email protected]>

* feat: add ElectionCommunication.msg

Signed-off-by: TetsuKawa <[email protected]>

* feat: add checksum info

Signed-off-by: TetsuKawa <[email protected]>

* ci(pre-commit): autofix

* feat: add ElectionStatus.msg

Signed-off-by: TetsuKawa <[email protected]>

* modify: fix a type error

Signed-off-by: TetsuKawa <[email protected]>

* modify: exchange mrm_behavior to mrm_state

Signed-off-by: TetsuKawa <[email protected]>

* ci(pre-commit): autofix

* feat: add election status info

Signed-off-by: TetsuKawa <[email protected]>

* ci(pre-commit): autofix

* feat: add election status info

* feat: add comment out

Signed-off-by: TetsuKawa <[email protected]>

* ci(pre-commit): autofix

* feat: add comment out

Signed-off-by: TetsuKawa <[email protected]>

* ci(pre-commit): autofix

* fix: modify CMakeLists.txt

* delete: ElectionCommunication.msg

* delete: ElectionStatus.msg

---------

Signed-off-by: TetsuKawa <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and mkuri committed Aug 15, 2024
1 parent f605df5 commit ba1aa9f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions tier4_system_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/ServiceLog.msg"
"msg/ModeChangeAvailable.msg"
"msg/MrmBehaviorStatus.msg"
"msg/MrmState.msg"
"srv/OperateMrm.srv"
"srv/ChangeOperationMode.srv"
"srv/ChangeAutowareControl.srv"
Expand Down
11 changes: 11 additions & 0 deletions tier4_system_msgs/msg/MrmState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
builtin_interfaces/Time stamp

# For state
uint16 UNKNOWN = 0
uint16 NORMAL = 1
uint16 MRM_OPERATING = 2
uint16 MRM_SUCCEEDED = 3
uint16 MRM_FAILED = 4

uint16 state
tier4_system_msgs/MrmBehavior behavior

0 comments on commit ba1aa9f

Please sign in to comment.