Building and Floor Detection
Building and floor detection is required whenever you are working with an indoor positiong system that covers multiple buildings and floors.
Filtering Sensor Data
The general idea behind building or floor detection is to determine the plausible general location. One way to do this is to create a filter that removes relative positions that are not relevant.
ts
import {DataFrame ,DataObject ,RelativeDistance ,RelativePositionProcessing } from "@openhps/core";export classRelativePositionFilter <InOut extendsDataFrame >extendsRelativePositionProcessing <InOut ,RelativeDistance > {processRelativePositions (dataObject :DataObject ,relativePositions :Map <RelativeDistance ,DataObject >,dataFrame ?:InOut ,):Promise <DataObject > {return newPromise ((resolve ,reject ) => {});}}