31 lines
674 B
C++
Executable File
31 lines
674 B
C++
Executable File
#ifndef POSITIONEDBEACON_H
|
|
#define POSITIONEDBEACON_H
|
|
|
|
#include "WiFiAP.h"
|
|
//#include "Position3D.h"
|
|
#include <Indoor/geo/Point3.h>
|
|
|
|
class PositionedBeacon : public Point3 {
|
|
|
|
public:
|
|
|
|
MACAddress mac;
|
|
float tx;
|
|
float pl;
|
|
|
|
// /** ctor */
|
|
// PositionedBeacon(const MACAddress& mac, const double tx, const double pl, const double xM, const double yM, const int zNr) :
|
|
// mac(mac), tx(tx), pl(pl), Position3D(xM, yM, zNr) {
|
|
// ;
|
|
// }
|
|
|
|
/** ctor */
|
|
PositionedBeacon(const MACAddress& mac, const float tx, const float pl, const float x_cm, const float y_cm, const float z_cm) :
|
|
Point3(x_cm, y_cm, z_cm), mac(mac), tx(tx), pl(pl) {
|
|
;
|
|
}
|
|
|
|
};
|
|
|
|
#endif // POSITIONEDBEACON_H
|