-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
- Loading branch information
1 parent
23982c2
commit 3772e2c
Showing
5 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
common/autoware_ad_api_msgs/operation_mode/msg/OperationMode.msg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# constants for mode | ||
uint16 UNKNOWN = 0 | ||
uint16 STOP = 1 | ||
uint16 AUTONOMOUS = 2 | ||
uint16 LOCAL = 3 | ||
uint16 REMOTE = 4 | ||
|
||
# variables | ||
uint16 mode |
8 changes: 8 additions & 0 deletions
8
common/autoware_ad_api_msgs/operation_mode/msg/OperationModeState.msg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
builtin_interfaces/Time stamp | ||
autoware_ad_api_msgs/OperationMode operation | ||
bool is_autoware_control_enabled | ||
bool is_in_transition | ||
bool change_to_stop | ||
bool change_to_autonomous | ||
bool change_to_local | ||
bool change_to_remote |
4 changes: 4 additions & 0 deletions
4
common/autoware_ad_api_msgs/operation_mode/srv/ChangeOperationMode.srv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
uint16 ERROR_NOT_AVAILABLE = 1 | ||
uint16 ERROR_IN_TRANSITION = 2 | ||
autoware_ad_api_msgs/ResponseStatus status |