added new eval code for new walkers improved barometer (moving avg and median) floorplan-staircase-fixes disabled step-turn (now part of transition) added abs-orientation-reader (for testing) added beacons
46 lines
772 B
C++
Executable File
46 lines
772 B
C++
Executable File
#ifndef WIFIAP_H
|
|
#define WIFIAP_H
|
|
|
|
#include "MACAddress.h"
|
|
#include <ostream>
|
|
|
|
|
|
/**
|
|
* represents a WiFi-AccessPoint
|
|
* an AP is represented by its MAC-Address and
|
|
* may provide a readably SSID
|
|
*/
|
|
class WiFiAP {
|
|
|
|
public:
|
|
|
|
/** the AP's MAC-Address */
|
|
const MACAddress mac;
|
|
|
|
/** the AP's readable SSID */
|
|
const std::string ssid;
|
|
|
|
/** AP tx-power */
|
|
const float tx;
|
|
|
|
/** path loss for this ap. for testing */
|
|
const float pl;
|
|
|
|
|
|
|
|
public:
|
|
|
|
/** ctor */
|
|
WiFiAP(const MACAddress& mac, const std::string& ssid, const double tx, const double pl) : mac(mac), ssid(ssid), tx(tx), pl(pl) {
|
|
;
|
|
}
|
|
|
|
/** ctor */
|
|
WiFiAP(const std::string& mac, const std::string& ssid, const double tx, const double pl) : mac(mac), ssid(ssid), tx(tx), pl(pl) {
|
|
;
|
|
}
|
|
|
|
};
|
|
|
|
#endif // WIFIAP_H
|