Commit Graph
28 Commits
Author SHA1 Message Date
Peter Johnson c85fd9f33c Revamp image to build dependencies as part of stages (#83)
Fixes #17.

Stage 2 is fairly minimal, stage 3 builds/installs OpenCV and WPILib et al, and stage 4
builds/installs the FRCVision webdash and adds the vision examples.

Other changes:
- OpenCV compiled with ffmpeg, OpenBLAS, and libgtk (fixes #79, fixes #80)
- OpenBLAS added to image (fixes #65)
- C++ Makefile is more easily extensible (fixes #71)
- Sources for everything are bundled into image into /usr/src
- README updated (fixes #16)
- pkg-config files for wpilibc et al are now installed and C++ Makefile uses them (if compiled local to Pi)
- Both dynamic and static libs are included in image

The only downside of all these changes (particularly the ffmpeg, OpenBLAS, and libgtk inclusion)
is the image size is now over 3GB (800MB compressed). The previous image didn't quite fit on a
2GB card however.
2019-02-02 23:37:18 -08:00
Peter Johnson 08163c0681 Fix ordering between CameraServer.getInstance and UsbCamera creation (#69)
If the CameraServer instance is started after the UsbCamer is created, it
never gets the source created event to actually build the NetworkTable table.
2019-01-13 21:23:44 -08:00
Peter Johnson 03dae15ddf Add stream settings to webdash and examples (#61) 2019-01-13 16:59:08 -08:00
Peter Johnson 4d2e328b12 List available cameras on web dashboard (#63)
- Available cameras can be added with a specific path
- Individual cameras show connection status
- Individual cameras show a list of alternate paths
2019-01-13 15:44:59 -08:00
Peter Johnson b0ecb03407 Handle large file uploads (#62)
Previously the upload function only handled files of less than 128 KB.
2019-01-11 23:14:41 -08:00
Peter Johnson f511557b89 Default Python output to unbuffered (#52) 2019-01-11 03:20:41 -08:00
Peter Johnson f904336fb8 Build multiCameraServer as part of "all" target (#56) 2019-01-11 03:18:55 -08:00
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
Peter Johnson 3f2ab23563 Move default multiCameraServer from allwpilib to tools 2019-01-11 01:13:09 -08:00
Peter Johnson e78e471f97 Fix application directory for on-Pi examples (#47) 2019-01-11 01:11:03 -08:00
Peter Johnson bb71953788 Convert windows EOL to unix EOL in Python uploads (#48) 2019-01-11 01:10:37 -08:00
Peter Johnson 319af970ba Fix copy camera settings (#30) 2019-01-03 15:58:19 -08:00
Peter Johnson aaf6f88c9c Add button to copy camera settings from camera (#26)
Fixes #24.
2019-01-02 22:31:55 -08:00
Peter Johnson c73d97c9aa Fix java example download (#18)
The socket needed to be in blocking mode for sendfile to work with large
file lengths.
2018-12-30 09:12:12 -08:00
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
Peter Johnson 0c1008defa Set UID, GID, and executable bits on uploaded application (#12)
Also remove old application rather than replacing directly, so it can be replaced while running.
2018-12-30 00:13:52 -08:00
Peter Johnson de6f59548a Persist vision log enabled setting on client side (#13) 2018-12-28 22:48:07 -06:00
Peter Johnson 2c8ecf21b5 Add application uploading 2018-12-21 00:08:34 -08:00
Peter Johnson a6b151e7bd Fix vision settings save 2018-12-20 14:13:11 -08:00
Peter Johnson 1e09760688 Move FRC_JSON and DHCPCD_CONF to Makefile 2018-12-20 13:36:38 -08:00
Peter Johnson c559efc53a Implement vision settings and start adding app settings 2018-12-20 13:26:14 -08:00
Peter Johnson ee8ffe0636 rpiConfigServer: Force brand icon to fixed size
This fixes the size across all browsers.
2018-12-18 22:17:19 -08:00
Peter Johnson af4bf84185 frcvision.js: Fix tabs vs spaces 2018-12-17 02:15:11 -08:00
Peter Johnson 8d2e358ea3 rpiConfigServer: add gnu-debuglink 2018-12-17 01:54:20 -08:00
Peter Johnson e33285763c rpiConfigServer: Add NetworkSettings, other cleanups 2018-12-17 00:54:25 -08:00
Peter Johnson 7b78c412b0 Update rpiConfigServer formatting 2018-12-14 16:36:56 -08:00
Peter Johnson 98842b6728 Add rpiConfigServer to tools 2018-12-11 20:04:00 -08:00
Peter Johnson 1768bdaa4c Build external dependencies local to tree 2018-12-03 00:04:18 -08:00