UNPKG

spot-sdk-ts

Version:

TypeScript bindings based on protobufs (proto3) provided by Boston Dynamics

28 lines 1.5 kB
import { ListPointCloudSourcesResponse, GetPointCloudResponse, ListPointCloudSourcesRequest, GetPointCloudRequest } from "./point_cloud"; export declare const protobufPackage = "bosdyn.api"; /** * The point cloud service provides access to one or more point cloud sources, for example * from a lidar. It supports querying the list of available sources provided by the service * and it supports requesting the latest point cloud data for each source by name. */ export interface PointCloudService { /** * Obtain the list of PointCloudSources for this given service. * Note that there may be multiple PointCloudServices running, each with their own set of sources * The name field keys access to individual point clouds when calling GetPointCloud. */ ListPointCloudSources(request: ListPointCloudSourcesRequest): Promise<ListPointCloudSourcesResponse>; /** Request point clouds by source name. */ GetPointCloud(request: GetPointCloudRequest): Promise<GetPointCloudResponse>; } export declare class PointCloudServiceClientImpl implements PointCloudService { private readonly rpc; constructor(rpc: Rpc); ListPointCloudSources(request: ListPointCloudSourcesRequest): Promise<ListPointCloudSourcesResponse>; GetPointCloud(request: GetPointCloudRequest): Promise<GetPointCloudResponse>; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>; } export {}; //# sourceMappingURL=point_cloud_service.d.ts.map