Alpha
Raw Protobuf interfaces for a Generic component.
Generated with https://github.com/improbable-eng/grpc-web
import { grpc } from '@improbable-eng/grpc-web';import { Struct } from 'google-protobuf/google/protobuf/struct_pb';const client = {}; // replace with a connected robot clientconst request = new commonApi.DoCommandRequest();request.setName('mygeneric');request.setCommand(Struct.fromJavaScript({ foo: 'bar' }));client.genericService.doCommand( request, new grpc.Metadata(), (error, response) => { // do something with error or response });
Generated using TypeDoc
Raw Protobuf interfaces for a Generic component.
Generated with https://github.com/improbable-eng/grpc-web
Example