UNPKG

spot-sdk-ts

Version:

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

35 lines 2.2 kB
import { SpotCheckCommandResponse, SpotCheckFeedbackResponse, CameraCalibrationCommandResponse, CameraCalibrationFeedbackResponse, SpotCheckCommandRequest, SpotCheckFeedbackRequest, CameraCalibrationCommandRequest, CameraCalibrationFeedbackRequest } from "./spot_check"; export declare const protobufPackage = "bosdyn.api.spot"; /** * RPCs for monitoring robot health and recalibration various sensors. These procedures should be * run periodically in order to keep the system running in the best possible condition. */ export interface SpotCheckService { /** * Send a command to the SpotCheck service. The spotcheck service is responsible to both * recalibrating actuation sensors and checking camera health. */ SpotCheckCommand(request: SpotCheckCommandRequest): Promise<SpotCheckCommandResponse>; /** * Check the status of the spot check procedure. After procedure completes, this reports back * results for specific joints and cameras. */ SpotCheckFeedback(request: SpotCheckFeedbackRequest): Promise<SpotCheckFeedbackResponse>; /** Send a camera calibration command to the robot. Used to start or abort a calibration routine. */ CameraCalibrationCommand(request: CameraCalibrationCommandRequest): Promise<CameraCalibrationCommandResponse>; /** Check the status of the camera calibration procedure. */ CameraCalibrationFeedback(request: CameraCalibrationFeedbackRequest): Promise<CameraCalibrationFeedbackResponse>; } export declare class SpotCheckServiceClientImpl implements SpotCheckService { private readonly rpc; constructor(rpc: Rpc); SpotCheckCommand(request: SpotCheckCommandRequest): Promise<SpotCheckCommandResponse>; SpotCheckFeedback(request: SpotCheckFeedbackRequest): Promise<SpotCheckFeedbackResponse>; CameraCalibrationCommand(request: CameraCalibrationCommandRequest): Promise<CameraCalibrationCommandResponse>; CameraCalibrationFeedback(request: CameraCalibrationFeedbackRequest): Promise<CameraCalibrationFeedbackResponse>; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>; } export {}; //# sourceMappingURL=spot_check_service.d.ts.map