Team Management
This is the little application I wrote to help manage my team during the 24 Hrs. race. It is freely available under the Open Software License. This is not released software, and as such is rough on the edge and has some known bugs and unfinished bits. It can be downloaded here.
Known Problems
Here is the list of known problems.
- The menus are not working. Use your window manager to stop it.
- When a timer is stopped (red flag, Maintenance lane) if it is not restarted before the previously scheduled time is reached, the timer display will dissappear as if the end of the timer had been reached. The actual time is not affected though (I think)
- After a timer is restarted (end red flag, Maintenance lane out) the countdown display will show the correct value, but the elapsed time display is wrong.
- After the start of the race you MUST use the same timer for the first 2 timer events. Either the button (mouse) or the remote (if you are using it). Note that the start of the race does not trigger a timer event.
Prerequisite
In order to use the tool, you need:
- Python 2.4
- Qt 3
- PyQt binding
- KDE (should be not too hard to remove...)
- MySQL
Installing
Download this file and put it somewhere on your computer. Untar the file:
tar cfj Team-management.tar.bz2This should create a directory karting
Create a database (say karting)
Create a user karting with access to that database. If you use another user name you will need to modify the record in the table ADM_User that gives the list of teams a given user can control.
Run the file karting.sql against the newly created database to build it up.
Run the application
python team-mgnt.py
What about the remote control
I managed to use a Targus wireless multimedia presenter to trigger the timer remotely. I used the presenter in the multimedia mode (orange led) and I map the email button to the script timelap.sh using KHotkey (I am using KDE)
I started the application with ./KartTeam. The script starts everything that is needed. Once the application is setup and the race is started pushing the email on the presenter you can trigger a timer event. Note that since the race start does not trigger a timer event, you should trigger one right after the start of the race. Note also that you must use the same trigger (either the mouse or the remote control) for the first 2 timer events. After that you can mix them.
Team View
As the name indicates, you will see the timing and other events for your team.
Pilot View
Ditto for the pilot you select using the drop down button.Pilot Scheduler
A simple pilot scheduler. Drag-and-drop a pilot name into one of the scheduler cell. The scheduler won't let you put the same pilot in 2 adjacent cells.
The Repeat First Column button is disabled once the race is started. The Reschedule Time can be used at all time and will do the right thing.
Team Management
It is more a configuration panel. The 2 available checkbox control the availability of the buttons on the right of the window. Once Enable Timing Management is enabled, one can select the safe mode. In this mode the order in which the button can clicked is controlled. For example, one can only Change Pilot after a Pit Lane In
Timing and Kart Management Buttons
The availability of those buttons is controlled from the Team Management panel. The button are disabled for a short time after they have been clicked to avoid repeated click. The button function may also change
Let me know what you think.