Skip to content

feat(autoware_adapi_v1_msgs): add mrm description #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions autoware_adapi_v1_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ rosidl_generate_interfaces(${PROJECT_NAME}
planning/srv/GetCooperationPolicies.srv
system/msg/RtiState.msg
system/msg/MrmState.msg
system/msg/MrmDescription.msg
system/msg/MrmRequest.msg
system/msg/MrmRequestList.msg
system/srv/SendMrmRequest.srv
system/srv/ListMrmDescription.srv
system/msg/Heartbeat.msg
system/msg/DiagGraphStruct.msg
system/msg/DiagGraphStatus.msg
Expand Down
3 changes: 3 additions & 0 deletions autoware_adapi_v1_msgs/system/msg/MrmDescription.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
uint16 behavior
string name
string description
3 changes: 2 additions & 1 deletion autoware_adapi_v1_msgs/system/msg/MrmState.msg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ uint16 MRM_OPERATING = 2
uint16 MRM_SUCCEEDED = 3
uint16 MRM_FAILED = 4

# For behavior
# For behavior. Deprecated: use description API.
# https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-interfaces/ad-api/features/fail-safe/
uint16 NONE = 1
uint16 EMERGENCY_STOP = 2
uint16 COMFORTABLE_STOP = 3
Expand Down
3 changes: 3 additions & 0 deletions autoware_adapi_v1_msgs/system/srv/ListMrmDescription.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
autoware_adapi_v1_msgs/MrmDescription[] descriptions
---
autoware_adapi_v1_msgs/ResponseStatus status