View Single Post
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
  1. current speed
  2. distance travelled
  3. time elapsed since program start
  4. a 500 second graph of speed
  5. 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.
 

The Following 3 Users Say Thank You to aki For This Useful Post: