many changes and updates

- changed the wifi-estimation api
- adjusted test-cases
- worked on grid-bulding and grid-importance
- new walking modules
- fixed some minor issues
This commit is contained in:
2016-08-29 19:02:32 +02:00
parent a2c9e575a2
commit a203305628
23 changed files with 505 additions and 251 deletions

View File

@@ -12,7 +12,7 @@ struct WiFiGridNodeAP {
private:
static const int UNUSED_IDX = 255;
static const uint8_t UNUSED_IDX = 255;
private:
@@ -25,10 +25,14 @@ private:
public:
/** empty ctor */
WiFiGridNodeAP() : idx(UNUSED_IDX), rssi(0) {;}
WiFiGridNodeAP() : idx(UNUSED_IDX), rssi(0) {
int i = 0; (void) i;
}
/** ctor */
WiFiGridNodeAP(const int idx, const float rssi) : idx(idx), rssi(stretch(rssi)) {;}
WiFiGridNodeAP(const int idx, const float rssi) : idx(idx), rssi(stretch(rssi)) {
int i = 0; (void) i;
}
/** is this entry valid/used? */
@@ -70,13 +74,14 @@ private:
*/
template <int maxAccessPoints> struct WiFiGridNode {
/** contains the 10 strongest APs measureable at this position */
WiFiGridNodeAP strongestAPs[maxAccessPoints];
/** ctor */
WiFiGridNode() {;}
explicit WiFiGridNode() : strongestAPs() {
;
}
/** get the maximum number of APs each node is able to store */