Simple example of accessing gpsd from C code

Posted: November 24th, 2009 | Author: | Filed under: Handhelds | Tags: , , | No Comments »

Code:

http://zedstar.org/tarballs/gpstest-0.1.tar.gz

From the README:

A simple GLib based program which periodically reads coordinates from gpsd.

The logs directory contains a sample gps log which can be fed to gpsfake:

gpsfake 1334-N-20071129-GTA01-A3.log

Make sure gpsd is not running before attempting to run gpsfake.

The data was taken from a Neo 1973 in central London. It will take a moment
to start showing coordinates.

** edit ** This example needs updating to work on newer GPSD versions


Adding back cdt support to eclipse (karmic koala)

Posted: November 24th, 2009 | Author: | Filed under: General | Tags: , , | No Comments »

Currently the eclipse-cdt package is missing from Ubuntu 9.10. To install cdt support do the following:

Fire up eclipse:

  1. Help->Install New Software
  2. Click Add
  3. In location add: http://download.eclipse.org/tools/cdt/releases/galileo

You should be able to select this now from the drop down box titled “Work with:”

Follow it through and it will install what you need. My previous C/C++ view was ghosted so I added it again.