Variable SensorServiceConst

SensorService: {
    methods: {
        doCommand: {
            I: typeof DoCommandRequest;
            kind: MethodKind.Unary;
            name: "DoCommand";
            O: typeof DoCommandResponse;
        };
        getGeometries: {
            I: typeof GetGeometriesRequest;
            kind: MethodKind.Unary;
            name: "GetGeometries";
            O: typeof GetGeometriesResponse;
        };
        getReadings: {
            I: typeof GetReadingsRequest;
            kind: MethodKind.Unary;
            name: "GetReadings";
            O: typeof GetReadingsResponse;
        };
    };
    typeName: "viam.component.sensor.v1.SensorService";
}

SensorService services all generic sensors associated with a robot

Type declaration

  • Readonlymethods: {
        doCommand: {
            I: typeof DoCommandRequest;
            kind: MethodKind.Unary;
            name: "DoCommand";
            O: typeof DoCommandResponse;
        };
        getGeometries: {
            I: typeof GetGeometriesRequest;
            kind: MethodKind.Unary;
            name: "GetGeometries";
            O: typeof GetGeometriesResponse;
        };
        getReadings: {
            I: typeof GetReadingsRequest;
            kind: MethodKind.Unary;
            name: "GetReadings";
            O: typeof GetReadingsResponse;
        };
    }
    • ReadonlydoCommand: {
          I: typeof DoCommandRequest;
          kind: MethodKind.Unary;
          name: "DoCommand";
          O: typeof DoCommandResponse;
      }

      DoCommand sends/receives arbitrary commands

      from rpc viam.component.sensor.v1.SensorService.DoCommand

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

      GetGeometries returns the geometries of the component in their current configuration

      from rpc viam.component.sensor.v1.SensorService.GetGeometries

    • ReadonlygetReadings: {
          I: typeof GetReadingsRequest;
          kind: MethodKind.Unary;
          name: "GetReadings";
          O: typeof GetReadingsResponse;
      }

      GetReadings returns the readings of a sensor of the underlying robot.

      from rpc viam.component.sensor.v1.SensorService.GetReadings

  • ReadonlytypeName: "viam.component.sensor.v1.SensorService"

from service viam.component.sensor.v1.SensorService

MMNEPVFCICPMFPCPTTAAATR