[go: up one dir, main page]

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

Application to count laps based on bluetooth dongle detection.

Notifications You must be signed in to change notification settings

12urenloop/cvc

Repository files navigation

12urenloop Build Status Coverage Status Analytics

TL;DR: People run laps. We count, give them points and monitor it all.

This software is made for the yearly 12urenloop event. Small embedded computers with Bluetooth sensors running Gyrid are placed around the circuit and forward information on detected Bluetooth devices (i.e. our batons).

count-von-count

Count-von-count is the central component of the application. It analyzes incoming detection events and counts the rounds that were run, paying special attention to incomplete or irregular data. Teams automatically receive points for each round but can also receive points for special rounds or through other operator actions (Cheating? We'd never!).

All information and actions are permanently stored and can be replayed through the application. APIs to access this information are offered for other tools and score displays.

More information

boxxy

Boxxy is an application-level proxy server which receives information from count-von-count and distributes it again to a larger number of clients through websockets.

More information

Utilities and other programs

pokemon

Demo application that generates detection events and sends them to a count-von-count process.

To run, install LÖVE and run love . from the pokemon-directory or love pokemon from the repository root.

tools/data-analysis

Checks the gathered data for inconsistencies.

tools/dj-ratings.rb

Counts the SMS-votes for the DJ-contest.

tools/heartbeat.sh

Runs a series of checks on each monitored host and sends a heartbeat signal to sihemo.

tools/macalive.sh

Checks if a bluetooth device is still alive using the hcitool command. Used to assess the lifetime of our batons.