WiFiPS

WiFi Based Indoor Positioning System, A MVP android Application

Github星跟踪图

WiFi Based Indoor Positioning System

A MVP android application which is able to estimate the position of a user within a building using WiFi technology. For better understanding this project, we recommend you to go through the docs folder of this repository.

Setting up

  • Install Android Studio
  • Clone or Download project from this url http://github.com/ajnas/wifips
  • From Android Studio, click on Open project and select the android-client folder inside the downloaded project.

Testing the App

  • Download Demo App to your android phone or run the imported code from Android Studio to your device.
  • Turn on WiFi
  • Go to some building were at least 3 wifi access points are available.

Learn/Calibrate

  • Choose the 'Learn' option from the first screen.
  • Enter a name for the new building and press Add
  • Select wifi access points that are permanent inside the building using the 'Friendly Wifis' button. Do not forget to save changes after adding all such access points.
  • Now you need to find different distinguishable positions inside the building. For better results, choose different rooms inside the building as different positions.
  • Name the position and press calibrate button.
  • The scanning starts after you press start button. Time for scanning is set as 30 seconds.
  • Once the scanning of one position is complete, go to another position and repeat the procedure
  • Swipe left/right on a position name to remove a position from the list.
  • You can re-calibrate a position by clicking on a position again.
  • Once you have added enough positions inside the building, press the update button to sync this readings to server, so that this data can be used from other devices as well.

Locate

  • Choose the 'Locate' option from the first screen.
  • Choose the building where you want to locate your position.
  • Press start button and complete the scanning process.
  • Your position obtained from the calculations are displayed in the screen.

Syncing data to server [OPTIONAL]

  • Create MYSQL database with tables to store readings and list of access points. Please refer this file for necessary schema details
  • Setup a php server with backend code included in this project and host it on your own server. It uses Slim framework.
  • Change the BASE_URL in android code to your server url in Config.java file
  • Run app to your Android device from Android Studio
  • Use the 'Sync' button in the first screen to load the buildings from the server. The readings taken from other devices are also displayed.

How to Contribute

  • Fork the repo
  • Commit changes to a branch in your fork
  • Pull request with your changes

Developers

Ajnas and Jazeem. Feel free to contact us in case of any issue while setting up/testing.

主要指标

概览
名称与所有者ajnas/WiFiPS
主编程语言Java
编程语言Java (语言数: 2)
平台
许可证
所有者活动
创建于2015-04-16 11:24:45
推送于2021-04-29 21:56:53
最后一次提交2019-05-25 16:00:40
发布数0
用户参与
星数130
关注者数15
派生数72
提交数46
已启用问题?
问题数2
打开的问题数1
拉请求数5
打开的拉请求数1
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?