-
Notifications
You must be signed in to change notification settings - Fork 0
/
note.txt
31 lines (19 loc) · 1.03 KB
/
note.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# sync source code to Raspi
rsync -vrtzh --delete /Users/jowsingchue/Data/working/code/sproject pi@192.168.1.171:/home/pi/code
# sync to AMR server
rsync -vrtzh --delete /Users/jowsingchue/Data/working/code/sproject/tracking-system/server/flask/. root@183.90.171.55:~/code/btsdemo-server/app
rsync -vrtzh --delete ~/work/sproject/tracking-system/server/flask_v2/ root@183.90.171.55:~/btsserver/
# sync log file from AMR server
rsync -vrtzh --delete root@183.90.171.55:~/code/btsdemo-server/app/log /Users/jowsingchue/Data/working/code/sproject/tracking-system/server
rsync -chavzP --stats root@183.90.171.55:~/code/btsdemo-server/app/log /Users/jowsingchue/Data/working/code/sproject/tracking-system/server
# how to measure sampling rate
write to file (sd card) for a specific period (say 5 second) and count lines
# real-time streaming
UDP Protocol
# kill background process
pgrep python
kill ####
# check what are using port 80
lsof -i :80
# run script in Raspi
sudo python ~/Code/sproject/raspi/python/PyComms/MPU6050/Examples/6axis_dmp.py