Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Digital Camera!< Next Oldest | Next Newest >
wireframewolf Offline





Group: Members
Posts: 30
Joined: Aug. 2005
Posted: June 02 2008,20:48 QUOTE

I've posted on the forums before that I'm using Damn Small Linux installed on a Libretto ct110 as the brain of the robot. I've got a PCIMCIA  USB card installed in it, which I use to talk to my microcontrollers with some custom C code, and it works great!

The only problem now is a camera. My robot needs to see, which basically means I have to figure out how to get a 2D array of pixels from a digital USB cam into my C code.

Unfortunately, trying to find a camera I can use, with an API or something that I can grab the pixels with, has been one of the most painful and frustrating things I've ever done with a computer and I'm beginning to wonder if I'll ever be able to build a robot at all.

I have a Quickcam express, which actually has a third party driver for it, but I've never been able to install it correctly to either Damn Small Linux or Ubuntu.

So I'm curious to know if anyone else has done this succesfully with DSL, and might shed some light (preferably in a step by step format :] ) on how to get a digital camera up and running. At this point I'm basically willing to go and spend $50 on a digital camera as long as it's going to do what I need it to.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 03 2008,12:43 QUOTE

Some webcams are supported natively, IIRC someone a while ago had a Philips one working, you might want to search that one up.

edit: they use the Video4Linux2 api to grab images


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
wireframewolf Offline





Group: Members
Posts: 30
Joined: Aug. 2005
Posted: June 03 2008,14:28 QUOTE

And v4l is already included in Damn Small Linux right? I did do a search for it, and found a bunch of files on the system, but I don't know if they're setup or in working condition, or if that's something to come later.
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: June 03 2008,15:09 QUOTE

Quote
which actually has a third party driver for it

Which driver are you trying to get to work? Explain the process you used, etc.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 03 2008,15:20 QUOTE

V4L is just a kernel api, it needs no userspace files, and if it has any files, they are in /proc.

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
4 replies since June 02 2008,20:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Digital Camera!

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code