Skip to content

Commit

Permalink
Updated configs
Browse files Browse the repository at this point in the history
  • Loading branch information
CadeBrown committed Apr 20, 2017
1 parent 8ef3c6f commit 143a74e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
8 changes: 1 addition & 7 deletions autostart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &

Expand Down
29 changes: 29 additions & 0 deletions configs/Houston-gearpeg.conf
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 143a74e

Please sign in to comment.