Commit Graph

277 Commits (c702b9421a2669beee37e1da06477f83cc6325a1)

Author SHA1 Message Date
Peter Johnson c702b9421a
Add hooks for image processing to examples (#27)
Fixes #23.
2019-01-02 23:12:32 -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 d0a2bf8deb
Update dependencies (#25) 2019-01-02 20:33:28 -08:00
Peter Johnson c6a2a7a326
Change hostname from raspberrypi to frcvision (#22)
This will help avoid conflicts with other raspberrypi's that may be on
the local network.
2019-01-01 22:25:11 -08:00
Błażej Sowa 2d70ac83f8 Allow custom deploy zip filename 2019-01-01 22:00:28 -08:00
Błażej Sowa 4a0f5e87b7 Allow custom image filename 2019-01-01 22:00:28 -08:00
Sam Tygier 9436cb7f94 Add commandline argument for config file
A config file can be specified when running build, e.g.:

  ./build.sh myconfig
2019-01-01 22:00:28 -08:00
Sam Tygier c80e5e9100 Allow enabling ssh server from config
Add ENABLE_SSH option
2019-01-01 22:00:28 -08:00
Sam Tygier acb0612ea4 Allow setting up wifi from config
Add WPA_ESSID, WPA_PASSWORD and WPA_COUNTRY options to config.
2019-01-01 22:00:28 -08:00
Sam Tygier bc7971ef03 Allow setting user name and password from config
Add FIRST_USER_NAME and FIRST_USER_PASS variables that can be set
in the config (or enviroment). Defaults to the standard pi and
raspberry.
2019-01-01 22:00:28 -08:00
Peter Johnson 5c8fb97259
Remove NOOBS export (#20) 2019-01-01 22:00:02 -08:00
Peter Johnson d174460384
Add gdb to image (#19) 2018-12-30 11:47:28 -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 170962deff
Enable rPi camera by default (#7)
Fixes #3.
2018-12-28 22:47:31 -06:00
Peter Johnson b1877d5365
Add azure pipeline (#10)
Closes #6.
2018-12-25 15:57:40 -06:00
Peter Johnson 3a1ecb9c97
Add config 2018-12-21 22:33:23 -08:00
Peter Johnson a204f295b9
Remove stage3 and stage4 (#8) 2018-12-21 22:27:03 -08:00
Peter Johnson 7a7125b4f3
Properly symlink supervise in /service/camera/log 2018-12-21 01:24:11 -08:00
Peter Johnson ced1d8b736
Fix zips directory 2018-12-21 00:37:10 -08: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 b674a68516
Ignore multiCameraServer source files
These are copied from allwpilib during build
2018-12-17 00:56:37 -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 bea3ad80b1
Build multiCameraServer 2018-12-11 20:13:14 -08:00
Peter Johnson d37d27d2e1
Update .gitignore 2018-12-11 20:04:11 -08:00
Peter Johnson 98842b6728
Add rpiConfigServer to tools 2018-12-11 20:04:00 -08:00
Peter Johnson 88f549108f
Add java, cpp, and python examples 2018-12-08 00:45:27 -08:00
Peter Johnson 1768bdaa4c
Build external dependencies local to tree 2018-12-03 00:04:18 -08:00
Peter Johnson 4632d11a1e
Tweak cscore.so build a bit 2018-11-30 21:55:41 -08:00
Peter Johnson 26d7b94837
Use service log feature for robust kill/terminate 2018-11-30 21:26:58 -08:00
Peter Johnson 78f99637b9
Add pynetworktables and robotpy-cscore 2018-11-30 21:05:14 -08:00
Peter Johnson a0a68d9a7a
Use netconsoleTee instead of netconsoleServer 2018-11-30 20:03:52 -08:00
Peter Johnson bc480f82ca
Put the jar files in /home/pi/javalibs/ 2018-11-30 20:01:28 -08:00
Peter Johnson e2e18ddbc0
Use setuidgids instead of sudo -u for setting groups 2018-11-30 19:58:54 -08:00
Peter Johnson d0c39e088b
Use sudo instead of setuidpid
This keeps the supplementary groups, most importantly video, which is
needed to access the video devices.
2018-11-30 14:09:18 -08:00
Peter Johnson 90e5ced278
Include the opencv jar in the image. 2018-11-30 12:01:43 -08:00
Peter Johnson 1427b998cc
Put jars in /home/pi so they're on the default classpath 2018-11-30 11:45:19 -08:00
Peter Johnson 363cd449d2
Fix configServer supervise for read only filesystem 2018-11-30 03:22:07 -08:00
Peter Johnson dd04f57093
Various updates, start including rpiConfigServer
* Provide shell script to copy in external dependencies
* Install Python 3 and build-essential
* Install OpenCV libraries including Python 3 bindings
* Install rpiConfigServer as service
* Improve service scripts with exec, netconsoleServer
* Don't include JDK debug info (shrinks zip size a lot)
* Include libraries, headers, and jars for wpiutil, cscore, ntcore
2018-11-30 02:40:39 -08:00
Peter Johnson d687acb744
Initial FRCVision commit. 2018-11-16 00:52:05 -08:00
Tomas Cerskus 4fc1423fdf scripts: do not ignore errors inside on_chroot calls 2018-11-08 12:12:04 +00:00