burrow-pi-img/deps/examples/java-multiCameraServer
Peter Johnson 43c710ec39
Build wpilib with cmake instead of gradle (#15)
* Move java lib install to /usr/local/frc/java
* Build and install both debug and normal OpenCV libraries
* Install OpenCV cmake files
* Build OpenCV Java with version 8 target
* Build static OpenCV for static allwpilib binaries
* Move netconsoleTee install to /usr/local/frc/bin
* Move multiCameraServer default app install to /usr/local/frc/bin
* Install more FRC binaries
* Fix /home/pi/zips/java-multiCameraServer.zip owner to pi:pi
* Remove azure 60 minute timeout
* Add openjdk-8-jdk to Azure docker image (this is needed for cmake to find javah as only cmake 3.9 is available)
2018-12-30 02:07:22 -08:00
..
gradle/wrapper Add java, cpp, and python examples 2018-12-08 00:45:27 -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.