@openhps/sphero
    Preparing search index...

    Interface SpheroSensorOptions<T>

    interface SpheroSensorOptions<T extends RollableToy = RollableToy> {
        interval?: number;
        name?: string;
        persistence?: boolean;
        sensors?: SpheroSensor[];
        skipCalibration?: boolean;
        skipSensorConfiguration?: boolean;
        source?: SpheroDataObject<T>;
        uid?: string;
    }

    Type Parameters

    • T extends RollableToy = RollableToy

    Hierarchy

    • SourceNodeOptions
      • SpheroSensorOptions
    Index
    interval?: number

    Sensor refresh interval in miliseconds

    name?: string

    User friendly name of the node Used for querying a node by its name.

    persistence?: boolean

    Merge objects from persisted source

    true
    
    sensors?: SpheroSensor[]

    Sensors to get information for

    skipCalibration?: boolean

    Specify if the calibration should be skipped

    skipSensorConfiguration?: boolean

    Specify if the sensor interval configuration should be skipped

    Source data object

    uid?: string

    Manually set the unique identifier of the node