installation

Installation:

Instructions for installing version 3.0, the automatic version of laptimer.

A Diagram

Android Application:

As the application is not currently released to the android market, manual installation is the only option. Connect your phone to a computer, and when prompted on your phone, enable USB storage. In every release of the client (eg. “Laptimer_Auto_Android_3-0-1_Other.zip”), the file “displayTest.apk” is included. Copy this file to your phones SD card. You may now disconnect your phone from the computer.

On your android phone, navigate to “Settings > Applications” and tick “Unknown sources”. Exit settings, then open “File Manager”. Navigate to the location you copied “displayTest.apk” to earlier, and tap on it. This will install the android application.

Server:

Download the server package.

You will need the packages python and python-twisted.

If on linux:

These may already be installed. However, if not, use your system’s package manager to search for and install these packages.

If on windows:

Download Python 2.x from www.python.org. Download python-twisted from here.

Both:

You will need to port forward so that the phone can access the server. The server runs on port 8080. This port, TCP, must be enabled for bi-directional traffic. Alternatively, it is possible to forward port 80 to port 8080. However, this is more advanced, and has no end difference to the functionality of the program. It is likely it will be necessary to port forward traffic from your modem/router to the computer the server is running on.

Google App Engine Server:

This server is not preferred, however it is simpler to setup. You install EITHER this or the previously mentioned server. Not both.

Benefits: Ease of use

Disadvantages: Likely slight cost to use, no web-map possible.

Currently not released

Client:

Download the appropriate package for your operating system. Edit the “settings.ini” file, customising it such the server address is that of the computer you installed the server onto. Change the lat/lon to the lat/lon of the centre of the race track. You will need access to the internet for the maps to download. If the maps have not downloaded, it will take some time for the client to open the first time.

If on windows:

Open the executable guiNew.exe. To export the data to a csv file that can be opened in a spreadsheet program (such as Gnumeric or MS Excel), run exportCSV.exe. It is recommended that this program is run after a computer crash/blackout, before restarting the laptimer program.

Other platforms:

You will need the packages python, wxpython, numpy.

Open the python file guiNew.py. To export the data to a csv file that can be opened in a spreadsheet program (such as Gnumeric or MS Excel), run exportCSV.py. It is recommended that this program is run after a computer crash/blackout, before restarting the laptimer program.


Related

Wiki: Home