Skip to content

Running

Finlay Maroney edited this page Jan 28, 2020 · 2 revisions

Running

Running for non robot purposes

To run vision either execute Main.java (inside Eclipse) or run cd output/, then ./runMergeVision (Linux) or runMergeVision.bat (Windows), note that the visionParams.properties and master.cf must be in the directory that you run vision from.

Running on a pi

To run vision on a pi is is super easy. First run ./pi_scripts/installVisionProcessOnPi.sh [ip address] to install the vision service to a pi, then run ./pi_scripts/pushCodeToPi.sh [ip address]

After the program is installed and running on the raspberry pi it can be restarted using ./pi_scripts/restartVisionProcessOnPi.sh [ip address], you can push configuration changes using ./pi_scripts/pushVisionParamsToPi.sh [ip address], and if you want to uninstall vision you can run ./pi_scripts/uninstallVisionProcessOnPi.sh (note that it does not remove the vision code/config from the pi, it only removes the service)

Clone this wiki locally