![]() |
Request: Race Timing(lap) App
1 Attachment(s)
A friend of mine has always envied my N800 and today he asked me if there was an application he could by to to something custom.
I told him that there is not really a store for Maemo apps, but we could ask if anyone could help. I wish I had time to learn python I think I could do this but I do not even have time to hack on my N800 lately. He is a racer, not Nascar but club, so he would like to be able to keep track of his and others lap times and total race time. I was thinking something simple that would let you specify how many racers to list and names if you wanted, then how many laps to keep (he says from 18 to 30) Then maybe a 'start all' button to start the lap for all, and after that each racer has a 'LAP' button to mark the lap time. After the race has started the 'start all' button could change to 'finish race' to end the the timing part. Then it could rank the racers, this could even be done on the fly the whole time, and highlight their best times. If someone thinks they could help it would be nice if it was written in python, or even html, so if could run on my old 770 for him. I have attached a mockup I did in Calc it is not much but the simple ideas I had |
Re: Request: Race Timing(lap) App
These guys have a nice package for Symbian S60.
http://www.racechrono.com/news/?lang=en I asked them about a Maemo port. The response was favorable, but likely only if Maemo hits a phone platform. Its a great app. I use an unactivated Nokia N75. It logs laps, sectors and graphs results. There is another app that imports the data for video overlay. |
Re: Request: Race Timing(lap) App
The project is interesting but how receive the time of each lap? I saw some applications before using transponders (but on rc-cars). I suppose alerady exist some hardware that keep log of each 'transponder lap' and the tablet would 'just' act as monitor/visualization/ranking. I guess on nascar kind of race a manual lap buton for each car as you suggest is precise enough but seem a bit hard to handle 10 (hypoteticalnumber) cars timing. Ill take a look at the mfortner link to better understanding the problems :)
|
Re: Request: Race Timing(lap) App
It uses the GPS co-ordinates as markers for the start-finish line. I pair a bluetooth GPS receiver with the N75. I already had the GPS receiver to use with the N800. I bought the used N75 for $60 USD. It is the cheapest solution I could find for lap time data logging.
|
Re: Request: Race Timing(lap) App
Thanks for the info guys but we were thinking about a manual system, the gps is cool but we want to be able to keep the time of 3 or 4 cars on a single tablet.
I tryed to do somthing in js(keeping only time for one) but even with webkit it did not keep true time, it does on my pc but not on my tablet. http://web.holtengineering.com:10080/stop.html I know if I did this in python or even compiled it, the time would be true. Guese I will be trying to learn python when I have free time. |
Re: Request: Race Timing(lap) App
if the manual solution and 5 cars are enough the application sound like a breeze. With your skill write that application in python could be really easy. Im still working on my 1st python application (a clock) and learning this language is a joy :). Im sure we can have something working in few days
|
Re: Request: Race Timing(lap) App
this is what I came out, if you prefer to keep the laps on top a solution could be to rotate everythin 90 degrees (to still have enough space for the laps buttons. https://garage.maemo.org/frs/downloa...ace_teaser.png
is just a mockup but is something I could work on (I like to see where my results are going to be show :) ) In case you would give a try I use python+pygame (so I dont have to loose my mind with gtk interfaces and hildonizations) and since the games are always time critical I think pygame is the best solution for this kind of apps. My clock sources are here: you can probably find everything you need to write the code by yourself. Being my 1st python app is very simple (and often not very python) so u can easily take the things you need (maybe just start with the very 1st versions to see how access the timer and manage a bit the numbers. Im sure is not the best code and you can probably find a lot of better way to do the things (Im not a programmer) but its a begin and show all the python tricks you probably need :) https://garage.maemo.org/frs/?group_...elease_id=2364 good luck |
Re: Request: Race Timing(lap) App
fighting with the jetlag and the usual sunday's big meals digesting problems give me al lot of spare nights time so I need things to keep me busy :o
https://garage.maemo.org/frs/downloa...343/nrace01.gz https://garage.maemo.org/frs/downloa...screenshot.jpg This 0.1 count the time in 100th of seconds, no rank, no sotp button, no race stats and just 1 car working: if ericdkirk is still around and would give me a bit of feedback to check if this is what he had in mind I can complete the application (everything should be more or less there, just need to pack the tuples and dust off a bit the things. To launche the program should be enough unpack the gz somewhere, launch with the Code:
python nrace.pyIn case installing some python program like this should solve everything: https://garage.maemo.org/frs/downloa..._0.050_all.deb :) In any case the app should work on any pc windows/linux/mac/sun/amstrad/amiga capable of running python+pygame. |
Re: Request: Race Timing(lap) App
Found this [link1] [link2] and it is very close to what I am looking for but it does not seem to work with the newer gtk that is on my tablet now. It is shown working on a 770 but this was in '06 and the versions must have changed. I tried to get it working but I do not have the skills, it seems to be not making the gtk window right. I will play with it latter but do not expect much success.
|
Re: Request: Race Timing(lap) App
|
Re: Request: Race Timing(lap) App
Same here, I am sad to say the neither of your scripts would run on my N800 it was mad about some font. Thanks for the effort though.
Code:
Nokia-N800-23-14:/home/user/MyDocs/nrace01# python nrace.py |
Re: Request: Race Timing(lap) App
strange... to avoid this kind of errors I usually pack everything I can with the application: the nosnb.ttf font (a standard nokia font on the n810) should be under a directory data at the same level of nrace.py togheter with the background pic, in your case:
Code:
/home/user/MyDocs/nrace01/the Code:
----NotImplementedError: font module not available----should be possible to test if you have that pygame module installed using the python commandline: Code:
python(retyping the import pygame.font a second time shoudl give you a cleaner feedback (no feedback at all in case of success) To see the different answers you could try to import another pygame module less 'exotic' like: Code:
>>>import pygame.eventCode:
>>> import pygame.IHATEPYGAMECode:
File "<stdin>", line 1, in <module>https://garage.maemo.org/frs/downloa...nrace02.tar.gz buonanotte :) |
| All times are GMT. The time now is 03:24. |
vBulletin® Version 3.8.8