/openbadge

My working fork of the Rhythm OpenBadge project for the MIT Media Lab Human Dynamics group

Primary LanguageCMIT LicenseMIT

OpenBadge project

Welcome to the Open Badge project, an open-source framework and toolkit for measuring and shaping face-to-face social interactions using either custom hardware devices or smart phones, and real-time web-based visualizations. Open Badges is a modular system that allows researchers to monitor and collect interaction data from people engaged in real-life social settings. For more information, please read our publication or visit our wiki.

Additional repositories that are part of this project:

Badge

Docker wrapper

The nRF working environment is now available as a Docker container. The following commands have been tested under Ubuntu linux, but should work under iOS as well (with some modifications, especially to the device names).

Important notes:

  1. The badge must be connected to the programmer before starting the docker (using docker-compose run)
  2. Docker will mount the project directory under /app inside the container, so the container can see the latest changes (no need to build the container after every code change)

Commands:

  • docker-compose build : builds the docker container "nrf". You must run this command at least once before calling docker-compose run.
  • docker-compose run nrf : where is a command to run inside the container.
    • When calling make (e.g. make badge_03v4_noDebug flashUnlock flashErase flashS130 flashAPP), the script will automatically change the working directory to the data_collector directory. You can see the different make options by calling: "docker-compose run nrf make"
  • docker-compose run nrf bash : opens an interactive bash shell
  • ./programming_loop_docker.sh [test/prod] : a utility used for programming a batch of badges. It will compile once, and then enters a loop. Each time a new badge is placed, it will be automatically programmed and its MAC address will be written to the macs.log file. For most purposes, use the "prod" command variables. The "test" option turns on serial output and other testing features and is not recommended for production.