2018-12-08 08:41:12 +00: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
|
|
|
|
===================
|
|
|
|
|
2019-01-11 21:21:20 +00:00
|
|
|
--------------
|
2018-12-08 08:41:12 +00:00
|
|
|
One time setup
|
|
|
|
--------------
|
|
|
|
|
2019-01-11 21:21:20 +00:00
|
|
|
Install the Raspbian compiler [1] as well as GNU make [2].
|
2018-12-08 08:41:12 +00:00
|
|
|
|
|
|
|
[1]: https://github.com/wpilibsuite/raspbian-toolchain/releases
|
2019-01-11 21:21:20 +00:00
|
|
|
[2]: (windows) http://gnuwin32.sourceforge.net/packages/make.htm
|
2018-12-08 08:41:12 +00:00
|
|
|
|
2019-01-11 21:21:20 +00:00
|
|
|
--------
|
2018-12-08 08:41:12 +00:00
|
|
|
Building
|
|
|
|
--------
|
|
|
|
|
2019-01-11 21:21:20 +00:00
|
|
|
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
|
2018-12-08 08:41:12 +00:00
|
|
|
|
2019-01-11 21:21:20 +00:00
|
|
|
The application will be automatically started. Console output can be seen by
|
|
|
|
enabling console output in the Vision Status tab.
|