Remote Control Camera Project
parts
Adafruit Pi Box Enclosure
Raspberry-Pi Model B
Pololu Ball Caster with 3/4" ball
SpringRc SM-S4303R Continuous Rotation Servo
Solarbotics SW-Y Yellow Servo Wheel with Encoder stripes, Silicone Tire
Micro Maestro 6-Channel USB servo Controller
Logitech Quick Cam Pro xxxx
Power HD Micro Servo HD-1600A
Paper mailer tube
Duct tape
Plastic axle from Tap Plastics
notes
helpful sites:
http://opencv.org/
http://www.pololu.com
http://libusb.sourceforge.net/doc/
http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html
added to /etc/services on server or bot:
cam-video 8888/tcp # camera robot
cam-cntl 8889/tcp # camera robot
Compiling, I used opencv/tcp sockets libraries:
gcc stream_server.c -o stream_server \
`pkg-config --cflags opencv` \
`pkg-config --libs opencv` -lpthread
gcc stream_client.c -o stream_client \
`pkg-config --cflags opencv` \
`pkg-config --libs opencv` -lpthread
installed on x86:
sudo apt-get install libhighgui-dev
sudo apt-get install libcvaux-dev
sudo apt-get install libv4l-0
installed on x64_86:
sudo apt-get install -t squeeze-backports libgtk2.0-dev
sudo apt-get install libhighgui-dev
sudo apt-get install libcvaux-dev
sudo apt-get install libv4l-0
running stream_server w/tiny camera:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./stream_server
stream_server running w/logitech camera:
./stream_server 0
(note the software can be passed N, 0, in this case if you have multiple cameras)
or (fix for small camera)
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./stream_server
stream_client running:
./stream_client 127.0.0.1 320 240
software
stream_server (run on Pi-I)
stream_client (run on remote (phone/desktop))
video
VIDEO