Skip to content

kerkerj/gundam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gundam

Gundam is the most destructive robot! It conquers the world with Go and Sphero.

This is forked from jingweno/gundam ( YouTube Video )

Updated this repo to latest Sphero library.

###Latest library used from gobot.io

github.com/hybridgroup/gobot
github.com/hybridgroup/gobot/platforms/sphero

###Run

$ go build
$ PORT=/dev/tty.Sphero-RGG-AMP-SPP ./gundam #This is my device port, change to yours
2014/01/31 13:51:09 Initializing connections...
2014/01/31 13:51:09 Initializing connection  sphero ...
2014/01/31 13:51:09 Initializing devices...
2014/01/31 13:51:09 Initializing device  Gundam ...
2014/01/31 13:51:09 Starting connections...
2014/01/31 13:51:09 Starting connection sphero...
2014/01/31 13:51:09 Connecting to sphero on port /dev/tty.Sphero-ORY-AMP-SPP...
[martini] listening on host:port :3000
Starting connections...
Starting connection sphero...
Connecting to sphero on port /dev/tty.Sphero-ORY-AMP-SPP...
Starting devices...
Starting device sphero...
Device sphero started

$ curl -X PUT localhost:3000/rgb/255,0,0 #change color
ok

###Scripts - change colors every 1 second

$ ./ranbow.sh
or 
$ ruby infinity_ranbow.rb

###TODO

  • Add motions

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.2%
  • Shell 4.3%
  • Ruby 2.5%