Thread
:
n810 as a biking computer?
View Single Post
aki
2009-03-22 , 21:28
Posts: 39 | Thanked: 22 times | Joined on Nov 2007 @ Vancouver, BC
#
1
Since I didn't see anything like it yet, I've just thrown this up.
It's an incredibly crude program (It's my very first maemo app and even C!) so good luck with it
It works for me so perhaps someone else might possibly find it useful
.
It shows the
current speed
distance travelled
time elapsed since program start
a 500 second graph of speed
current time
It throws the data it gets from gpsd into a file in the same directory as the binary called "gps_log.txt". I was hoping that I could get the nmea data but couldn't quite figure it out. It also keeps the screen on during use via display_blanking_pause osso call.
I've given up on the internal GPS and use an external bluetooth one instead.
It's just a single binary and you can
download the bashed together version
Note, I had to update /var/lib/gps/gps_BT_devices before it recognized my external gps. Not sure what's up with that. Writing in gtk/hildon/etc is still kind of voodoo for me.
It's rather inaccurate. I'm up to 5km/h sitting down and when walking around, I've managed to get to 15km/h. I've got really long legs!
Tried using the velocity data from gpsd but I only received that information intermittently so I'm now just calculating the velocity myself using a 5 second average.
If anyone thinks they could do a better, job, well, PLEASE DO!
I got a wee bit desperate so ended up throwing this together. I'd be thrilled if someone that knew what they were doing could code something.
Quote & Reply
|
The Following 3 Users Say Thank You to aki For This Useful Post:
ciroip
,
danramos
,
sjgadsby
aki
View Public Profile
Send a private message to aki
Visit aki's homepage!
Find all posts by aki