perfo wrote:Excellent project, Thanks for sharing this. I may shamelessly borrow a lot of your code as it is pretty much doing just what I wanted (hope that's ok).
I'm using an independent IP camera with PTZ just so it takes any processor burden off of the PI and anyone with a browser that can access the net the ROV is on can view the pics thus I don't have to worry about clients and password etc etc as this is all done in the cam.
The RPI doesn't do much with the videodata anyway, just pushing from USB to ETHERNET. No need (imho) to get a expensive PTZ.
I have tested the RPI B+ with 4 Webcams (needs an expernal USB hub for power) but works... not with 25fps or 720p (ymmv).
Even opened 3 camera windows, on 1 stream.. that test went very well.
perfo wrote:Can I ask a few questions ?
Ofcourse
perfo wrote:Is you depth / temp / compass / giros etc all in the one package ? The reason I ask is both links seem to go to the same product. Currently being sold for $80...and does this have to be mounted outside the ROV hull to get accurate temperature reading ?
The OpenROV sensor comes with a MS5803-14A and a MPU-9150. $80 looks like a lot of money, but Sparkfun sells the MS5803-14a for (i think) $60. I think the MS5803-14A is just an expensive sensor. Haven't found a replacement for it, but if you don't go 100's of meter depth.. i am sure, you could do without one.
perfo wrote:Have you tried using the compass stuff underwater ? Would it be good enough to self navigate the ROV to a given position or does it drift too much?
The IMU (MPU-9150) does nothing with navigation. It just tells you how your ROV is positioned (roll/pitch/yaw) to the earth forces. For correct positioning, you would also need a way to measure distance traveled or SOG (Speed over Ground). It gets hard when your ROV moves, due to water currents.
perfo wrote:I'm just learning this stuff and wonder if I'm not using the camera or mpeg streaming what can I leave out of your code ?
The code is open-source, use it as much as you need. But please mention my name
The software doesn't do anything with camera or mjpeg stream. If you don't start the mjpeg_streamer... the software still works.
You could try to point the <iframe> reference in the "public/index.html" to your PTZ stream. It may just work.