Clojure implementation of TURKEY code for 2014-2015 FRC 3501
Clojure Shell Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
resources
src/elisabet
test/elisabet
.gitignore
.travis.yml
LICENSE
Makefile
README.md
deploy
project.clj

README.md

Travis build status

What is this?

Clojure code for a simple FIRST FRC robot using the WPILib libraries for robot communication. As Clojure runs on the JVM, we can take advantage of those libraries with ease.

This should be the functional equivalent (ha ha!) of the TURKEY code.

The name elisabet originated from the song Elisabet by Emiliana Torrini.

Setup

git clone the project. Install Leiningen.

Edit the ./deploy script and change "3501" to your team number.

Add the following to ~/.lein/profiles.clj:

{:user {:plugins [[cider/cider-nrepl "0.10.0-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.7"]]}}

Build and Deploy

# creates uberjar and uploads to roborio at `roboRIO-3501.local`
./deploy
IMPORTANT NOTES
  • Once the script says the deploy succeeded, you will have to wait 10-30 seconds for the "Robot Code" light on the Driver Station to go green.

License

This project is licensed under the GNU GPLv3 so that teams can share their discoveries and experiences in using Clojure with other teams, that everyone may gain. Clojure is a non-standard and unsupported language for the FIRST FRC competition, and as such the more examples the better.

Why

I've just received word that the Emperor has dissolved the MIT computer science program permanently.