KoreUSBCam User Manual rev 1.2 10
3.2. Power-up
•
Power up the Korebot (or Khepera 3).
During the boot of the Korebot, the camera is detected and its gspca
module driver is automatically loaded.
Below a part of the boot sequence is depicted (fig. 3.2):
Figure 3.2: part of the boot sequence with detected camera
3.3. Images acquisition
•
Grab an image with the following command:
wcggrabber --size=max --palette=RGB24 -R BGR -a -t 5 -n 0>output.ppm
This takes an image named
output.ppm in the current folder.
You can view the program options with
wcggrabber -h
You can transfer the image by
Minicom
or
scp
(see Annexes 4.3).
3.4. Video streaming
This part describes two streaming applications you can use to display the camera video on
a remote computer.
a) ktgrab
ktgrab is a video server running on the Korebot. You can access it with the Java applet
KTGrab. The instructions are explained below:
1.
Get the ktgrab from http://ftp.k-team.com/korebot/koreusbcam/application/, file
ktgrab_libfg-0.3.1-kb1.tar.bz2
[ 13.110000] Linux video capture interface: v2.00
[ 13.130000] korebot_pcmcia_configure_socket(): Reset off sock 0
[ 13.150000] Korebot CF Init
[ 13.150000] korebot_init: skt->irq=78
[ 13.170000] korebot_pcmcia_configure_socket(): Reset off sock 1
[ 13.310000] korebot_pcmcia_configure_socket(): Reset off sock 0
[ 13.420000] /home/jtharin/projects/kernel2.6/development/gspcav1-20071224-kb2/gspca_core.c: USB GSPCA camera
found.(ZC3XX)
[ 13.510000] /home/jtharin/projects/kernel2.6/development/gspcav1-20071224-kb2/gspca_core.c: [spca5xx_probe:4314] Camera type
JPEG
[ 13.540000] /home/jtharin/projects/kernel2.6/development/gspcav1-20071224-kb2/Vimicro/zc3xx.h: [zc3xx_config:588] Sensor
MC501CB
[ 13.590000] drivers/usb/otg/otg_linux.c: otg_hcd_endpoint_disable stub
[ 13.620000] drivers/usb/otg/otg_linux.c: otg_hcd_endpoint_disable stub
[ 13.650000] /home/jtharin/projects/kernel2.6/development/gspcav1-20071224-kb2/gspca_core.c: [spca5xx_getcapability:1262] maxw
640 maxh 480 minw 160 minh 0
[ 13.680000] usbcore: registered new interface driver gspca
[ 13.680000] /home/jtharin/projects/kernel2.6/development/gspcav1-20071224-