Skip to content
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

feat(tier4_system_msgs): change operation mode messages #46

Merged
merged 13 commits into from
Nov 10, 2022
Merged
Show file tree
Hide file tree
Changes from 12 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
4 changes: 3 additions & 1 deletion tier4_system_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/HazardStatusStamped.msg"
"msg/ServiceLog.msg"
"msg/ModeChangeAvailable.msg"
"msg/IsAutonomousAvailable.msg"
"msg/OperationMode.msg"
"srv/OperationModeRequest.srv"
"srv/ChangeOperationMode.srv"
"srv/ChangeAutowareControl.srv"
DEPENDENCIES
autoware_common_msgs
diagnostic_msgs
std_msgs
)
Expand Down
2 changes: 0 additions & 2 deletions tier4_system_msgs/msg/IsAutonomousAvailable.msg

This file was deleted.

1 change: 1 addition & 0 deletions tier4_system_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<build_depend>rosidl_default_generators</build_depend>

<depend>autoware_common_msgs</depend>
<depend>diagnostic_msgs</depend>
<depend>std_msgs</depend>

Expand Down
3 changes: 3 additions & 0 deletions tier4_system_msgs/srv/ChangeAutowareControl.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bool autoware_control
---
autoware_common_msgs/ResponseStatus status
7 changes: 7 additions & 0 deletions tier4_system_msgs/srv/ChangeOperationMode.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
uint16 STOP = 1
uint16 AUTONOMOUS = 2
uint16 LOCAL = 3
uint16 REMOTE = 4
uint16 mode
---
autoware_common_msgs/ResponseStatus status