burrow-pi-img/deps/examples/cpp-multiCameraServer
Peter Johnson 9fe4460068
Add NetworkTable-selectable switched camera support (#117)
Fixes #100.

Also expand the newest added camera.
2019-02-18 19:47:05 -08:00
..
main.cpp Add NetworkTable-selectable switched camera support (#117) 2019-02-18 19:47:05 -08:00
Makefile Revamp image to build dependencies as part of stages (#83) 2019-02-02 23:37:18 -08:00
README.txt Bundle Windows make with C++ example (#84) 2019-02-05 20:37:48 -08:00
runCamera Add java, cpp, and python examples 2018-12-08 00:45:27 -08:00

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

1) Run "make"
2) Run "make install" (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
--------------

Install the Raspbian compiler [1] and put it on your PATH.

[1]: https://github.com/wpilibsuite/raspbian-toolchain/releases

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

Run "make"

---------
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 C++ executable" option for Application
3) Click "Browse..." and select the "multiCameraServerExample" executable in
   your desktop project directory
4) Click Save

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