Skip to content

Commit 40cae49

Browse files
committed
Some docs update
1 parent 5ea27f8 commit 40cae49

File tree

1 file changed

+57
-5
lines changed

1 file changed

+57
-5
lines changed

README.md

Lines changed: 57 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,69 @@ If you use this application, please cite [Sub-millisecond Video Synchronization
1111
primaryClass={cs.CV}
1212
}
1313
```
14-
### Usage:
14+
## Usage:
1515

16+
### Network setup
1617

17-
#### Leader smartphone setup
18+
(Use img from the slides)
19+
20+
Cable connect the PC and the Master device
21+
22+
* Configure the ethernet adaptor of your PC
23+
* Static IP: 192.168.5.1
24+
* Mask: 255.255.255.0
25+
* Gateway 192.168.5.1
26+
27+
* Configure the Master with an Ethernet adaptor and set it to:
28+
* Static IP: 192.168.5.2
29+
* Mask: 255.255.255.0
30+
* Gateway 192.168.5.1
31+
32+
Check the Ethernet connection with Ping.
33+
E.g., from the PC, in a terminal
34+
35+
```
36+
ping 192.168.5.2
37+
38+
64 bytes from 192.168.5.2: icmp_seq=347 ttl=125 time=2.425 ms
39+
64 bytes from 192.168.5.2: icmp_seq=348 ttl=125 time=2.233 ms
40+
64 bytes from 192.168.5.2: icmp_seq=349 ttl=125 time=7.560 ms
41+
64 bytes from 192.168.5.2: icmp_seq=350 ttl=125 time=2.288 ms
42+
```
43+
44+
### Leader smartphone setup
1845

1946
1. Start a Wi-Fi hotspot.
20-
2. The app should display connected clients and buttons for recording control
47+
2. Start tha app
48+
49+
### Clients smartphones setup
50+
51+
1. Enable WiFi and connect to the Wi-Fi hotspot.
52+
2. Start the app
53+
54+
The master app should display now the connected clients and buttons for recording control
55+
56+
57+
#### Remote Controller on the connected PC
58+
59+
If not done yet, setup a python environment using Python 3.7+ (This is needed only the first time)
60+
61+
```
62+
cd Remote Controller
63+
python3 -m venv p3env-RecSynchNG
64+
source p3env-RecSynchNG/bin/activate
65+
pip install -r requirements.txt
66+
```
67+
68+
To use it, activate the environment and run the remote controller (App must be already running on the _master_ Android device)
69+
70+
```
71+
cd RemoteController
72+
source p3env-RecSynchNG/bin/activate
73+
python remote_controller.py
74+
```
2175

22-
#### Client smartphones setup
2376

24-
1. Enable WiFi and connect to the Wi-Fi hotspot.
2577

2678
#### Recording video
2779

0 commit comments

Comments
 (0)