2010-06-10 15:57:03 +02:00
|
|
|
#ifndef _OWLPS_POSITIONING_FBCM_HH_
|
|
|
|
#define _OWLPS_POSITIONING_FBCM_HH_
|
|
|
|
|
|
|
|
#include "multilaterationalgorithm.hh"
|
|
|
|
|
|
|
|
/// Computes a position using the Interlink Networks formula
|
|
|
|
class FBCM: public MultilaterationAlgorithm
|
|
|
|
{
|
2010-06-14 17:15:48 +02:00
|
|
|
protected:
|
|
|
|
float friis_index(const AccessPoint *const ap) const ;
|
|
|
|
|
2010-06-10 15:57:03 +02:00
|
|
|
public:
|
2011-03-31 19:42:35 +02:00
|
|
|
FBCM(void): PositioningAlgorithm("FBCM") {}
|
2010-06-10 15:57:03 +02:00
|
|
|
~FBCM(void) {}
|
|
|
|
|
|
|
|
float estimate_distance(const Measurement &measurement) ;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
#endif // _OWLPS_POSITIONING_FBCM_HH_
|