schollz / find3

High-precision indoor positioning framework, version 3.
https://www.internalpositioning.com/doc
MIT License
4.65k stars 366 forks source link

Family and location name problems #108

Closed heathcliffYang closed 6 years ago

heathcliffYang commented 6 years ago

If I name the family 'exp-d,' it will trigger an error: No learning data available, see the documentation for how to get started with learning.

The sever cannot create the corresponding find3.ai file even after 300 seconds. The dashboard displays that there are already more than 20 data overall.

schollz commented 6 years ago

What happens after you press the calibrate button? Can you send me your DB?

heathcliffYang commented 6 years ago

I have informed you of the DB on your find3 Slack.

The comment on the file is 'Here is the database with the name problem.'

schollz commented 6 years ago

@heathcliffYang I don't see anything on the Slack, can you paste the link to the message?

heathcliffYang commented 6 years ago

This is the link. https://find3.slack.com/files/UBV4JH6S1/FBV0LRDB4/cszf2cs.sqlite3.db

schollz commented 6 years ago

image

Maybe post it here, since slack doesn't work.

heathcliffYang commented 6 years ago

Does this work? CSzF2cs.sqlite3.db.zip

Thank you!!

schollz commented 6 years ago

@heathcliffYang The server was right. There is no learning data available:

$ sqlite3 CSzF2cs.sqlite3.db "select count(timestamp) from sensors where locationid == ''"
22
$ sqlite3 CSzF2cs.sqlite3.db "select count(timestamp) from sensors where locationid != ''"
0

You have 22 fingerprints that have no location attached to them, and you have 0 fingerprints with location information. In order to use FIND you have to send fingerprints with location information. I recommend following this guide: https://www.internalpositioning.com/doc/tracking_your_phone.md It will get you started with sending fingerprints with location information.

heathcliffYang commented 6 years ago

Yes, I'm sure when I did learning, I gave the location name called 'labone.'

I have a comparison group: the family name is 'exp,' and it works normally.

schollz commented 6 years ago

@heathcliffYang There is something else going wrong - its not the server, but the client you are using to send the fingerprints. Likely a bug. How did you do the learning?

heathcliffYang commented 6 years ago

I followed your instructions, the only difference is family name.