added tex
many changes/eval etc...
This commit is contained in:
@@ -127,11 +127,6 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
/** is the given mac one of a FHWS ap? */
|
||||
bool isFHWS_AP(const MACAddress& mac) {
|
||||
return mac.asString().substr(0,5) == "D8:84";
|
||||
}
|
||||
|
||||
void run() {
|
||||
|
||||
Plotty* plot = new Plotty(map);
|
||||
@@ -168,7 +163,7 @@ private:
|
||||
for (const WiFiMeasurement& m : mes.entries) {
|
||||
|
||||
// skip non-FHWS APs
|
||||
if (!isFHWS_AP(m.getAP().getMAC())) {continue;}
|
||||
if (!LeHelper::isFHWS_AP(m.getAP().getMAC())) {continue;}
|
||||
|
||||
// get model's rssi for the given location
|
||||
const float rssi_model = wiModel->getRSSI(m.getAP().getMAC(), pos_m);
|
||||
@@ -219,7 +214,7 @@ private:
|
||||
|
||||
// draw a smoothed version of th epath
|
||||
plot->pathEst.clear();
|
||||
for (const Point3 p : path.getAverage(1)) {
|
||||
for (const Point3 p : path.getAverage(2)) {
|
||||
const K::GnuplotPoint3 gp3(p.x, p.y, p.z);
|
||||
plot->pathEst.add(gp3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user