Door
For clients to the door service.
- class bosdyn.client.door.DoorClient[source]
Bases:
BaseClient
Client for the door service.
- default_service_name = 'door'
- service_type = 'bosdyn.api.spot.DoorService'
- open_door(request, **kwargs)[source]
Issue an open door command to the robot.
- Parameters:
request (door_pb2.OpenDoorCommandRequest) – The door command.
- Returns:
The full OpenDoorCommandResponse message, which includes a command id for feedback.
- Raises:
RpcError – Problem communicating with the robot.
LeaseUseError – The lease for the request failed.
- open_door_feedback(request, **kwargs)[source]
Get feedback from the robot on a specific door command.
- Parameters:
request (door_pb2.OpenDoorFeedbackRequest) – The request for feedback of the door command.
- Returns:
The full OpenDoorFeedbackResponse message.
- Raises:
RpcError – Problem communicating with the robot.