Update example README.txt files (#57)
* C++ libraries are now included in the downloaded zip * It's no longer necessary to override CXX
This commit is contained in:
+20
-9
@@ -12,22 +12,33 @@ Building locally on rPi
|
||||
Building on desktop
|
||||
===================
|
||||
|
||||
--------------
|
||||
One time setup
|
||||
--------------
|
||||
|
||||
Install the Raspbian compiler [1] as well as GNU make.
|
||||
Install the Raspbian compiler [1] as well as GNU make [2].
|
||||
|
||||
[1]: https://github.com/wpilibsuite/raspbian-toolchain/releases
|
||||
[2]: (windows) http://gnuwin32.sourceforge.net/packages/make.htm
|
||||
|
||||
The lib and include directories from the Pi /usr/local/frc/ directory must
|
||||
be copied to the desktop machine. Edit the Makefile to change
|
||||
/usr/local/frc/lib and /usr/local/frc/include to the local desktop locations.
|
||||
|
||||
--------
|
||||
Building
|
||||
--------
|
||||
|
||||
1) Run "make CXX=arm-raspbian9-linux-gnueabihf-g++"
|
||||
2) Copy multiCameraServerExample and runCamera to /home/pi on the Pi
|
||||
3) On the Pi, run "./runInteractive" in /home/pi or
|
||||
"sudo svc -t /service/camera" to restart service.
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user