# What's the current go-to for DIY home robotics? Plus cat lasers.

**URL:** <https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888>\
**Category:** Factual Questions\
**Created:** [March 30, 2014, 8:58am UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888 "2014-03-30T08:58:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [March 30, 2014, 8:58am UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/1 "2014-03-30T08:58:45Z")

</div>

Just for fun, I want to make a cat-tracking laser turret.

I’ve never done anything like that before, and back in my day Lego Mindstorm was all the rage. Now, I’ve heard of Arduino and Kinect and I’m thinking of using those along with some servos and a laser pointer and fancy software. Would that be a good way to track a cat and shoot a laser in front of it in a semi-random pattern?

Or would the cool kids today use some other set of tools?

---

<div class="post-metadata">

**Author:** ![Ronald\_Raygun](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@Ronald\_Raygun](https://boards.straightdope.com/u/Ronald_Raygun)\
**Post date:** [March 30, 2014, 10:24am UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/2 "2014-03-30T10:24:14Z")

</div>

Strangely enough, my upstairs neighbor is a roboticist who’s building a cat-tracking laser pointer turret himself. His problem is that his cat blends into the floor so well that he’s hard to track (both are black).

Anyway, the “difficult” part is training the turret to recognize where the cat is and to shoot accordingly. This isn’t my field, so I can’t really help you, but here are some resources which may be useful to you.

Caltech’s intro machine learning course is online: [Learning From Data - Online Course (MOOC)](http://work.caltech.edu/telecourse.html)

Also check [www.coursera.com](http://www.coursera.com) . Coursera hosts Stanford’s online machine learning course, which is not as mathy as Caltech’s and far more practical, as well as a computer vision course which I haven’t taken.

Of course, if you happen to be my upstairs neighbor, you already know all of this.

---

<div class="post-metadata">

**Author:** ![Ronald\_Raygun](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@Ronald\_Raygun](https://boards.straightdope.com/u/Ronald_Raygun)\
**Post date:** [March 30, 2014, 10:26am UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/3 "2014-03-30T10:26:53Z")

</div>

Oh, also, unsupervised laser play risks damaging your cat’s eyes. Be careful.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [March 30, 2014, 11:10am UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/4 "2014-03-30T11:10:19Z")

</div>

That’s where the Kinect comes in. It seems like “see which projected dots are changing in a room with only one moving object” should be a simpler computational problem than “identify black pixels in image, determine catness”.

I don’t think any machine learning is required. Just code to say “oh yeah, these dots are moving… shoot the laser 10 ft in front of their averaged direction”

---

<div class="post-metadata">

**Author:** ![FluffyBob](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@FluffyBob](https://boards.straightdope.com/u/FluffyBob)\
**Post date:** [March 30, 2014, 11:29pm UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/5 "2014-03-30T23:29:43Z")

</div>

I very noble pursuit.

My cat would also like you to build a machine to make it spring outside.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [March 31, 2014, 12:48am UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/6 "2014-03-31T00:48:04Z")

</div>

The Lego kits are still widely used, but nowadays they’re called “NXT”, not “Mindstorms”.

---

<div class="post-metadata">

**Author:** ![Philliam](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/philliam/32/3011_2.png) [@Philliam](https://boards.straightdope.com/u/Philliam)\
**Post date:** [April 1, 2014, 5:15pm UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/7 "2014-04-01T17:15:00Z")

</div>

I am bitterly disappointed. I was sure I would learn how to install frickin’ laser beams on my cat’s heads. Sorry, guys, you’ll have to do your hunting the old traditional way.

---

<div class="post-metadata">

**Author:** ![Really\_Not\_All\_That\_Bright](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@Really\_Not\_All\_That\_Bright](https://boards.straightdope.com/u/Really_Not_All_That_Bright)\
**Post date:** [April 1, 2014, 6:37pm UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/8 "2014-04-01T18:37:27Z")

</div>

> [@Ronald\_Raygun](#):
>
> Oh, also, unsupervised laser play risks damaging your cat’s eyes. Be careful.

Best username/post combo ever.

Has your neighbor tried using an infra-red camera to track kitty?

---

<div class="post-metadata">

**Author:** ![Sunspace](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sunspace/32/1250_2.png) [@Sunspace](https://boards.straightdope.com/u/Sunspace)\
**Post date:** [April 1, 2014, 11:55pm UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/9 "2014-04-01T23:55:21Z")

</div>

We could maybe borrow the people who built that anti-mosquito laser system? Maybe not…ISTR that it targeted the _sound_ of a female mosquito.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [April 2, 2014, 12:54am UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/10 "2014-04-02T00:54:19Z")

</div>

> [@Really\_Not\_All\_That\_Bright](#):
>
> Best username/post combo ever.
> 
> Has your neighbor tried using an infra-red camera to track kitty?

That’s what a Kinect is. A cheap, 3D infrared camera. It doesn’t track body heat (so not thermal), but it projects a grid of infrared dots and uses their sizes and distortions to calculate a real-time 3D map of the environment and moving objects within it.

> [@Sunspace](#):
>
> We could maybe borrow the people who built that anti-mosquito laser system? Maybe not…ISTR that it targeted the _sound_ of a female mosquito.

Unless there’s another one, I think it uses a [light-based system](https://www.youtube.com/watch?v=U5Ex2ZIWWog). It sees the shadow of an insect, shoots a identification laser onto them to see it in a high-framerate sensor and count its wingbeats. If it flaps like a female mosquito, they shoot a higher-power UV laser to burn off its wings in about 1/10 of a second.

ETA: At 4:40 they play a sound of the visual information. Maybe that’s what you were thinking about? It’s counting the wingbeats optically but then it artificially produces a sound at the same Hz for humans to hear. It sounds like a mosquito buzzing because that’s the actual speed their wings are beating at, just abstracted and reproduced by a chip.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [April 2, 2014, 1:06am UTC](https://boards.straightdope.com/t/whats-the-current-go-to-for-diy-home-robotics-plus-cat-lasers/684888/11 "2014-04-02T01:06:22Z")

</div>

From that project, I learned that an x-y mirror galvanometer might be better than using servos to move the laser pointer (seems much faster, at least).
