Door

For clients to the door service.

class bosdyn.client.door.DoorClient[source]

Bases: bosdyn.client.common.BaseClient

Client for the door service.

default_service_name = 'door'
service_type = 'bosdyn.api.spot.DoorService'
open_door(request, **kwargs)[source]

Issue a 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
open_door_async(request, **kwargs)[source]

Async version of open_door().

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.

open_door_feedback_async(request, **kwargs)[source]

Async version of open_door_feedback().

update_from(other)[source]

Update instance from another object.

Parameters

other – The object where to copy from.