The Wayback Machine - https://web.archive.org/web/20201123211015/https://github.com/proximiio/ProximiioProcessorPod
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Proximi.io Processor

CI Status Version License Platform

Example

This framework provide easy position processor for Proximi.io SDK, actually only beta SDK support processors.

Actually are supported:

  • PDR (Pedestrian Dead Reck) - ProximiioPDRProcessor
  • Position Snap - ProximiioSnapProcessor

Each processor is complain to SDK protocol of type ProximiioLocationProcessor.

In order to use you can for example:

/// add snap pre-processor
let snap = ProximiioSnapProcessor()
snap.threshold = 5.0
Proximiio.sharedInstance()?.locationManager.addProcessor(snap, avoidDuplicates: true)
        
/// add pdr processor
let prd = ProximiioSnapProcessor()
pdr.threshold = 15.0
pdr.avgStepLength = 0.65
pdr.useDeviceHeading = false
Proximiio.sharedInstance()?.locationManager.addProcessor(pdrProcessor, avoidDuplicates: true)

Parameters

Each processor has specific parameters to manage them.

ProximiioPDRProcessor

  • threshold, set distance till user can get far from first position fix (aka position from an hardware source) till this can be fixed again
  • avgStepLenght, in meters define the average step length
  • useDeviceHeading, define if the heading for the step is calculate by the sensors automatically or feeded manually by customHeading
  • customHeading, need to have the actual heading position to calculate the step

ProximiioSnapProcessor

  • threshold, set distance till the user is attracted to a path defined in the backend

Requirements

Installation

ProximiioProcessor is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ProximiioProcessor'

Author

Proximi.io, support@proximi.io

License

ProximiioProcessor is available under the commercial license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Packages

No packages published
You can’t perform that action at this time.