Skip to content

Commit ddaeea4

Browse files
committed
Update readme
1 parent efb80ef commit ddaeea4

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,21 @@
2222
~~~
2323
>pip install paho-mqtt
2424
~~~
25-
4.Run Main.py
25+
4.Create a single line text file named 'server.conf' on the parent directory of Main.py.
26+
~~~
27+
server.conf
28+
[Format] ipaddress&port&username&password
29+
[Example] 160.16.xxx.xxx&61613&admin&password
30+
~~~
31+
5.Run Main.py
2632
~~~
2733
>python Main.py
2834
~~~
29-
5.Start Android App
35+
6.Start Android App
3036

31-
6.Now the program is receiving sensor data and estimate smartphone location, also publishing it to MQTT broker.
37+
7.Now the program is receiving sensor data and estimate smartphone location, also publishing it to MQTT broker.
3238

33-
7.If you want to save estimated data as CSV, run GetOutputData.py
39+
8.If you want to save estimated data as CSV, run GetOutputData.py
3440
~~~
3541
>python ./data/GetOutputData.py
3642
~~~
@@ -73,15 +79,21 @@
7379
~~~
7480
>pip install paho-mqtt
7581
~~~
76-
4.Main.pyを起動
82+
4.'server.conf'という名前のファイルをMain.pyの親ディレクトリに作成する
83+
~~~
84+
server.conf
85+
[フォーマット] ipaddress&port&username&password
86+
[例] 160.16.xxx.xxx&61613&admin&password
87+
~~~
88+
5.Main.pyを起動
7789
~~~
7890
>python Main.py
7991
~~~
80-
5.Androidアプリを起動
92+
6.Androidアプリを起動
8193

82-
6.センサデータを受信し、位置の推定が始まります。推定結果はMQTTブローカーに送信されます。
94+
7.センサデータを受信し、位置の推定が始まります。推定結果はMQTTブローカーに送信されます。
8395

84-
7.推定結果をCSVファイルに保存したい場合は、GetOutputData.pyを起動
96+
8.推定結果をCSVファイルに保存したい場合は、GetOutputData.pyを起動
8597
~~~
8698
>python ./data/GetOutputData.py
8799
~~~

0 commit comments

Comments
 (0)