Dawn Robotics Forum Support and community forums for Dawn Robotics Ltd 2014-05-13T21:46:26+01:00 http://forum.dawnrobotics.co.uk/feed.php?f=5&t=1234 2014-05-13T21:46:26+01:00 2014-05-13T21:46:26+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1323#p1323 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>

Statistics: Posted by Alan — Tue May 13, 2014 9:46 pm


]]>
2014-05-13T21:43:25+01:00 2014-05-13T21:43:25+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1322#p1322 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>

I thought that the file mmal/mmal.h should have been downloaded when you ran the following steps

Code:
sudo apt-get install rpi-update
sudo rpi-update e65b8c992ad0c2486e172aee1e2b1e98d623d782


although I need to check on a Pi tomorrow to confirm this. Could you try running those commands again (looking for any errors in the output) and trying to build raspberry_pi_camera_streamer again please?

Cheers

Alan

Statistics: Posted by Alan — Tue May 13, 2014 9:43 pm


]]>
2014-05-13T21:32:56+01:00 2014-05-13T21:32:56+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1321#p1321 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]> Mike

Statistics: Posted by mike1234 — Tue May 13, 2014 9:32 pm


]]>
2014-05-13T21:30:14+01:00 2014-05-13T21:30:14+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1320#p1320 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]> You have email. I ran the above but could paste the screen shot here so emailed it. It didn't work. I'll now just copy the ready made image to an sd card and try that.
Mike

Statistics: Posted by mike1234 — Tue May 13, 2014 9:30 pm


]]>
2014-05-13T12:22:57+01:00 2014-05-13T12:22:57+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1319#p1319 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>
That raspberry_pi_camera_streamer is very odd, the program is written in C/C++, but the error you're getting looks like a Python error. :?

Assuming that you're downloading it from source and building, can you please try running the following, and sending me the output?

Code:
cd /home/pi/raspberry_pi_camera_streamer
cd build
make clean
make
./raspberry_pi_camera_streamer     # Note the ./ here - this runs the program just built


Now, the alternative to building the SD card image from scratch, which can take a while, is just to flash a prebuilt image to an SD card. To do this you would need to

    1. Download 2014-05-07-dawn_robotics-raspbian.img.zip from here
    2. Unzip the file to get the .img file
    3. Flash the .img file to an SD card using instructions here (go to the section that says 'Flashing the SD card using...' for your operating system

Can you give this a go and let me know how you get on?

With regards to power usage, the servos will draw minimal current (compared to the Pi, and the wheel motors) and so I would say this won't noticeably affect battery life. What batteries exactly are you using to power the robot, and what kind of battery life are you getting out of them? We use Duracell 2400mAh NiMh batteries and get close to 1.5 hours with those.

Regards

Alan

Statistics: Posted by Alan — Tue May 13, 2014 12:22 pm


]]>
2014-05-12T19:27:08+01:00 2014-05-12T19:27:08+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1318#p1318 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]> Statistics: Posted by mike1234 — Mon May 12, 2014 7:27 pm


]]>
2014-05-12T19:11:53+01:00 2014-05-12T19:11:53+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1317#p1317 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>
When I run raspberry_pi_camera_streamer I get an error message:-
.....can't find '_main_' module in raspberry_pi_camera_streamer....

Mike

Statistics: Posted by mike1234 — Mon May 12, 2014 7:11 pm


]]>
2014-05-12T09:38:50+01:00 2014-05-12T09:38:50+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1316#p1316 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>
I'll try to run the raspberry_pi_camera_streamer this evening.

However, I probably didn't make myself clear, I am now using the new image. The old one which I bought already installed on one of your SD cards worked OK, I just thought I'd try the new software.
I used your guide http://www.dawnrobotics.co.uk/creating- ... s-sd-card/
This works for the motor control and includes the shutdown button, just no streaming.

I'll post this evening when I've tried running raspberry_pi_camera_streamer on it's own.

Mike

Statistics: Posted by mike1234 — Mon May 12, 2014 9:38 am


]]>
2014-05-11T21:43:44+01:00 2014-05-11T21:43:44+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1315#p1315 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>
Can you try running

raspberry_pi_camera_streamer

and let me know what the results are? The red light should come on when you run this program.

Also, if you get the time, can you try the new image (just to make sure that that works on your robot?). Hopefully it's just some aspect of my instructions for building the card that needs clarification.

Regards

Alan

Statistics: Posted by Alan — Sun May 11, 2014 9:43 pm


]]>
2014-05-11T20:31:03+01:00 2014-05-11T20:31:03+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1314#p1314 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>
My RPi Camera Bot was working OK, but I've built up a new image on SD Card (i.e. not copied the whole image) with the 7th May software revisions and the camera doesn't appear to be streaming, and no red light on the camera.
There is sufficient power i.e. motors are powered successfully and the voltage on the RPi is 4.95v.
I've run raspistill -o image.jpg and the camera light comes on and an image is captured !!

Can you suggest what I should look at now?

Thanks

Statistics: Posted by mike1234 — Sun May 11, 2014 8:31 pm


]]>
2014-03-29T15:44:15+01:00 2014-03-29T15:44:15+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1283#p1283 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]> Statistics: Posted by JTeagle — Sat Mar 29, 2014 3:44 pm


]]>
2014-03-29T13:22:23+01:00 2014-03-29T13:22:23+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1282#p1282 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>
Glad you got the camera working in the end. :) I appreciate how frustrating it can be to spend hours and days on something that turns out to be a simple fix, but unfortunately to a certain extent, that is part of the learning process of electronics, robotics and programming in general. The days I lost mucking up C/C++ #include statements springs to mind. :?

At Dawn Robotics, we are trying to lower the barriers of entry to robotics, but there's obviously a lot of things that still need work. The Pi Camera Robot in particular, is not really yet a full kit with a manual in the sense of our Rover 5 robot. At the moment, it's more of a blog post that's got a bit out of control. We're working on some refinements and improvements however (clearer instructions and more photos being one of them) that should hopefully improve things in the future. For now, I've added to the part that talks about attaching the camera cable, as per your suggestions.

With regards to the camera going dark, this is an intermittent bug that I've seen which is usually solved by restarting the robot. This is either a problem with raspistill, or more likely a problem with the way we're using it in camera_streaming.py. Either way, this is a software issue which is hopefully a bit more up your street. I've created an issue on the Bitbucket repository to keep it visible. Also, the problem may be alleviated by trying the robot in an area with different lighting? This post on the Pi forums may also be relevant.

Regards

Alan

Statistics: Posted by Alan — Sat Mar 29, 2014 1:22 pm


]]>
2014-03-29T11:37:42+01:00 2014-03-29T11:37:42+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1281#p1281 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]> Statistics: Posted by JTeagle — Sat Mar 29, 2014 11:37 am


]]>
2014-03-29T10:27:30+01:00 2014-03-29T10:27:30+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1280#p1280 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>
I also didn't realise that the white part of the connector lifts up to loosen, and then pushes down to clamp the strip in place. Please add this information to the blog as well.

At least now I can move forwards with the project. Shame it took a week.

Statistics: Posted by JTeagle — Sat Mar 29, 2014 10:27 am


]]>
2014-03-28T20:32:03+01:00 2014-03-28T20:32:03+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1234&p=1279#p1279 <![CDATA[Re: Pi Robot Kit - Camera Not Working?]]>
When reconnecting the cable, perhaps also a good idea to check it carefully to make sure that it's not damaged.

Statistics: Posted by Alan — Fri Mar 28, 2014 8:32 pm


]]>