Collecting measurements is an important stage in indoor localization preparations. To perform the procedure, you need one mobile device with T.Flex installed. At this time, we recommend using T.Flex Android for the purpose, because T.Flex iOS doesn't yet have feature parity with it. This topic describes working with T.Flex Android.
To collect measurements from the mobile client, take the following steps:
- Log into T.Flex.
- Make sure Wi-Fi or Bluetooth, or both, and GPS enabled on the device and provided to application.
- Go to the Indoor Localization menu.
- Select Training mode from options.
- Select the level to collect measurements for.
- If necessary, select Change grid step from options (the default is 12 rows or 2 meters if the map size allows).
- Go to the collection point and select it on screen.
- Tap Start to begin collecting measurements.
- At least 5 measurements need to be collected before the Stop button appears. (10 to 15 measurements per point is recommended).
- If necessary, you can tap the Cancel button to discard collected measurements and return to point selection. Do this only if the device turns off, reboots or otherwise malfunctions during collection.
- Points that have saved data are green and always visible no matter the grid step. In the event of some mistake during collection, you can select a point with collected data and delete the data by selecting Discard not sent data from the options. This works only for data that has not yet been sent to the server.
- Repeat the collection process until all the required data has been collected.
- If necessary, use the Export not sent data action. It can be useful to have a copy of collected measurements. The copy will be saved locally. On an Android device, it goes to the /android/data/com.tassta.flex/files/IndoorTrainingExport directory. On iOS, the destination path can be specified. The resulting data can be sent by email or shared by other means.
Files are split so they don't exceed 500 measurements per file.
- When collection finishes, tap Send to send collected measurements to server. On Android, progress is displayed in chunks of 50. On iOS, a counter shows the number of requests sent to the server. Points that are available on the server are blue and always visible no matter the grid step.
- You can add additional measurements to both green and blue points. Measurements are added, not replaced.
- On Android devices, measurements are not deleted after being sent to the server and can be retrieved from the device if needed. To fully delete them, use the Clear sent data cache option while in Training mode.
- Use the Go to location option to return from Training mode.
Notes About Taking Measurements
- In Bluetooth or Mixed mode, use iBeacon on T.Flex Android to collect measurements faster.
- Do not use Mixed mode if iOS devices are used on the same server port.
- Wi-Fi and Bluetooth sensitivity can vary from device to device, so it is recommended that you collect measurements with the same device model that will be used for regular work. To determine devices with similar sensitivity, use apps like Wifi Analyzer, BeaconSet, or kontakt.io. If a signal is -80 dBm or stronger, we consider that a good enough value for reception.
- Collect measurements at normal height, meaning around an average person's chest height.
- Do not change beacon settings if measurements have already been collected.
- Special iBeacon settings that are part of the UUID are not used for indoor localization. You only need to make sure the UUID is different for each iBeacon.
- The more evenly you distribute the signal sources (Wi-Fi access points and Bluetooth beacons), the better the resulting accuracy. Mobile devices should preferably receive good signal from at least 3 sources.
- Avoid positioning signal sources near microwave devices.
- If possible, position Bluetooth beacons high (attach them to the ceiling or walls) to avoid obstacles that can decrease the signal level.
- To increase accuracy for Bluetooth beacons, signal strength may require adjustment depending on distance between the beacons to follow the previous recommendation. If you put beacons further apart, signal strength can be increased.
- It is advised that you collect at points that are no more than 2 meters apart.
- A minimum of 5 measurements are collected per point (this is the minimum value before collection can be stopped). Consider making 10–15 measurements.
- For adjacent rooms separated by walls, to determine the room correctly, collect points near walls from both sides of the wall. Collecting near the wall in one adjacent room and not doing so in the other can lead to positioning in the wrong room.
- Avoid collecting data during some non-typical situations in rooms such as turned on microwave ovens nearby, unusually high numbers of people with devices changing their position or opened doors that are normally closed.
- If a mistake occurs during collection at a point, collection can be canceled. If the data is saved already, you can remove the collected data for the point in the options menu. If the data has already been sent to the server, it can be removed by the T.Rodon dispatcher.
- Export options on mobile devices allow users to have a copy of collected measurements before sending them to the server. This can be useful in the event of a network issue or if the same data needs to go to multiple servers.