Data Service

Client for the data-service.

exception bosdyn.client.data_service.InvalidArgument[source]

Bases: Error

A given argument could not be used.

class bosdyn.client.data_service.DataServiceClient[source]

Bases: BaseClient

A client for adding to robot data buffer.

default_service_name = 'data'
service_type = 'bosdyn.api.DataService'
update_from(other)[source]

Adopt key objects like processors, logger, and wallet from other.

get_data_index(query, **kwargs)[source]

Query for data index

Parameters:

query – DataQuery

Raises:

RpcError – Problem communicating with the robot.

get_data_index_async(query, **kwargs)[source]

Async version of get_data_index.

get_data_pages(time_range, **kwargs)[source]
get_data_pages_async(time_range, **kwargs)[source]
delete_data_pages(time_range, page_ids, **kwargs)[source]
delete_data_pages_async(time_range, page_ids, **kwargs)[source]
get_events_comments(query, **kwargs)[source]

Query for operator comments and events

Parameters:

query – EventsCommentsSpec

Raises:

RpcError – Problem communicating with the robot.

get_events_comments_async(query, **kwargs)[source]

Async version of get_data_index.

get_data_buffer_status(get_blob_specs=False, **kwargs)[source]

Query for operator comments and events

Parameters:

get_blob_specs (bool) – whether to list message series.

Raises:

RpcError – Problem communicating with the robot.

get_data_buffer_status_async(get_blob_specs=False, **kwargs)[source]

Async version of get_data_index.