Closed whoisjake closed 11 years ago
Also:
$ gem list | grep -E "sphero|hybrid|artoo"
artoo (1.0.0)
artoo-leapmotion (0.1.2)
artoo-roomba (1.0.0)
artoo-sphero (1.0.0)
hybridgroup-celluloid-websocket-client (0.0.3)
hybridgroup-serialport (1.2.1)
sphero (1.4.1)
Your problem is that since you want to use 2 different connections at the same time, you need to specify which connection each device uses. Modifying your example, that would be:
connection :leapmotion, :adaptor => :leapmotion, :port => '127.0.0.1:6437'
device :leapmotion, :driver => :leapmotion, :connection => :leapmotion
connection :sphero, adaptor: :sphero, port: '4560'
device :sphero, driver: :sphero, connection: :sphero
Hope that helps! Closing this since not a bug, please reopen if you disagree.
Exception: undefined method `configure_collision_detection' for #Celluloid::WebSocket::Client::Connection:0x007fb3fb89fad8
I'm assuming with celluloid in the call stack that this is the correct repo :)
In another tab, I run: https://gist.github.com/whoisjake/6e93cbd45a515d000d35
and
I get this: https://gist.github.com/whoisjake/5edbace26a33fd1bafc9