CMUcam code?
Robofreak
Posts: 93
Hello all,
I'm about to buy a CMUcam for my bot cuz I'm getting kind of bored with just a range finder. I have all the needed documentation from the Parallax site, but my robot uses the Propeller. Well as you've probably guessed while looking at the title, I would like some code for controlling it if there is·any that someone's already made. It's easier than doing the code myself
Thanks!
Austin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,
Robo-freak.com
www.livesoundforum.com
"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
I'm about to buy a CMUcam for my bot cuz I'm getting kind of bored with just a range finder. I have all the needed documentation from the Parallax site, but my robot uses the Propeller. Well as you've probably guessed while looking at the title, I would like some code for controlling it if there is·any that someone's already made. It's easier than doing the code myself
Thanks!
Austin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,
Robo-freak.com
www.livesoundforum.com
"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
Comments
Try Steve Norris' website: http://www.norrislabs.com/Projects/Huey/index.html
Huey uses a Propeller to process the CMUcam2+ output and track colors. I suspect that you can adapt the CMUcam2+ code for the CMUcam or at least develop a usable algorithm.
Hope this helps.
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,
Robo-freak.com
www.livesoundforum.com
"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
"Not only do I see the glass as half empty, I wonder if anyone poisoned the glass with arsenic" - My dad, inside joke haha
If you develop the Spin code for a CMUcam1, can you post it in the Propeller Object Exchange for all to use?
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
If I can get it to work, yes I will definitely post it. But it might be a while, I have FIRST for the next 3 months and it's going to be crazy so I *might* wait to buy the camera afterwards. (That's a big "might" haha) I have plenty of resources to make the program, like the program for the CMUcam2 in that link you sent. In fact I've already got a bit of my program already started, so I'll probably have the program done before I get the camera haha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,
Robo-freak.com
www.livesoundforum.com
"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
"Not only do I see the glass as half empty, I wonder if anyone poisoned the glass with arsenic" - My dad, inside joke haha
I ran across·the attached·CMUCam Spin code on Joe Lucia's website (http://irobotcreate.googlepages.com/propeller).
Maybe this will save you from having to write original code for your CMUCam project.
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
I analyzed his program, and I've come to find that it's actually fairly similar to mine lol
All the programs for the CMUcam that I have seen require the use of FullDuplexSerial. My program is using my own serial communications object (a "little brother" to one of my others) that is smaller and of course (because I don't have the skills to match Parallax's programmers haha) simpler than FullDuplexSerial, and minus the assembly. Mine also doesn't require the use of a cog to run, because I'm really tightfisted about program space and running extra cogs haha ...but yes that does mean that there is no constantly updated RX buffer like FullDuplexSerial [noparse]:([/noparse]
We'll see how it turns out...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,
Robo-freak.com
www.livesoundforum.com
"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
"Not only do I see the glass as half empty, I wonder if anyone poisoned the glass with arsenic" - My dad, inside joke haha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,
Robo-freak.com
www.livesoundforum.com
"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
"Not only do I see the glass as half empty, I wonder if anyone poisoned the glass with arsenic" - My dad, inside joke haha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,
Robo-freak.com
www.livesoundforum.com
"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
"Not only do I see the glass as half empty, I wonder if anyone poisoned the glass with arsenic" - My dad, inside joke haha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,
Robo-freak.com
www.livesoundforum.com
"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
"Not only do I see the glass as half empty, I wonder if anyone poisoned the glass with arsenic" - My dad, inside joke haha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://forums.parallax.com/showthread.php?p=650217
meow, i have my own topic now? (sorta)