Local Grid¶
Client support for the LocalGridService.
-
class
bosdyn.client.local_grid.
LocalGridClient
[source]¶ Bases:
bosdyn.client.common.BaseClient
Client to access local grid local_grids from the robot.
-
default_service_name
= 'local-grid-service'¶
-
service_type
= 'bosdyn.api.LocalGridService'¶
-
get_local_grid_types
(**kwargs)[source]¶ Get a list of the local_grid types available from the robot.
- Returns
A list of the different types (string names) of local grids.
- Raises
RpcError – Problem communicating with the robot.
-
get_local_grids
(local_grid_type_names, **kwargs)[source]¶ Get a selection of local_grids of specified types.
- Parameters
local_grid_type_names (list of strings) – List of strings specifying types local_grids to request. Available local_grid types may be requested using get_local_grid_types().
- Returns
A list of LocalGridResponseProtos, each containing a local_grid or an error status code.
- Raises
RpcError – Problem communicating with the robot.
-