platisd / indoor-navigation-system

[WIP] An indoor navigation system to guide users towards their colleagues' desks
Apache License 2.0
15 stars 13 forks source link

INS node position resolution missing #87

Open platisd opened 6 years ago

platisd commented 6 years ago

Description

As an INS node I should instruct the server to resolve my position after I am done transmitting the RSSI values. On how to do that, please refer to Trigger position calculation for device section of the server/README.md. also: ask the server to resolve position some fixed period

Definition of Done

lexious89 commented 6 years ago
platisd commented 6 years ago

Do you mean to have a timer on the server? I think it's supposed to be stateless. What do you think @samup4web

lexious89 commented 6 years ago

Yes, it is stateless in relation to the ins nodes. But the server knows how long it has been running. This is needed because if it is the first time the insnode is transmitting data and it happens to loose connection or something goes wrong so that the location table in ins_db is empty for that device, any front end get-position request will yield unpredictable results - a nan in the localization process, whilst in fact the data is available for localization.

platisd commented 6 years ago

Sounds good to me