Image acquisition package: Difference between revisions

Jump to navigation Jump to search
make check
(replaced $ with octave>, added start & stop streaming, getsnapshot)
(make check)
Line 181: Line 181:
  octave> test @videoinput/set
  octave> test @videoinput/set
  octave> test @videoinput/getsnapshot
  octave> test @videoinput/getsnapshot
=== make check ===
If you have cloned the hg repo you can run the test scripts to see if all works.
$ cd octave-image-acquisition/devel
$ make check
octave -q run_tests.m
libv4l2: error setting pixformat: Device or resource busy
INFO: this error is expected because /dev/video0 is still streaming
../src/__v4l2_handler__.cc........................ PASS 3/3
libv4l2: error getting capabilities: Inappropriate ioctl for device
@videoinput/videoinput............................ PASS 3/3
@videoinput/get................................... PASS 4/4
@videoinput/set................................... PASS 6/6
@videoinput/getsnapshot........................... PASS 1/1
imaqhwinfo........................................ PASS 1/1
Summary:
  PASS  18
  FAIL  0
The two errors are expected, see test scripts.
219

edits

Navigation menu