Skip to content

jamesob/create.clj

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
Programming an iRobot Create driver in Clojure is a horrible idea.

    gcc serialdaemon.c -o sd
    ./sd -serial /dev/cu.KeySerial1 -port [someport] -baud 57600

    clj
    user=> (load-file "create.clj")
    user=> (def bot (ref (create/init [someport])))
    user=> (create/update-sensors! bot)
	
	;; note the ugly dereference here
    user=> (create/go @bot 10)
    user=> (create/go @bot)
    user=> (create/go @bot 10 10)
    ...

bang bang, clap clap

About

A driver for the iRobot Create, written in Clojure. Not complete, by any means.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published