Slashdot Log In
Roomba + Wii remote + Perl = Awesome
Posted by
timothy
on Tue Dec 26, 2006 09:48 PM
from the when-buzzword-compliance-is-a-good-thing dept.
from the when-buzzword-compliance-is-a-good-thing dept.
Anonymous Wii Lov'n Coward writes "Check out the WiiRoomba, a mashup using a Wii remote, a perl script, and the Darwiin Remote software. While a little sluggish to respond, the Roomba is entirely controlled by the Wii remote accelerometers." All of the source code to do it yourself is available at the site linked, along with a youtube video of how it works.
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Strange (Score:5, Funny)
Cool hack, but (Score:5, Insightful)
Although I suppose it would be really useful if you added a servo arm, and could use the contraption to get yourself a beer without leaving your chair.
Re: (Score:2, Interesting)
Re: (Score:3, Informative)
Wrong Department... (Score:4, Funny)
Re: (Score:2)
Re: (Score:3, Insightful)
Spoiler (Score:5, Funny)
Re: (Score:2)
Next: Wii-mote RC cars ? (Score:3, Insightful)
Re:Next: Wii-mote RC cars ? (Score:5, Interesting)
http://video.google.com/videoplay?docid=258164541
Parent
The roomba... (Score:2, Funny)
Re: (Score:3, Interesting)
Bill
Re: (Score:2)
Good Will (Score:5, Funny)
Why Perl? (Score:2, Interesting)
Re: (Score:3, Informative)
Re: (Score:3, Informative)
Re:Why Perl? (Score:5, Insightful)
Parent
Re:Why Perl? (Score:5, Insightful)
Parent
Re:Why Perl? (Score:5, Informative)
No offense, but Java would be a particularly bad choice for this application. The real work done here is "gluing" two things together at a system level - the Roomba program and the Wii program. Java is uniquely miserable at interacting on the system level. Where Java excels is object-oriented architectural design and huge enterprise-level programs.
So, if you want a scalable application server, use Java. If you need to tie two programs together, use a scripting language like Python or Perl. If you know you can limit yourself to a Unix shell environment, Perl may be best (and this is from a Python junkie!)
Parent
Re: (Score:2, Insightful)
Bad code is bad code, and bad code is difficult to maintain. Good code is good code and is generally maintainable.
Writing good code in Perl, just like any other language, is left up to the programmer.
(And, I know of more than a few large, well-maintained systems written in Perl.)
Re: (Score:2)
(Fight! Fight! Fight! Fight! Fight!)
No, seriously. Your point's correct - but the reason perl is often hard to maintain (not always) is that often times, a perlscript is written as either a hack to an existing system (such as in this article), or as a quick-and-dirty script to get something to happen.
I usually think of Perl as system bailing wire, and Bash as computer bondo. You can build great, workable things with both, but there are tools with be
iRobot could have made Roomba remote controlled... (Score:2)
need to control it.
And why is this "awesome"? Is the Wii remote better than a standard joystick
remote (like those used for RC cars) for this application?
Re:iRobot could have made Roomba remote controlled (Score:5, Insightful)
No and yes, in that order. My Roomba certainly came with a remote control that can steer the device, but I've never found a need to use it. However, I still appreciate this hack for what it is - a spot of fun done just because you can.
Cheers,
Ian
Parent
Re:iRobot could have made Roomba remote controlled (Score:3, Informative)
It's only a question of time now. (Score:5, Funny)
Let me see if I understand this (Score:5, Funny)
Mmmaaaat Daaaamon (Score:3, Funny)
(sorry. I couldn't help it.)
Re: (Score:2, Funny)
"mashup" (Score:5, Insightful)
Hardware and software can not "mashup", they're "coupled" or "integrated" in manager-speak, but in honest everyday speak hardware is "driven" or "controlled" or "interfaced" with software.
It could have been "controling roomba with wii remote". Perl would never show up in the headline because software drivers are no often given banner credit. They're expected to work.
"Mashup?" Excuse me? (Score:2, Insightful)
Web 2.0. Blogosphere. Mashup. Digital Rights Management. Is our culture so completely saturated with marketer-speak that now -everyone- feels compelled to use bullshit terms like these in place of normal words with established meanings? People, we need to stop talking like boners.
Envy (Score:2, Insightful)
How programable is the Roomba? (Score:5, Insightful)
Since Roombas can be made to connect to computers via bluetooth adapters [makezine.com], it stands to reason that if they are sufficiently programable, they could be made to respond directly to the Wiimote via bluetooth, without a Mac playing middleman. This might even eliminate a lot of the the lag the story mentions.
Wow. Amazing! (Score:3, Funny)
(Of course it is cool nonetheless...)
Wii math (Score:2)
Dan East
Re: (Score:2)
New word! (Score:3, Funny)
I guess if programming is something 3rd world starving people do for $0.50/day, we need a new word.
I better get back to mashing, hahahahahah
Be glad there's no challenge/response (Score:3, Insightful)
Melissa
Prediction complete! (Score:2)
Do not understand this new word "mashup" (Score:2)
In English (okay, British/standard English) "mash" means to scramble or grind something, e.g. mashed potato or papier mache. In the context of technology, it makes no sense as generally mashing implies that the thing being mashed becomes paste like, or mashed. To describe a car as mashed, is to imply it has been crushed and bent out of shape to t
I know what its for (Score:4, Funny)
I've got a similar hack (Score:3, Funny)
Re: (Score:3, Funny)
Turing completeness.
Re:Perl vs. Python? (Score:5, Informative)
Parent
Re: (Score:2)
Re: (Score:2, Funny)
you mean what the flip?
Re: (Score:2)
Re: (Score:3, Informative)
Re: (Score:2)