For the camera driver to work, and thereby the whole system working, you need to be root for the system to be in local or server mode. Client mode does not use the camera and can run by any user.

The system stores many configurations in pinball\GameOptions.java. Look at that file for details on the settings. The pixel threshold setting will help the system better find changes in the images. Make it more or less sensitive, depending on your lighting situation.

The startup configuration options get saved to /tmp/options.dat for local mode and /tmp/soptions.dat for server mode. They are saved to /tmp, because the system is in root mode and can not save to a user directory. You can change the location, by editing pinball/JavaQcam.java.

Camera Driver explains how the QuickCam is initialized and the parameters used for the camera. Here is a copy of the qcam.conf file that we have used for this project.

RS232SDD16 data acquisition device via the serial port.

JavaDoc guide for the packages.

Return to the documentation