Variable GenericServiceConst

GenericService: {
    methods: {
        doCommand: {
            I: typeof DoCommandRequest;
            O: typeof DoCommandResponse;
            kind: MethodKind.Unary;
            name: "DoCommand";
        };
        getGeometries: {
            I: typeof GetGeometriesRequest;
            O: typeof GetGeometriesResponse;
            kind: MethodKind.Unary;
            name: "GetGeometries";
        };
    };
    typeName: "viam.component.generic.v1.GenericService";
}

GenericService services all generic components associated with a robot

Type declaration

  • Readonly methods: {
        doCommand: {
            I: typeof DoCommandRequest;
            O: typeof DoCommandResponse;
            kind: MethodKind.Unary;
            name: "DoCommand";
        };
        getGeometries: {
            I: typeof GetGeometriesRequest;
            O: typeof GetGeometriesResponse;
            kind: MethodKind.Unary;
            name: "GetGeometries";
        };
    }
    • Readonly doCommand: {
          I: typeof DoCommandRequest;
          O: typeof DoCommandResponse;
          kind: MethodKind.Unary;
          name: "DoCommand";
      }

      DoCommand sends/receives arbitrary commands

      Generated

      from rpc viam.component.generic.v1.GenericService.DoCommand

    • Readonly getGeometries: {
          I: typeof GetGeometriesRequest;
          O: typeof GetGeometriesResponse;
          kind: MethodKind.Unary;
          name: "GetGeometries";
      }

      GetGeometries returns the geometries of the component in their current configuration

      Generated

      from rpc viam.component.generic.v1.GenericService.GetGeometries

  • Readonly typeName: "viam.component.generic.v1.GenericService"

Generated

from service viam.component.generic.v1.GenericService

Generated using TypeDoc