burrow-pi-img/deps/examples/java-multiCameraServer
Peter Johnson c36a761a33
Java example README: note that Java 11 is required (#68)
2019-01-13 17:44:38 -08:00
..
gradle/wrapper Add java, cpp, and python examples 2018-12-08 00:45:27 -08:00
src/main/java Add stream settings to webdash and examples (#61) 2019-01-13 16:59:08 -08:00
README.txt Java example README: note that Java 11 is required (#68) 2019-01-13 17:44:38 -08:00
build.gradle Build wpilibc and wpilibj and include in image (#54) 2019-01-11 13:13:15 -08:00
gradlew Add java, cpp, and python examples 2018-12-08 00:45:27 -08:00
gradlew.bat Add java, cpp, and python examples 2018-12-08 00:45:27 -08:00
install.sh Add java, cpp, and python examples 2018-12-08 00:45:27 -08:00
runCamera Add java, cpp, and python examples 2018-12-08 00:45:27 -08:00

README.txt

===================
Building on desktop
===================

--------
Building
--------

Java 11 is required to build.  Set your path and/or JAVA_HOME environment
variable appropriately.

1) Run "./gradlew build"

---------
Deploying
---------

On the rPi web dashboard:

1) Make the rPi writable by selecting the "Writable" tab
2) In the rPi web dashboard Application tab, select the "Uploaded Java jar"
   option for Application
3) Click "Browse..." and select the "java-multiCameraServer-all.jar" file in
   your desktop project directory in the build/libs subdirectory
4) Click Save

The application will be automatically started.  Console output can be seen by
enabling console output in the Vision Status tab.

=======================
Building locally on rPi
=======================

1) Run "./gradlew build"
2) Run "./install.sh" (replaces /home/pi/runCamera)
3) Run "./runInteractive" in /home/pi or "sudo svc -t /service/camera" to
   restart service.