Skip to content

Commit

Permalink
feat(autoware_adapi_v1_msgs): add door command (autowarefoundation#40)
Browse files Browse the repository at this point in the history
* door command

Signed-off-by: Takagi, Isamu <[email protected]>

* remove unused constant

Signed-off-by: Takagi, Isamu <[email protected]>

* modify command

Signed-off-by: Takagi, Isamu <[email protected]>

---------

Signed-off-by: Takagi, Isamu <[email protected]>
  • Loading branch information
isamu-takagi authored Aug 4, 2023
1 parent 90478d5 commit fcdd3d0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions autoware_adapi_v1_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
planning/msg/VelocityFactor.msg
planning/msg/VelocityFactorArray.msg
system/msg/MrmState.msg
vehicle/msg/DoorCommand.msg
vehicle/msg/DoorLayout.msg
vehicle/msg/DoorStatus.msg
vehicle/msg/DoorStatusArray.msg
Expand All @@ -40,6 +41,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
vehicle/msg/VehicleStatus.msg
vehicle/msg/VehicleDimensions.msg
vehicle/msg/VehicleKinematics.msg
vehicle/srv/SetDoorCommand.srv
vehicle/srv/GetDoorLayout.srv
vehicle/srv/GetVehicleDimensions.srv
DEPENDENCIES
Expand Down
5 changes: 5 additions & 0 deletions autoware_adapi_v1_msgs/vehicle/msg/DoorCommand.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
uint8 OPEN = 1
uint8 CLOSE = 2

uint32 index
uint8 command
1 change: 0 additions & 1 deletion autoware_adapi_v1_msgs/vehicle/msg/DoorStatus.msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# constants for door status
uint8 UNKNOWN = 0
uint8 NOT_AVAILABLE = 1
uint8 OPENED = 2
Expand Down
2 changes: 1 addition & 1 deletion autoware_adapi_v1_msgs/vehicle/srv/GetDoorLayout.srv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
autoware_adapi_v1_msgs/ResponseStatus status
autoware_adapi_v1_msgs/DoorLayout doors
autoware_adapi_v1_msgs/DoorLayout[] doors
3 changes: 3 additions & 0 deletions autoware_adapi_v1_msgs/vehicle/srv/SetDoorCommand.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
autoware_adapi_v1_msgs/DoorCommand[] doors
---
autoware_adapi_v1_msgs/ResponseStatus status

0 comments on commit fcdd3d0

Please sign in to comment.