Skip to content

Commit

Permalink
feat: add state and key value
Browse files Browse the repository at this point in the history
Signed-off-by: Takagi, Isamu <[email protected]>
  • Loading branch information
isamu-takagi committed Jun 26, 2024
1 parent 32fb890 commit fd8be4e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions autoware_adapi_v1_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
common/msg/ResponseStatus.msg
common/msg/KeyValue.msg
localization/msg/LocalizationInitializationState.msg
localization/srv/InitializeLocalization.srv
routing/msg/RouteState.msg
Expand Down
2 changes: 2 additions & 0 deletions autoware_adapi_v1_msgs/common/msg/KeyValue.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
string key
string value
6 changes: 3 additions & 3 deletions autoware_adapi_v1_msgs/planning/msg/CooperationDecision.msg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
uint8 UNKNOWN = 0
uint8 DEACTIVATE = 1
uint8 ACTIVATE = 2
uint8 UNDECIDED = 3
uint8 WAIT = 1
uint8 EXECUTE = 2
uint8 NONE = 3
uint8 FORCE = 4

uint8 decision
11 changes: 11 additions & 0 deletions autoware_adapi_v1_msgs/planning/msg/CooperationStatus.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# constants for state
uint8 UNKNOWN = 0
uint8 WAITING = 1
uint8 EXECUTING = 2
uint8 ABORTING = 3
uint8 SUCCEEDED = 4
uint8 FAILED = 5

# variables
unique_identifier_msgs/UUID uuid
uint8 state
autoware_adapi_v1_msgs/CooperationDecision autonomous
autoware_adapi_v1_msgs/CooperationDecision cooperator
autoware_adapi_v1_msgs/KeyValue[] values

0 comments on commit fd8be4e

Please sign in to comment.