Extends
- BaseClient
Methods
# open_door(request, args) → {Promise.<door_pb.OpenDoorCommandResponse>}
Issue a open door command to the robot.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
door_pb.OpenDoorCommandRequest
|
The door command. |
args |
Object
|
Extra arguments for controlling RPC details. |
Problem communicating with the robot.
RpcError
The lease for the request failed.
LeaseUseError
The full OpenDoorCommandResponse message,
which includes a command id for feedback.
Promise.<door_pb.OpenDoorCommandResponse>
# open_door_feedback(request, args) → {Promise.<door_pb.OpenDoorFeedbackResponse>}
Get feedback from the robot on a specific door command.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
door_pb.OpenDoorFeedbackRequest
|
The request for feedback of the door command. |
args |
Object
|
Extra arguments for controlling RPC details. |
Problem communicating with the robot.
RpcError
The full OpenDoorFeedbackResponse message.
Promise.<door_pb.OpenDoorFeedbackResponse>
# update_from(other) → {void}
Update instance from another object.
Parameters:
| Name | Type | Description |
|---|---|---|
other |
Object
|
The object where to copy from. |
void