[E-puck-user] epuck camera troubles

2011-02-14 Thread Jenny Owen
Hello all, I've been working on some code which tells the epuck to take a picture with its camera and then send it to my computer via bluetooth. The problem is that when the camera takes a picture, the data it creates is rubbish. I've looked at sample code in the library documentation and the

Re: [E-puck-user] epuck camera troubles

2011-02-14 Thread Sergi Torrellas
Hi Jenny, I tried to do exactly the same. What you get from the e-puck is 40x40 bytes of an RGB code (2bytes). Have a look at the datasheet of the camera, there is an explanation there of the codification. You can create the an image file (jpg, bmp, png) by using this array of pixels. Hope that