Class MovementSensorClient

A gRPC-web client for the MovementSensor component.

Hierarchy

  • MovementSensorClient

Implements

Constructors

Properties

client: MovementSensorServiceClient
name: string
options: Options

Accessors

  • get movementsensorService(): MovementSensorServiceClient
  • Returns MovementSensorServiceClient

Methods

  • Send/Receive arbitrary commands to the resource.

    Parameters

    Returns Promise<StructType>

  • Get the accuracy of various sensors

    Parameters

    • extra: {} = {}

      Returns Promise<Record<string, number>>

    • Get the compass heading, which is a number from 0-359 where 0 is North, 90 is East, 180 is South, and 270 is West

      Parameters

      • extra: {} = {}

        Returns Promise<number>

      • Return the readings of a sensor.

        Parameters

        • extra: {} = {}

          Returns Promise<Record<string, unknown>>

        Generated using TypeDoc