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`
./deployIMPORTANT 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.
