Thread
:
N900 as bike computer?
View Single Post
Flandry
2010-06-12 , 13:11
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#
55
So, there's some strange behavior. It seems the refresh rate of the device file increases as the button press-rate increases, but to what extent i don't know because i can only press the button so fast.
So, here's a very basic app to poll presses and report the frequency and approximate speed (based on 2m/revolutiion). Do you have a "real" bike computer to test its accuracy? If not then if you could check to see that it seems to scale up to higher than 5 Hz accurately, it may be worth putting more time into (i.e. GUI etc).
I ended up stripping out everything besides a basic polling loop, so it's very simple right now.
Suggested means of basic testing (in absence of "real" bike computer): flip bike and spin wheel. Note speed reported. Increase speed of spin slightly and check that reported speed increases slightly. Repeat...
Oops, to run the app, type /opt/maemo/usr/bin/maebike.sh. I forgot to take out the trigger file so you have to run that script twice after you kill the app (ctrl-c) to run it again.
Attached Files
bike.deb
(6.4 KB, 97 views)
__________________
Unofficial PR1.3/Meego 1.1 FAQ
***
Classic example of arbitrary Nokia decision making.
Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME
: an arcade in your pocket
Accelemymote
: make your accelerometer more joy-ful
Last edited by Flandry; 2010-06-12 at
13:21
. Reason: Instructions
Quote & Reply
|
The Following 2 Users Say Thank You to Flandry For This Useful Post:
KiberGus
,
Nikem
Flandry
View Public Profile
Send a private message to Flandry
Find all posts by Flandry