L.A.S.E.R. Tag Linux port
|we've ported the popular lasertagging software to Linux|
|Contact Person:||Tschew (mail)|
L.A.S.E.R. Tag Linux port
The software has been tested with V4L and V4L2 cams. Firewire cameras should work as well because we use unicap internally. (Kudos to arturo for his amazing work on UCUtils and the openFrameworks VideoGrabber)
We've run it successfully on default installations (plus all required packages, of course) of Ubuntu 8.10, 9.04, 9.10 and 10.04. Also, it ran on Fedora Core 10 without problems.
To get the most recent version clone the source distribution via git. This includes precompiled binaries!
git clone git://source.hacker.lu/lasertag_linux.git
The source can be browsed through redmine: https://source.hacker.lu/projects/lasertaglinux/repository
You can download an outdated tarball of Lasertag Linux (includes source) here: http://www.graffitiresearchlab.lu/lasertag_linux.tar.bz2
The bugtracker is located on our redmine server: https://source.hacker.lu/projects/lasertaglinux/issues
See the readme file.
Before you rip all your hair out here's a quick setup guide:
Get ucview (from http://www.unicap-imaging.com, it will allow you to browse and explore all the adjustment preferences for your camera easily. Some unicap conventions are a bit weird and some are downright confusing (ie: manual exposure control requires setting "Auto Exposure" = 1 in the camera settings ).
Start with natural settings to adjust the quad points with the projection frame. Now decrease brightness completely and adjust exposure until all you see in the center preview box is the laser pointer blob. If experimenting with the tracking settings still doesn't work, try increasing the saturation level for the camera. You will have to adjust the camera settings multiple times if you're tagging at dusk because the changing lighting conditions affect the tracking accuracy substantially.
With a normal webcam tags will look bit wobbly because of noise. This can be alleviated by using a better camera (e.g. with a CCD sensor) with less noise or by drawing lines more quickly. A very simple filter (New Point Threshold) has been implemented in both the trunk and stable branches.
If you absolutely can't get the software to work even after hours of trying, send me an e-mail (link brings up form) and I'll try to get back to you ASAP. (Note that I will probably assemble a copy of our exchange and post it here to help others.)
Windows / Mac Version
If you're looking for the Windows or Mac version, these can be found here: http://muonics.net/blog/index.php?postid=26