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
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
sleep 1
|
||||
cd /home/pi
|
||||
exec ./runCamera
|
||||
exec pgrphack setuidgid pi /usr/local/bin/netconsoleServer -u ./runCamera
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /usr/local/sbin/configServer
|
||||
@@ -0,0 +1,2 @@
|
||||
/usr/local/frc/lib
|
||||
/usr/local/frc/third-party/lib
|
||||
@@ -0,0 +1,3 @@
|
||||
/usr/lib/jvm/jdk-11.0.1/lib/jli
|
||||
/usr/lib/jvm/jdk-11.0.1/lib/minimal
|
||||
/usr/lib/jvm/jdk-11.0.1/lib
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo "Waiting 5 seconds..."
|
||||
sleep 5
|
||||
./multiCameraServer
|
||||
exec ./multiCameraServer
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
#!/bin/bash
|
||||
SVCPID=`ps ax | grep runCamera | grep -v grep | cut -c -6 | sed -e 's/ *//g'`
|
||||
sudo svc -d /service/camera
|
||||
if [[ ! -z $SVCPID ]]; then
|
||||
sudo kill $SVCPID
|
||||
sleep 1
|
||||
sudo kill -9 $SVCPID
|
||||
sleep 1
|
||||
fi
|
||||
sleep 1
|
||||
exec ./runCamera
|
||||
|
||||
Reference in New Issue
Block a user