/api/vehicle/set/door#
| Type | Category |
|---|---|
| Service | Optional |
Description#
API to open and close doors. There shall be one door per vehicle that can be opened and closed.
The API will return a response immediately upon receiving the request. To know the result of the door operation, receive the topic of /api/vehicle/set/door.
Arguments#
bool open
- MessageType: autoware_api_msgs/DoorCommand
- open
- true: open door
- false: close door
- open
Returns#
bool success
string message
Possible reasons for failure:
- The vehicle does not have the ability to operate the door.
- Some kind of error has occurred in door controller.