-
Notifications
You must be signed in to change notification settings - Fork 64
Networking Notes
John De Witt edited this page Apr 4, 2018
·
5 revisions
There are five programs that communicate over the network to make data collection happen in SLTK; each could potentially be at a different IP address.
There are three places to change network addresses/ports:
-
ports.h
-
SERVER_CONTROL_ADDRESS
: computer runningslcapture.py
-
-
slcapture.py
(top of file)-
cam_server_addr
: computer runningmjpg-streamer
-
display_server_addr
: computer runningsldisp
-
GUI_server_addr
: computer runningslcontrol.pde
-
-
slcontrol.pde
(top of file)-
remoteControl
: computer runningslcapture.py
-
remoteDisplay
: computer runningsldisp
-
-
slcapture.py
(main program)-
IN:
-
8080
: images frommjpg-streamer
-
4010
: scan parameter and trigger fromslcontrol
-
4010
: status updates fromsldisp
-
4040
: status updates fromslturn
-
-
OUT:
-
4011
: progress update toslcontrol
-
4021
: pattern requests tosldisp
-
4041
: rotation requests toslturn
-
-
IN:
-
mjpg-streamer
(camera)-
OUT:
-
8080
: JPG images toslcapture
-
-
OUT:
-
sldisp
(projector)-
IN:
-
4021
: pattern requests fromslcapture
,slcontrol
-
-
OUT:
-
4010
: status updates toslcapture
-
-
IN:
-
slcontrol
(GUI)-
IN:
-
4011
: progress update fromslcapture
-
-
OUT:
-
4010
: scan parameters and trigger toslcapture
-
4021
: pattern requests tosldisp
-
-
IN:
-
slturn
(turntable)-
IN:
-
4041
: rotation requests fromslcapture
-
-
OUT:
-
4040
: progress update toslcapture
-
-
IN: