Open kolen opened 8 years ago
Thanks! Two questions:
How many different locations did you fingerprint?
How many fingerprints (approx) are learned for each different location?
If you want, you could email me your database (data/taburet.db) to (zack@hypercubeplatforms.com) so I could easily reproduce the error.
Okay, this problem is because of the RSSI value was -9 and min MinRssi is -10. I will submit a commit to lower the MinRssi to accomodate this.
Same for me. I've fingerprinted 3 locations with 50 fingerprints for each one.
I've increased the MaxRssi, so you should not have this issue anymore. Let me know!
This index out of range error keeps happening but in a different line of code (priors.go:233) :
calculatePriors: ps.Priors[networkName].P[v2.Location][router.Mac][router.Rssi-MinRssi+i] += val
Okay, so I think you are somehow getting RSSI values < -100, which I thought shouldn't be possible.
To be sure, could you please send me your group name if your using the server, or email your data/GROUPNAME.db file? My email is zack@hypercubeplatforms.com.
Thanks! Looks like I was wrong. You had a value of -4 that was slightly out of range as it was too strong still. So I made the buffer a little bigger (now will accept impossible values of at most 1).
Please check to see that it works now.
Thanks Zach. I will test it again tonight and let you know if it worked.
For me, occurs always, each time I press "Database statistics → Update".