Class CameraClient

A gRPC-web client for the Camera component.

Hierarchy

  • CameraClient

Implements

Constructors

Properties

client: CameraServiceClient
name: string
options: Options

Accessors

  • get cameraService(): CameraServiceClient
  • Returns CameraServiceClient

Methods

  • Send/Receive arbitrary commands to the resource.

    Parameters

    Returns Promise<StructType>

  • Return a frame from a camera.

    Parameters

    • mimeType: MimeType = ''

      A specific MIME type to request. This is not necessarily the same type that will be returned.

    Returns Promise<Uint8Array>

  • Return a point cloud from a camera.

    Returns Promise<Uint8Array>

  • Render a frame from a camera to an HTTP response.

    Parameters

    • mimeType: MimeType = ''

      A specific MIME type to request. This is not necessarily the same type that will be returned.

    Returns Promise<Blob>

Generated using TypeDoc