burrow-pi-img/deps/examples/java-multiCameraServer
Peter Johnson 0e9d2fbb99 Set connection strategy to keep open
Apply to both default camera server and examples.
2019-01-11 01:13:09 -08:00
..
gradle/wrapper Add java, cpp, and python examples 2018-12-08 00:45:27 -08:00
src/main/java Set connection strategy to keep open 2019-01-11 01:13:09 -08:00
build.gradle Build wpilib with cmake instead of gradle (#15) 2018-12-30 02:07:22 -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
README.txt 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

=======================
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.


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

One time setup
--------------

Copy the .jar files from /home/pi/javalibs on the Pi to the source directory.

Building
--------

1) Run "./gradlew build"
2) Copy build/libs/java-multiCameraServer-all.jar and runCamera to /home/pi on
   the Pi.  Note: the .jar filename may be different; if it is, either rename
   when copying to the Pi or edit runCamera to reflect the new jar name.
3) On the Pi, run "./runInteractive" in /home/pi or
   "sudo svc -t /service/camera" to restart service.