Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
final configs and tools for 2014
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Van der Jeugt committed May 1, 2014
1 parent 469ec7b commit 535ada7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion count-von-count/count-von-count.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
circuitLength: 369
circuitLength: 380
maxSpeed: 12

batonWatchdogLifespan: 30
Expand Down
9 changes: 5 additions & 4 deletions count-von-count/scripts/teams2014.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ main = do
deleteAll db

addStation db "gyrid1" "00:1c:f0:f1:f8:25" 45
addStation db "gyrid2" "00:24:01:eb:c2:68" 141
addStation db "gyrid3" "00:1c:f0:6c:39:32" 220
addStation db "gyrid4" "00:21:91:f1:f1:33" 300
addStation db "gyrid5" "00:24:01:eb:c2:65" 365
addStation db "gyrid2" "00:24:01:eb:c2:68" 120
addStation db "gyrid3" "00:1c:f0:6c:39:32" 190
--addStation db "gyrid4" "00:21:91:f1:f1:33" 300
addStation db "gyrid6" "00:1c:f0:6c:39:3e" 280
addStation db "gyrid5" "00:24:01:eb:c2:65" 370

t1 <- addTeam db "KVHV"
t2 <- addTeam db "Kofschipclubs"
Expand Down
4 changes: 2 additions & 2 deletions tools/boxxy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

send() {
curl -XPUT localhost:8080/state \
echo curl -XPUT localhost:8080/state \
-H 'Content-Type: application/json' \
-u 'count-von-count:tetten' \
-d "$1"
Expand All @@ -9,5 +9,5 @@ send() {
case $1 in
"freeze") send '{"frozen": true}';;
"melt") send '{"frozen": false}';;
"notify") send '{"notification": "'$2'"}';;
*) send "'$*'";;
esac

0 comments on commit 535ada7

Please sign in to comment.