Remote Client

Client for the RemoteMission service.

exception bosdyn.mission.remote_client.Error[source]

Bases: Exception

exception bosdyn.mission.remote_client.InvalidSessionId(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ResponseError

Provided session ID was not valid on the server.

exception bosdyn.mission.remote_client.MissingInputs(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ResponseError

Missing required inputs.

exception bosdyn.mission.remote_client.MissingLeases(response, error_message=None)[source]

Bases: bosdyn.client.exceptions.ResponseError

Missing leases on required resources.

bosdyn.mission.remote_client.tree_status_from_tick_status(tick_status)[source]
class bosdyn.mission.remote_client.RemoteClient[source]

Bases: bosdyn.client.common.BaseClient

default_service_name = None
service_type = 'bosdyn.api.mission.RemoteMissionService'
establish_session(leases, inputs, **kwargs)[source]

Establish a session.

Parameters

leases – List of lease protobufs to establish session with.

establish_session_async(leases, inputs, **kwargs)[source]
tick(session_id, leases, inputs, **kwargs)[source]
tick_async(session_id, leases, inputs, **kwargs)[source]
stop(session_id, **kwargs)[source]
stop_async(session_id, **kwargs)[source]
teardown_session(session_id, **kwargs)[source]
teardown_session_async(session_id, **kwargs)[source]