From 143a74e94cca3502cd41eddc31300c2a62bddfb5 Mon Sep 17 00:00:00 2001 From: CadeBrown Date: Wed, 19 Apr 2017 20:49:54 -0400 Subject: [PATCH] Updated configs --- autostart.sh | 8 +------- configs/Houston-gearpeg.conf | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 configs/Houston-gearpeg.conf diff --git a/autostart.sh b/autostart.sh index 9014cd4..036a8e1 100755 --- a/autostart.sh +++ b/autostart.sh @@ -6,15 +6,9 @@ export PUNKVISION=/home/pi/punkvision # Camera 0, and 1 -/usr/bin/env python ${PUNKVISION}/src/punk.py --source /dev/video0 --stream 5802 --config ${PUNKVISION}/configs/test.conf & +/usr/bin/env python ${PUNKVISION}/src/punk.py --source /dev/video0 --stream 5802 --config ${PUNKVISION}/configs/Houston-gearpeg.conf & #/usr/bin/env python ${PUNKVISION}/src/punk.py --source /dev/video1 --stream 5803 --config ${PUNKVISION}/configs/SMR-gearpeg.conf & -#Use this for serial connection to arduino UNO -#/usr/bin/env python ${PUNKVISION}/leds/interface.py --serial /dev/ttyACM0 & - -#Use this for ethernet connection to arduino Ethernet -#/usr/bin/env python ${PUNKVISION}/leds/interface.py & - #Reads from lidar #/usr/bin/env python ${PUNKVISION}/src/lidar.py --publish & diff --git a/configs/Houston-gearpeg.conf b/configs/Houston-gearpeg.conf new file mode 100644 index 0000000..f3c7b51 --- /dev/null +++ b/configs/Houston-gearpeg.conf @@ -0,0 +1,29 @@ +### +# +# +# +### + +args.H = (60, 80) +args.S = (68, 255) +args.L = (32, 50) + +# exposure should be very low for MS lifecam. You'll need to try different values +args.exposure = .01 + +# FPS cap of 100 +args.fps = 100 + +# streams to raspberrypi.local:X +#args.stream = 5802 + +# blur 3x3 is normally good, or 2x2 +args.blur = (3, 3) +# will resize or ask for smaller image +args.size = (320, 240) + +# the IP address +args.publish = "roboRIO-3966-frc.local" +# the table +args.table = "vision/gearpeg" +