Slashdot Mirror


Roomba + Wii remote + Perl = Awesome

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.

175 comments

  1. Strange by Cytlid · · Score: 5, Funny

    This is like an odd parallel universe movie where a younger Matt Damon controls his vacuum with a remote control.

    --
    FLR
    1. Re:Strange by Anonymous Coward · · Score: 0


      younger AND gayer

    2. Re:Strange by baldass_newbie · · Score: 1

      younger AND gayer

      That's umpossible.

      --
      The opposite of progress is congress
    3. Re:Strange by Donjo · · Score: 1

      I was gonna say Mike Birbiglia (the commedian)

    4. Re:Strange by Anonymous Coward · · Score: 0

      MATT DAMON!!!

  2. Cool hack, but by Oddster · · Score: 5, Insightful

    Isn't the point of the Roomba that it doesn't need control?

    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.

    1. Re:Cool hack, but by Anonymous Coward · · Score: 0

      Now that this hack has been conceptualized, I think the obvious enhancement that can be done is to allow you to smart-direct the Roomba to the (first) mess it should clean up. And to whomever tries to patent this, this is not new. This is like directing Mk 48s in 688 to certain locations and then having them do homing, though with a much nicer interface.

    2. Re:Cool hack, but by TrilateralRegression · · Score: 0

      Roomba's automation is primitive and sucks. It would go crazy in my house, where everything moves daily and the only thing you won't find is a right angle. Besides, how much of geekdom is just about control?

    3. Re:Cool hack, but by Hadlock · · Score: 2, Interesting

      I can't wait to set this up for some sort of battle bot. Just rip the servos, etc out of the roomba and put them on a battle bot or RC truck. RC plane would be neat, but I think BT tops out at 30 ft or so.

      --
      moox. for a new generation.
    4. Re:Cool hack, but by LKM · · Score: 2, Informative

      It goes crazy in every house. That's how it works. It's essentially random (yes, it does have some heuristics, but it doesn't measure your place and then calculate a path to vacuum everything), but eventually, it'll have vacuum'd every space simply because it keeps on going and going.

    5. Re:Cool hack, but by itlurksbeneath · · Score: 1

      Isn't the point of the Roomba that it doesn't need control? I guess that's the robotic equivalent of "Hey, you missed a spot."
      --
      Have you ever considered piracy? You'd make a wonderful Dread Pirate Roberts.
  3. Wrong Department... by __aaclcg7560 · · Score: 4, Funny

    It should be "People who have too much time on their hands" department. :P

    1. Re:Wrong Department... by Freaky+Spook · · Score: 1

      Thats inherited from its parent. /.

    2. Re:Wrong Department... by MobileTatsu-NJG · · Score: 2, Insightful

      "It should be "People who have too much time on their hands" department. :P" ... said the guy posting on Slashdot.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

  4. Spoiler by Nerdfest · · Score: 5, Funny

    It sucks.

    1. Re:Spoiler by EightySeven · · Score: 1

      Actually... it blows.

    2. Re:Spoiler by monoqlith · · Score: 1

      It actually involves quantum mechanics, so it can suck and blow at the same time.

    3. Re:Spoiler by steveo777 · · Score: 1

      You know, I had a physics teacher way back in high school who had a sign that he liked to quote... often.

      Something like: "Physics can never suck, or blow. It can push, it can pull. But will never suck or blow."

      --
      This sig isn't original enough, it's time to come up with something witty...
    4. Re:Spoiler by tomzyk · · Score: 1

      I ahhhh.... don't see ahhhh... what you're ahhhh... trying to ahhhh get at... ahhhhh.... I thought the good... the good... the ahh.... err... the movie ahhh.. was pretty ahhhhhh good and ahhhhhhh well ahhhhh scripted.

      --
      Karma: NaN
  5. fun by Anonymous Coward · · Score: 0

    fun stuff. if only it had laser cutters mounted on it

    1. Re:fun by dotfile · · Score: 1

      We have sharks for that.

  6. Re:Perl vs. Python? by __aaclcg7560 · · Score: 1, Offtopic

    Why would a python swallow one of those things?

  7. Next: Wii-mote RC cars ? by neurocutie · · Score: 2, Insightful

    Cool hack, but better than just a regular RC joystick controller ???

    1. Re:Next: Wii-mote RC cars ? by FleaPlus · · Score: 4, Interesting
    2. Re:Next: Wii-mote RC cars ? by bluemonq · · Score: 1

      GP meant using a RC controller for the Roomba. Cool nonetheless.

    3. Re:Next: Wii-mote RC cars ? by Thuktun · · Score: 1
      Cool hack, but better than just a regular RC joystick controller ???
      Am I the only one that noticed that the axes of control seem to be backwards? You turn the remote clockwise to make the Roomba turn counter-clockwise and vice versa. You push the remote forward (down) to make it back up and vice versa.

      This can (presumably) be easily fixed in the source code, but it seems ironic, given the intuitive way the Wiimote is used on the Wii.
  8. The roomba... by xamomike · · Score: 2, Funny

    sucks alot. But good work on the Wii remote!

    --
    There are 10 types of people in the world; those who can read binary, and those who can't.
    1. Re:The roomba... by wjsteele · · Score: 2, Interesting

      Interestingly enough, the Roomba DOESN'T "suck alot." In fact, it doesn't use a low pressure area at all, but relies solely on brushes to pick up any unwanted particulate matter on the floor.

      Bill

      --
      It's my Sig and you can't have it. Mine! All Mine!
    2. Re:The roomba... by Fengpost · · Score: 1

      Ok, then this WiiRoomba will wipe the floor with any other robot.

      --
      The purpose of writing is to inflate weak ideas, obscure poor reasoning, and inhibit clarity....Calvin
    3. Re:The roomba... by jrockway · · Score: 1

      That's not true; the Roomba has a vacuum in addition to the brushes. The stuff it sucks up is "stored" underneath the filter (and is why the Roomba needs a filter to begin with).

      --
      My other car is first.
  9. Re:Perl vs. Python? by Geoffreyerffoeg · · Score: 2, Funny

    I have two words for you.

    Turing completeness.

  10. Re:Perl vs. Python? by grumbel · · Score: 4, Informative

    For those interested, the WiiLi.org Wiki is full of Wiimote examples using Python, just takes a handfull lines of code to get started with the Wiimote, its really easy.

  11. Good Will by huper · · Score: 5, Funny

    My boy is wicked smart!

    1. Re:Good Will by Anonymous Coward · · Score: 0

      "My boy is wicked smart"

      "My boy is wicked smaht"

    2. Re:Good Will by Kuxman · · Score: 1, Funny

      Will: Do you like apples?
      Other guy: Yeah, I like apples.
      Will: Well I got her numba... how doya like d'em apples!?!

      --
      http://www.asti-usa.com
  12. Why Perl? by FreeRadicalX · · Score: 2, Interesting

    Out of curiosity, why use a language like Perl to do something dynamic like this? I'm no code jockey, but I always thought that Perl was meant for run-it-once type applications that handle things like text processing and database searching. Wouldn't Java be better suited for this?

    1. Re:Why Perl? by Professor_UNIX · · Score: 2, Informative
      I'm no code jockey, but I always thought that Perl was meant for run-it-once type applications that handle things like text processing and database searching.
      Well then you would be wrong. Perl can be used for anything. In fact, the hard core Perl coders write video games in Perl.
    2. Re:Why Perl? by Surye · · Score: 2, Informative
    3. Re:Why Perl? by FooAtWFU · · Score: 4, Insightful
      Hey, look at the code. The important bits seem to be like

      printf $roomba "\x89%c%c%c%c", $vh,$vl,$rh,$rl;
      Elsewhere, they seem to be communicating with another application through a named pipe. Text processing and the UNIX philosophy: Perl at its finest.
      --
      The World Wide Web is dying. Soon, we shall have only the Internet.
    4. Re:Why Perl? by Nasarius · · Score: 4, Insightful
      Out of curiosity, why use a language like Perl to do something dynamic like this? I'm no code jockey, but I always thought that Perl was meant for run-it-once type applications that handle things like text processing and database searching.
      The question is valid, but the nonsensical rambling that follows detracts from it. So I'll just say that modern scripting languages like Perl, Python, or Ruby can do just about anything but systems programming. In fact, they are perfect for doing what the summary seems to describe: taking the output from one program, parsing it, and sending instructions to another program.
      --
      LOAD "SIG",8,1
    5. Re:Why Perl? by bockelboy · · Score: 5, Informative
      Wouldn't Java be better suited for this?

      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!)
    6. Re:Why Perl? by chromatic · · Score: 1
      I'll just say that modern scripting languages like Perl, Python, or Ruby can do just about anything but systems programming.

      I don't know why you say that; they can do systems programming too. FFTs or real-time matrix manipulations or low-level bit-twiddling, less so.

    7. Re:Why Perl? by Anonymous Coward · · Score: 0

      Sounds like overkill then. Just use AWK.

    8. Re:Why Perl? by Anonymous Coward · · Score: 0

      That's nothing. The most hard core Perl coders _play_ their video games using Perl.

    9. Re:Why Perl? by jaymzru · · Score: 1

      I would love to see this processor with the virtual machine wired directly in allowing interpreted languages for system code. I imagine it's hard to catch interrupts before your virtual machine has loaded otherwise.

    10. Re:Why Perl? by AndroidCat · · Score: 1

      Umm .. what?

      Wasn't Java originally designed to be this light, transportable platform that could be ported to run across every appliance in the house?

      --
      One line blog. I hear that they're called Twitters now.
    11. Re:Why Perl? by syousef · · Score: 1

      Can't do "systems programming"? I once taught a subject called Systems Programming and it involved teaching the students Perl. I kid you not. The subject was about Unix sys admin type work (including C, Perl, and sh). I take it you mean real time systems when you say systems programming?

      --
      These posts express my own personal views, not those of my employer
    12. Re:Why Perl? by mlk · · Score: 1

      Java has change focus a number of times. It is now a general purpose language, with a strong "Enterprise" set of libraries. It also has a stripped down version for "every appliance in the house".

      Now, if the Roomba was JavaME based, and you had a Java based library for the Wii remote, then Java would be no better or worse choice than Perl or any other language you care to mention which supports both the wii-mote and the Roomba.
      If the Roomba also supported BlueTooth(1) then using Java directly on the Roomba would be a darn fine idea.

      1) I think that is what TFV said the Wii-mote communicated using.

      And I'm a Java fanboy.

      --
      Wow, I should not post when knackered.
    13. Re:Why Perl? by cabazorro · · Score: 1

      Think of Perl as the nail gun and C as the wood beams. The bluetooth device drivers and speed critical system calls from the kernel libs are written in C.
      Perl is ideal for this type of job. Is light, powerful and it NAILS the job every time.

      --
      - these are not the droids you are looking for -
    14. Re:Why Perl? by Covener · · Score: 1

      [perl] Can't do "systems programming"? I once taught a subject called Systems Programming and it involved teaching the students Perl. I kid you not. The subject was about Unix sys admin type work (including C, Perl, and sh). I take it you mean real time systems when you say systems programming?


      In the conventional sense "Systems Programming" is contrasted with application programming -- careless example: kernel vs. userspace
    15. Re:Why Perl? by Eravnrekaree · · Score: 1

      Perl is a highly dynamic language and is actually well suited to long running applications. There really is no reason it cannot be. In fact, the automatic memory allocation and the VM adds a level of safety. The problems of buffer overruns are much less on perl and it is also eisier to prevent memory leaks. In my opinion, Ruby, Python and perl are better choices for applications than C or C++.

  13. iRobot could have made Roomba remote controlled... by popo · · Score: 1

    ... but they didn't. Because the whole point of the Roomba is that you don't
    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?

    --
    ------ The best brain training is now totally free : )
  14. It's only a question of time now. by gijoel · · Score: 5, Funny

    Before they REBEL!

  15. Let me see if I understand this by fm6 · · Score: 4, Funny

    You're tired of vacuuming by hand, so you buy a robot vacuum that works all by itself. Then you add a clever hack that allows you to control the robot vacuum just like the manual vacuum you had before...

    1. Re:Let me see if I understand this by Anonymous Coward · · Score: 0

      The big difference is that you don't have to actually walk with the vacuum, trip over the cord or carry it.... I guess you should think of it as a Segway for Roomba....

    2. Re:Let me see if I understand this by maynard · · Score: 1

      Oh yeah, using the Wiimote to *avoid physical labor*. lol!

  16. Mmmaaaat Daaaamon by popo · · Score: 2, Funny


    (sorry. I couldn't help it.)

    --
    ------ The best brain training is now totally free : )
  17. Re:iRobot could have made Roomba remote controlled by mccalli · · Score: 4, Insightful

    ... but they didn't. Because the whole point of the Roomba is that you don't need to control it.

    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

  18. Re: Indeed by The_Abortionist · · Score: 0

    > ...I always thought that Perl was meant for run-it-once...

    More like write-it-once.

    Perl has a small initial development cost, but it is difficult to maintain. Case in point: slashcode. Perl is a quick and dirty language for quick and dirty jobs by a bunch of dirty people. Sure it has its vocal fans, but nothing serious is made in Perl.

    Java is pretty good in every aspect except that it can take a while to start. So, not knowing what Roomba is, I don't know if that matters.

    In any case, Python probably would have been better than Perl.

    --
    Linux violates 235 Microsoft patents.
  19. "mashup" by sinserve · · Score: 5, Insightful

    What is this trendy-word shit? MASHUP? Who the fuck came up with this word? In multimedia we already had "remixing" and "sampling".

    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.

    1. Re:"mashup" by Anonymous Coward · · Score: 0

      You forgot to point out his nauseating use of "+" instead of "and".

    2. Re:"mashup" by Anonymous Coward · · Score: 0

      Dude, mashup is totally "WEB 2.0" get with the program. It's all about FREEDOM and CHOICE and AJAX.

      Seriously, "mashup" is a polite way of saying "taking two closed proprietary systems and interfacing them in some superficial, predictable way and then making a youtube video out of it".

      More seriously, "mashup" is when a DJ mixes two completely different songs together, and "it just works" because the songs have similar harmonies or similar tempos, or whatever.

      (Yes I know the Roomba has a serial port and can be controlled).

    3. Re:"mashup" by Anonymous Coward · · Score: 1, Informative

      Actually, "mashup" originates in the multimedia industry as well. Look it up on wiki. My earliest MP3 "mashups" date back to 2002. They were more commonly called "vs" tracks before that.

      "Mashup (music), a musical genre of songs that consist entirely of parts of other songs"

      Generally, a software mashup (like the music mashups) are just a composite of other pieces with as little new logic as possible. Taking the output from one program and using it as input for another, when the two were not specifically meant to interact is the canonical example.

      Overlaying rental locations on a google map, for example. The rental database already existed and functioned, the google maps already existed and functioned. All that the mashup did was took the locations of the rentals and put them on the map, with perhaps only a dozen lines of code.

    4. Re:"mashup" by mattwarden · · Score: 1

      In my day we called it "remixing", and you had to do it under candlelight, using toothpicks, bubblegum, and pieces of film, while walking in 2 feet of snow, uphill both ways.

      Give it a rest, gramps.

    5. Re:"mashup" by jfedor · · Score: 1

      I blame Cory Doctorow.

    6. Re:"mashup" by Anonymous Coward · · Score: 0

      So it's like a medley.

    7. Re:"mashup" by RealGrouchy · · Score: 1
      What is this trendy-word shit? MASHUP? Who the fuck came up with this word?

      I guess you wouldn't be too happy to hear about "portmanteashup"...

      - RG>
      --
      Hey pal, this isn't a pleasantforest, so don't waste my time with pleasantries!
    8. Re:"mashup" by Anonymous Coward · · Score: 0

      Don't forget Xeni. No one loves Web 2.0 buzzword whoring as much as Xeni. If you love to see blogger bullshit exposed, check out http://xenisucks.com/

  20. This just may be the dirtiest... by WwWonka · · Score: 0

    ...tech jargon/innuendo I have ever heard.

    (from video)
    "...control your room-ba with your wee remote."

  21. "Mashup?" Excuse me? by Anonymous Coward · · Score: 2, Insightful

    The word you're looking for is "hack."

    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.

    1. Re:"Mashup?" Excuse me? by thinksInCode · · Score: 1

      I agree with Anonymous Coward. I'm sick of hearing "mashup".

    2. Re:"Mashup?" Excuse me? by Anonymous Coward · · Score: 0

      isn't the word 'hack' just slang/jargon from a couple decades ago? Mash-up is used the same reason why any other word is used - to better describe a given idea.

  22. Pretty Flipin Awesome! by phantomcircuit · · Score: 1
    As you can all see that was Pretty Flipin Awesome!


    wtf...
    1. Re:Pretty Flipin Awesome! by enrgeeman · · Score: 2, Funny

      wtf...
      you mean what the flip?

      --
      sent from my slashdot browser.
    2. Re:Pretty Flipin Awesome! by Anonymous Coward · · Score: 0

      He might have said "flip" because some people call remotes flippers. Maybe it was his own dumb joke.

    3. Re:Pretty Flipin Awesome! by jpardey · · Score: 1

      I sort of hope so... but then again I sort of don't. Either way, I feel sick.

      --
      I have freaks! I did something right...
  23. Envy by amdurak · · Score: 2, Insightful

    Come on, people. He did something we would never think of doing. Regardless of which object and what purpose the object which he controlled has, in my humble opinion it is well done. He got Slashdotted, we did not.

  24. the fun stuff!!! by gslavik · · Score: 0

    you also have to consider that you can freak someone out by making roomba follow them and make it look like you're playing the wii.

  25. How programable is the Roomba? by RalphBNumbers · · Score: 4, Insightful

    Taking this hack a step farther:

    Since Roombas can be made to connect to computers via bluetooth adapters, 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.

    --
    "The worst tyrannies were the ones where a governance required its own logic on every embedded node." - Vernor Vinge
    1. Re:How programable is the Roomba? by wjsteele · · Score: 1

      The Roomba itself isn't actually programmable. What they have exposed is cool, however. You have access to all of it's sensors and can drive the motors via commands. With that, you can add a small PIC or BasicStamp controller and drive it via serial commands. The BlueTooth adapter simply extends those serial commands to another device.

      I have a Roomba Discovery that I have added a BasicStamp computer and BlueTooth. That way, I can issue commands via BlueTooth or download programs that it will execute. The Roomba makes a great little platform... my next project is going to involve a table pc with a camera.

      Also, Microsoft Robotics Studio and use and expose "services" from the Roomba so you can extend it even further, like to have a web page that controls what the Roomba is doing. Very cool stuff.

      Bill

      --
      It's my Sig and you can't have it. Mine! All Mine!
  26. Wow. Amazing! by 93+Escort+Wagon · · Score: 2, Funny

    So, for the cost of the Roomba, the Wii, and a computer (so let's say, what, $1500?)... he's basically duplicated my $100 Hoover vacuum. Except my Hoover is more responsive to its handle than the Roomba is to the Wii remote.

    (Of course it is cool nonetheless...)

    --
    #DeleteChrome
    1. Re:Wow. Amazing! by emurphy42 · · Score: 1
      So, for the cost of the Roomba, the Wii, and a computer (so let's say, what, $1500?)...

      Okay, it makes for a good joke, but it's not really fair to count the cost of stuff that the guy would've owned anyway. This probably includes the computer, and quite possibly the Wii and Roomba as well.

      What was the name of the guy who hacked into a telco server and stole some document, got sued for some ridiculously high figure that included e.g. the cost of the computer that the document was originally word-processed on, and then it turned out the telco was selling basically the same document for about $15?

    2. Re:Wow. Amazing! by Andy+Somnifac · · Score: 1

      It was Knight Lightning, editor of Phrack Magazine, that had charged with receiving a document retrieved from a Bell South system. The document explained how the enhanced 911 system worked.

  27. Re:iRobot could have made Roomba remote controlled by fimbulvetr · · Score: 2, Informative

    My roomba discovery came with a remote, and I swear the only reasons my sisters come over any more is to "clean" using the roomba w/ the remote. It's useful for the occasional shutdown when it's too loud, but other than that, you can't even issue the park command with the remote - and there's no reverse!

  28. Wii math by Dan+East · · Score: 1

    What's with all the Wii math today? Something + Wii = Something Else

    Dan East

    --
    Better known as 318230.
    1. Re:Wii math by SeaFox · · Score: 1

      Yup, corporations call it "innovation" or "new patent idea".

    2. Re:Wii math by Anonymous Coward · · Score: 0

      What's with all the Wii math today? Something + Wii = Something Else

      Well, it's easier than saying Wii/Something + 1 = Else.

    3. Re:Wii math by humble.fool · · Score: 1

      Because Anything + Wii = Weeeee!

      --
      Being anonymous is not cowardice.
    4. Re:Wii math by Anonymous Coward · · Score: 0
      Something + Wii = Something Else
      That shows that Wii != zero.
  29. Roomba Wars by EonBlueApocalypse · · Score: 1

    The next video I expect to see attached weapons and a small arena.

  30. New word! by Duncan3 · · Score: 2, Funny

    So is "mashup" the hip new word for "programming"?

    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

    --
    - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
    1. Re:New word! by corychristison · · Score: 1
      Ooo! ooo! Can I play, too?
      *begins mashing keyboard sporadically*
      nikv w9uy 2-uj02f g wemjo[ ef8 gwer vy31g7 9hg[3904fu w v gweg f8902ggwr49/t9
      I guess I am a programmer now.
    2. Re:New word! by Bwerf · · Score: 2, Funny

      Awesome, feeding that to my perl interpreter and now I can suddenly use my wiimote to control my Roomba.

      --
      If noone rtfa, then what's the slashdot effect?
    3. Re:New word! by novus+ordo · · Score: 1

      A visual depiction of a mashup.

      --
      "You're everywhere. You're omnivorous."
    4. Re:New word! by Phybersyk0 · · Score: 1

      Actually "mashup" is about 5 years old give or take, it comes from the underground music scene where beat-matching software is used to blend together two (or more) songs together that would not ordinarily fit.

      For example: (and I'm serious here) Nirvana's "Smells Like Teen Spirit" + Destiny's Child's "Bootylicious" = "Smells Like Teen Booty"

      Some rather high-profile works have been created using the technique, The Beatles vs Jay-Z, Beatles vs. Beachboys (Beachles) Beatles vs. Beastie Boys (Beastles), Dean Gray's American Edit -- from the Green Day album American Idiot mixed with basically everything which has a particularly interesting mashup of the Doctor Who Theme and the song "Holiday".

  31. Lazerzzzz by jrmiller84 · · Score: 1

    Too bad it's still only a vacuum cleaner... It needs frickin' laser beams... Oh wait, it uses IR? Damnit...

    --
    I will forever be a student.
    1. Re:Lazerzzzz by jpardey · · Score: 1

      I hope that was purposeful. An infrared transmitter is not usually a laser, just an LED below the visible light spectrum.

      --
      I have freaks! I did something right...
  32. Re:iRobot could have made Roomba remote controlled by Anonymous Coward · · Score: 0

    It's not awesome, it's flippin awesome.

  33. Bluetooth by jrmiller84 · · Score: 1

    Wait a second, I didn't realize that the Wiimote used bluetooth and that the output could be captured. How does the light sensing bar connect to the Wii(I don't own one yet. Yes I know, I'm sad too)? If it can be connected to a computer (and I'm sure some modder will figure it out), the implications could be huge. Now your computer is a Wiiputer. You could use the wiimote for all of your favorite games. But I bet all of you already knew that.

    --
    I will forever be a student.
    1. Re:Bluetooth by Gotung · · Score: 2, Informative

      The sensor bar is kind of confusingly named. The bar itself doesn't actually sense anything. It just has 2 ir emitters, the same type in your average tv remote. The wiimote picks up the signals from the emitters to find out where it is in relation to your TV. People have reportedly been successful in substituting 2 candles for the "sensor" bar. The bar does plug into the nintendo, but since the wire simple provides power, some minor hackery will allow you to plug it into an ordinary wall socket.

    2. Re:Bluetooth by jrmiller84 · · Score: 1

      Well well well then... Looks like I could just buy a Wiimote and have quite a bit of fun until I can find/buy the system!

      --
      I will forever be a student.
  34. Re: Indeed by thzinc · · Score: 2, Insightful

    Perl is no more difficult to maintain than any other language.

    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.)

  35. Perl Vacuum by Brewskibrew · · Score: 1

    This sucks.

    --
    For sale: Signature. One owner. Low miles. Always garaged. New punctuation, just installed!
    1. Re:Perl Vacuum by Anonymous Coward · · Score: 0

      I agree.
      It does suck, and he does look like Matt Damon.

  36. Re:Perl vs. Python? by Da_Weasel · · Score: 1

    Sooo ummm....he used the Wii Remote Control to remote control something else? How innovative! *sigh*

    --
    If you must!
  37. Re:Perl vs. Python? by Anonymous Coward · · Score: 0

    I don't think you can compare this Perl 'programming' to python. If he was a real Perl programmer, the video would have only been 15 seconds long.

  38. Be glad there's no challenge/response by Myria · · Score: 2, Insightful

    Be glad that Nintendo didn't go the route of Microsoft and do a challenge-response to authenticate the console to the controller and the controller to the console.

    Melissa

    --
    "Screw Sun, cross-platform will never work. Let's move on and steal the Java language." - Visual J++ Product Manager
  39. Prediction complete! by RyoShin · · Score: 1
    1. Re:Prediction complete! by Anonymous Coward · · Score: 0

      I suggested this very thing two weeks ago.

      Damn, you're good.

  40. Not the Accelerometer by freefal67 · · Score: 1

    There is not acceleration being measured - just tilt. A subtle but important distinction

    1. Re:Not the Accelerometer by dotfile · · Score: 1

      Ummmm.... accelerometers are what people now use to measure tilt. Assuming a horizontally mounted accelerometer, 0G = horizontal and 1G = vertical. Something between 0 and 1G indicates some degree of offset from vertical or horizontal. Tilt. There are 1, 2, and 3-axis accelerometers commonly available. They're used in all sorts of things, many of them as (you might have guessed it by now) tilt sensors.

    2. Re:Not the Accelerometer by Oooius · · Score: 1

      Man, what are they teaching kids these days... Don't you know your General Relativity? Gravity and acceleration are the same thing.

  41. Do not understand this new word "mashup" by AmiMoJo · · Score: 1

    Seriously, this word does not make sense, at least in this context. I am not trying to troll, but I would appreciate it if someone could explain it's exact meaning.

    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 the point of being un-driveable and is wrecked.

    Is there some different meaning for the word? I have checked various dictionaries, including American English ones, but found nothing.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    1. Re:Do not understand this new word "mashup" by penguinwhoflew · · Score: 1

      I think it's mash as in, 'mashing on the keyboard'. The keyboard doesn't end up in bits, you're just slamming it or pushing it real hard. I always saw a 'mash-up' as, say, two things heading towards each other at high speed and then slamming together to create one object... but maybe that's just me...

      First definition on http://dictionary.reference.com/browse/mash is crush anyways.

    2. Re:Do not understand this new word "mashup" by Anonymous Coward · · Score: 0

      Seriously, are you retarded?

      A mash up is a mix. Usually it pertains to mixing two songs, or two genres, but it's certainly no stretch to guess what a mash up of two technologies might be.

      If you are still lost, why don't you mash up some pototoes and garlic and enjoy the resulting, slighly different combo of two flavors.

      What's up with fucking morons posting bullshit in an effort to sound profound? Not every thought that occurs to you needs to be expressed.

    3. Re:Do not understand this new word "mashup" by WilliamCotton · · Score: 2, Funny

      Hopelessly out of touch guy in the 1950s:

      "Seriously, this term "rock and roll" just doesn't make any sense.

      In English "rock" refers to either an action of rocking back and forth or a relatively hard, naturally formed mineral or petrified matter. The term "roll" refers to either an action of turning around or revolving on or as if on an axis or a small loaf of bread served with dinner. I just don't see how either of these words have anything to do with a current trend (which will no doubt not be around for very long and not have much influence) in teenage music.

      Are there some different meanings for these words? I have checked various dictionaries, including American English ones, but found nothing."

      --
      I've always prefered a command line interface. GUIs are such a cursory way to interact with a computer.
    4. Re:Do not understand this new word "mashup" by AmiMoJo · · Score: 1

      "Rock and roll" makes perfect sense, and it's evolution is well documented (see Wikipedia, for example). It makes good sense in the context. "Mash-up" seems to have come from no-where, and makes no sense at all in this context. It seems to be describing the combining of technologies in ways previously not intended, basically a form of hacking. Why not then call it a hack, as would have been the case six months ago?

      I suppose all you can say in the end is that American English is very different from standard English. Understandable to native English speakers perhaps, but many of the basic rules seem to have changed. Off-hand, the eleimination of tense in American English is a good example: "Did you brush your teeth yet?" An interesting subject, which is why I asked as to the origin of this particular phrase.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  42. Hmm.. by blindx · · Score: 1

    Must be nice to be rich.

  43. Re: Indeed by Fordiman · · Score: 1

    Hey, maybe he's trying to say Perl coders write bad code.

    (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 better attributes (on a computer the speed of C/C++, and the stability of having better coders write it).

    --
    110100 1101000 1101000 1100110 0 1101111 1101000 1100011 1
  44. Re:Mmmaaaat Daaaamon by cadeon · · Score: 2, Funny

    Matt Daemon.

  45. I know what its for by bigsam411 · · Score: 4, Funny

    They designed this so that when people throw their Wiimotes at televisions while playing Wii Sports, the Roomba will go clean up the glass shards.

  46. I got a better equation for you by dangitman · · Score: 0

    Wii + penis = Natalie Portman

    --
    ... and then they built the supercollider.
    1. Re:I got a better equation for you by Cheapy · · Score: 1

      penis squared = Natalie Portman? Amazing!

      --
      Would you kindly mod me +1 insightful?
    2. Re:I got a better equation for you by Anonymous Coward · · Score: 0

      *watches your karma burn up in smokes*

    3. Re:I got a better equation for you by Megane · · Score: 1

      No hot grits or petrification in your equation? You fail it!

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    4. Re:I got a better equation for you by geminidomino · · Score: 1

      Assuming you were going for the way-overdone "Wii means genitals!" joke, you still fail basic algebra.

      if wii = penis and
      wii + penis = Natalie Portman,
      then
      2(penis) = Natalie Portman

      Unless of course, you were going for something like "wii = (penis*penis)-penis"...

  47. Please someone add this tag by Anonymous Coward · · Score: 0

    Someone please add the tag "useless" and "pointless" to this news post before I go crazy.

  48. Re:no Envy. by Anonymous Coward · · Score: 0

    Grandpa ? WTF are you doing up so late ? Back to the psych ward!

  49. Wii remote - Wii - games = WiiRoomba by Anonymous Coward · · Score: 2, Funny

    This is what happens when you buy only the controller without the console & games.

  50. Great... by JumperCable · · Score: 1

    Now everybody is going to get excited about things that they can control with their "Wii".

  51. Re: Indeed by hachete · · Score: 1

    The "I-have-too-many-ways-to-do-one-thing" that is perl philosophy leaves the programmer with a load of synonyms to remember - so, yeah it's harder to maintain than say python. Oh, and what about

    local
    and
    my

    2 keywords whose function seem to be similar, but which are not.

    Oh yeah, and the $_. Was this language written to be obtuse? I think it was.

    I know of more than one pile-of-shit 30,000 line programs written in perl.

    --
    Patriotism is a virtue of the vicious
  52. Re:no Envy. by Crizp · · Score: 1

    I'll bite.

    I agree with you in that Slashdot has been on its way down the drain but it seems to be climbing up again (here, I was about to insert a funny analogy about a "final solution" involving Drain-O)

    To help better Slashdot and shape it the way you like, remember to click the "Firehose" link if you see it and participate in choosing stories for the front page. Oh, you're anonymous. Nevermind. I don't know if you can see it.

    And don't be a coward.

  53. Are you a kill joy by vocation? by jotaeleemeese · · Score: 0, Offtopic

    Or is that a penance impossed upon you?

    --
    IANAL but write like a drunk one.
    1. Re:Are you a kill joy by vocation? by Killjoy_NL · · Score: 0, Offtopic

      No I'm a Killjoy, but I like what he did anyway :)

      --
      This is the sig that says NI (again)
  54. Sorry, no. by jotaeleemeese · · Score: 1

    Perl allows programmers to shoot themselves in the foot as they bloody see fit, which instills a mentality of firefighting instead of one of properly designed solutions.

    Other languages deal much better with this by means of their inflexible syntactic structure.

    If you want a quick hack most likely never to need maintenance again (and here, I dare anybody to say you can be sure of this in a professional environment), then yes, Perl is fine.

    If you need maintainable code, then Perl is the worst starting point for current modern languages.

    --
    IANAL but write like a drunk one.
  55. Re:Perl vs. Python? by Anonymous Coward · · Score: 0

    And encoded using a very short regex. Alas noone, not even the author would be able to read it.

    BOOM BOOM!

  56. Re:Suck dicks by Bloke+down+the+pub · · Score: 1
    wtf is roomba?
    I think it's like an electric bike, but instead of having the wheels front and back, they're mounted left and right. Yes, it does sound crazy, doesn't it?


    They were the new big thing back in, oh, 1983 or something.

    --
    It's true I tell you, feller at work's next door neighbour read it in the paper.
  57. Nice by Robbie-Stanford · · Score: 1

    This is so cool! Robbie. http://www.howtobefunny.net/

  58. Re: Indeed by Jeppe+Salvesen · · Score: 1

    Two good pieces of advice for beginning Perl programmers:

    1. Use 'my' until you understand what 'local' does.
    2. Never use $_ outside of map and sort blocks.

    Remember, other people may need to read your code one day..

    --

    Stop the brainwash

  59. Re:Perl vs. Python? by alphamugwump · · Score: 1
    Slashdot: News for Nerds, stuff that matters

    Roomba + Wii remote + Rule 110 = Insanity

    alphamugwump writes:

    Check out WiiRoomba110, a reimplementation of WiiRoomba in Rule 110. Unlike the original WiiRomba, this version is written in the purest, most perfect programming language ever conceived by the mind of man, instead of that unreadable Perl crap. From the source code:

    "White Black Black White White White Black White Black White Black White Black Black White White Black White Black White Black White Black Black White White Black White Black Black Black White White White Black White Black White Black White Black Black White White Black White Black White Black White Black Black White White"
  60. Dumbest thing I have ever seen by Anonymous Coward · · Score: 0

    This is by far the dumbest sh1t I have ever seen.
    No really, I want the 2:30 of my life back...

    Maybe "Faux Matt Damon" can turn the Wii remote into a wired BlueTooth headset next.

  61. WOW! COOL! by SkeptAck · · Score: 1

    I called my wife over to see it. "Look at this nerd!" Har Har. "What a dork!" She walked over to see. I explained the situation. She wandered off. I watched and yelled back the play-by-play. "Oh when he turns his hand, it spins!" Then suddenly startled myself, "THAT'S COOL!" Immediately followed by, "I can't believe I just said that was cool. GOD!" Wife cares not one bit about any of this.

    1. Re:WOW! COOL! by Anonymous Coward · · Score: 0

      And then you give us the play by play of your play by play! Seek help. :D

    2. Re:WOW! COOL! by SkeptAck · · Score: 1

      Yeah, and slashdot ate all my paragraphs, so I look like a LOON.

  62. You *can* remote-park a Roomba by LKM · · Score: 1
    you can't even issue the park command with the remote

    That's what I thought at first, too, but turns out it's not true. In fact, it's pretty much the only thing the remote is useful for. If you steer the roomba using the remote, it will park automatically as soon as you approach the docking station.

    1. Re:You *can* remote-park a Roomba by NorthWestFLNative · · Score: 1

      I'm not sure about other models, but on the remote for the Scheduler model, you can press two buttons on the remote simultaneously and it will dock itself as well (as long as it's within range of the docking station).

    2. Re:You *can* remote-park a Roomba by LKM · · Score: 1

      Pressing two buttons at the same time does not work on my remote. That's the first thing I've tried, of course. I don't have the Scheduler, though.

  63. Re: Indeed by hachete · · Score: 1

    those statements should be engraved on the mess that is the O'Reilly book of Perl. And on CPAN.

    The problem with the first statement is that "my" was introduced *after local, so when faced with suck-arse code written under 4, you have no choice but to resign.

    My advice to any programmer tempted to write a "quick script" (particularly in Perl): Don't Fucking Do It. Go read a book, go learn VBscript. Anything. Just think of the poor bastard who has to maintain the crap you are about to perpetrate.

    --
    Patriotism is a virtue of the vicious
  64. He did something counterproductive by Anonymous Coward · · Score: 0

    He added a remote to an automatic device.

    OK, it was kinda cool. But next thing you know, he'll be adding a remote control to his thermostat so he can turn the heat on and off all by himself, and then he'll put a switch on the fridge light so it no longer turns itself on when the door is opened.

  65. And here's the source code in BASIC by 72beetle · · Score: 1

    10 print "Use the fucking Roomba's remote. IT ALREADY HAS ONE!"
    20 goto 10
    30 end

    --
    -Those who dance are considered insane by those who can't hear the music.
  66. Gayer by Anonymous Coward · · Score: 0

    Yeah, my weak gaydar is blipping off a storm after this one, why is that?

  67. I still prefer the roomba controlled by a MacBook by jocknerd · · Score: 1
  68. Re:Mmmaaaat Daaaamon by Sporkinum · · Score: 1

    Damn.. And fresh out of mod points too!

    --
    "He's lost in a 'floyd hole"
  69. Re: Indeed by Hercynium · · Score: 1
    Oh yeah, and the $_. Was this language written to be obtuse? I think it was.
    Perl was designed to be concise.
    --
    I'm done with sigs. Sigs are lame.
  70. not again! by smitty97 · · Score: 1

    crap! my roomba slipped right out of my hand and smashed my tv!

    --
    mod me funny
  71. Re: Indeed by hachete · · Score: 1

    Oh yeah, and the $_. Was this language written to be obtuse? I think it was.
    Perl was designed to be concise. And programmers who use Perl pay for that conciseness big-time.
    --
    Patriotism is a virtue of the vicious
  72. Already done by InsertCleverUsername · · Score: 1

    I always enjoy a clever hack, but I've got to point out that my Roomba already has a remote: http://store.irobot.com/product/index.jsp?productI d=2215227&cp=2174941.2174944.2174947&parentPage=su bcategory

    Works great.

    --
    Ask me about my sig!
  73. I've got a similar hack by sdcharle · · Score: 3, Funny

    I attached a handle to my roomba so I can control it by hand.

  74. Re: Indeed by Unequivocal · · Score: 1

    Ruby is concise. Perl is terse. Once I started writing Ruby code and learned how it really works, I decided I'm never going to write another line of Perl again. A nice article (not by me) on this point is: http://gurge.com/blog/2006/10/16/ruby-at-60/

    I know this OT but this whole thread on Perl seems OT.

  75. Re:Perl vs. Python? by Anonymous Coward · · Score: 0

    And can YOU do it? From scratch? Come on, let's see it.

  76. Re:Suck dicks by markana · · Score: 1

    No, that's a Segway. They were a big thing back in 2003 or so...

  77. Re: Indeed by Hercynium · · Score: 1
    Ruby is concise. Perl is terse.
    Good distinction, considering the context in which each word is most commonly used.

    Like Larry Wall, I'm a bit of a linguistic junkie myself and respect the way that two words can have the exact same definition in the dictionary and yet two different connotations. My comment was actually supposed to be somewhat of a joke though... a concise statement in itself. :)

    I still haven't taken the time to learn Ruby, but Perl code tends to be difficult to read because most programmers simply look for the result of an operation based on it's inputs and must think a lot harder to take into account the seemingly arbitrary mixture of context-based 'dwimmyness' and overloaded syntactical constructs... not to mention all the fun dynamic run-time behavior that can be created. The terse syntax can make it hard enough to follow, but that combined with the sheer complexity (some might say depth) of Perl's behavior makes it something reviled by many. (not me!!!)
    --
    I'm done with sigs. Sigs are lame.
  78. Is the tech that the Wii remote runs on patented by ExternalDingus · · Score: 1

    Or can the tech in the Wiimote be used in other products without pay?

  79. Actually... by shaneh0 · · Score: 1

    The roomba already ships with a remote for this purpose. This is just a cooler remote.

  80. And you know this how? by shaneh0 · · Score: 1

    Seriously, it's not so primitive. When it starts a cleaning mission it first determines the size of the room and uses that info to load different rule sets.

    It's actually pretty sophisticated.

    Why say things that you don't know to be true? I don't get it.

  81. You're wrong by shaneh0 · · Score: 1

    There's so much misinformation here about the Roomba. It's a vacuum. It "sucks." It does it quite well. It's a well built product that does what it's supposed to do.

    Here's a thought: Don't try to offer facts on what something does if you don't have a little first hand knowledge.

    1. Re:You're wrong by wjsteele · · Score: 1

      1.) I stand corrected. It does create a small vacuum. However, after investigating it, it is a very small vacuum designed only to keep dust inside the bin, not to actually draw it in. It's more used to offset the high pressure created from the brushes "pushing" debris into the bin than to pick up any dirt. It's a very clever design. The filters are used to prevent dust from escaping.

      2.) I do have a lot of first hand knowledge. I've been using and playing with Roomba's since they were first introduced. The latest ones that I have, Scheduler and Discovery, have a small hidden fan (actually in the dust bin at the back) to depressurize the dust bin. That fan is competly hidden and without actually looking carefully, you might miss it, like I did. Anyway, when you pull the dust bin out, you can clearly see the two brushes (actually, one brush and one beater bar) that are the primary dirt removal mechanisms.

      3.) Drop the attitude - it's just a discussion. Nothing in my post warranted a personal attack from you.

      Bill

      --
      It's my Sig and you can't have it. Mine! All Mine!
  82. Re:iRobot could have made Roomba remote controlled by instarx · · Score: 1

    ... but they didn't. Because the whole point of the Roomba is that you don't
    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?


    This kind of comment is what drives me crazy on slashdot. Why are so many here so bloody literal minded and opposed to innovation for innovation's sake? This is a test bed. A prototype. A proof of concept. No one actually needs a Wii controlled Roomba. Now that the concept is proved it can be applied to other devices. How about a Wii remote controlled RC plane? Now that would be cool.

  83. Re:Mmmaaaat Daaaamon by Anonymous Coward · · Score: 0

    i dont get it. please explain....

  84. Damage reports by The_Undying · · Score: 1

    Watch, someone is going to do this, accidentally throw their "Wiimote" while controlling it, and then break their Roomba. "Damn that wristband! I broke my Roomba because of you! Damn you Nintendo, damn you!"