Image acquisition package: Difference between revisions

update of "make check" output
(update of "make check" output)
Line 22: Line 22:
     driver = uvcvideo
     driver = uvcvideo
     card = UVC Camera (046d:0825)
     card = UVC Camera (046d:0825)
     bus_info = usb-0000:00:16.2-2
     bus_info = usb-0000:00:12.2-4
     version = 3.2.51
     version = 3.16.7
     capabilities = 83886081
     capabilities =   2.2314e+09
     device = /dev/video0
     device = /dev/video0


=== Open the v4l2 device and output the result ===
=== Open the v4l2 device and output the result ===
  octave> obj = videoinput("v4l2", "/dev/video0")
  octave> obj = videoinput("v4l2", "/dev/video0")
  obj = videoinput for v4l2
  obj = videoinput for v4l2
Line 192: Line 193:


== make check ==
== make check ==
If you have cloned the hg repo you can also run the test scripts to see if all works.
If you have cloned the hg repo you can also run the test scripts to see if all works.


Line 198: Line 200:


  octave -q run_tests.m
  octave -q run_tests.m
INFO: this error is expected because /dev/video0 is still streaming
  ../src/__v4l2_handler__.cc........................ PASS 3/3
  ../src/__v4l2_handler__.cc........................ PASS 4/4
  @videoinput/videoinput............................ PASS 1/1
libv4l2: error getting capabilities: Inappropriate ioctl for device
  @videoinput/get................................... PASS 4/4
  @videoinput/videoinput............................ PASS 3/3
  @videoinput/set................................... PASS 7/7
  @videoinput/get................................... PASS 4/4  
  @videoinput/getsnapshot........................... PASS 4/4
warning: V4L2_CAP_TIMEPERFRAME is not supported
  imaqhwinfo........................................ PASS 1/1
warning: V4L2_CAP_TIMEPERFRAME is not supported
 
  @videoinput/set................................... PASS 6/6
  @videoinput/getsnapshot........................... PASS 1/1
  imaqhwinfo........................................ PASS 1/1  
  Summary:
  Summary:
 
   PASS  19
   PASS  20
   FAIL  0
   FAIL  0


The two errors are expected, see test scripts. If there are tests which FAIL, then please have a look at the generated fntest.log and add it to your bug report.
If there are tests which FAIL, then please have a look at the generated fntest.log and add it to your bug report.
219

edits