many small changes, added filereader with beacons, added motion detection stuff, testcases

This commit is contained in:
toni
2017-03-02 18:08:02 +01:00
parent ef6f44969f
commit 54894a0c23
8 changed files with 778 additions and 10 deletions

View File

@@ -281,12 +281,12 @@ namespace Floorplan {
Beacon* b = new Beacon();
b->mac = n->Attribute("mac");
b->name = n->Attribute("name");
b->major = n->Attribute("major");
b->minor = n->Attribute("minor");
b->uuid = n->Attribute("uuid");
b->model.txp = n->FloatAttribute("mdl_txp");
b->model.exp = n->FloatAttribute("mdl_exp");
b->model.waf = n->FloatAttribute("mdl_waf");
// b->major = n->Attribute("major");
// b->minor = n->Attribute("minor");
// b->uuid = n->Attribute("uuid");
// b->model.txp = n->FloatAttribute("mdl_txp");
// b->model.exp = n->FloatAttribute("mdl_exp");
// b->model.waf = n->FloatAttribute("mdl_waf");
b->pos = parsePoint3(n);
return b;
}