-
Notifications
You must be signed in to change notification settings - Fork 1
Software Startup Checklist
hydrogen602 edited this page Apr 21, 2019
·
10 revisions
- start up server in new terminal window ->
python ~/server.py - start up client in new terminal window ->
python ~/hydrogenClient_surface.py - ssh into motor pi in new terminal window ->
ssh pi@192.168.1.4password: raspberry - start up client in ssh session ->
python ~/hydrogenClient_motor.py - ssh into camera pi in new terminal window ->
ssh pi@192.168.1.3password: raspberry - start up data collection in ssh session ->
/var/www/scripts/dataCollection.sh start - open a browser (chromium)
- in a new tab go to
192.168.1.3/dataSheet.html - in a new tab go to
192.168.1.3/status.html - if
192.168.1.3/status.htmldoes not displayStatus: Running, then do step 6 again
If steps 6 and 10 are a problem (i.e. the code is not running properly), check both the log files in /var/log/MATE/ and /var/www/scripts/nohub.out for errors. Startup errors tend to show in nohub.out, while runtime errors show up in logs in /var/log/MATE/.
Note: On Camera Pi, the pins that the temperature probe used to use have been damaged so w1 has been configured to use another pin
- ssh into camera pi in new terminal window ->
ssh pi@192.168.1.3password: raspberry - stop data collection in ssh session ->
/var/www/scripts/dataCollection.sh stop - close the browser (chromium)
- press ^Z (control-Z) in the two hydrogenClient terminal windows
- press ^C (control-C) in the server.py window
- kill leftover processes ->
killZombies