ProximiioProcessor 0.23.0

ProximiioProcessor 0.23.0

Maintained by Matteo Crippa, Proximi.io Account.



 
Depends on:
Proximiio>= 0
SwiftyJSON>= 0
 

  • By
  • Matteo Crippa

Proximi.io Processor

CI Status Version License Platform

Current Version: 0.22.0

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, [email protected]

License

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