After getting the adafruit display on another post on this blog working I thought, I wonder if I could get a sat nav working on it?
Firstly:
sudo apt-get install navit
Sudo apt-get install gpsd gpsd-clients python-gps emacs
sudo apt-get install subversion freeglut3-dev imagemagick libdbus-1-dev libdbus-glib-1-dev libdevil-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libgarmin-dev libimlib2-dev libpq-dev libqtwebkit-dev librsvg2-bin libspeechd-dev libxml2-dev ttf-liberation
the compiler and other stuff needed:
sudo apt-get install gcc cmake zlib1g-dev libpng12-dev libgtk2.0-dev librsvg2-bin
sudo apt-get install libglc-dev freeglut3-dev libgl1-mesa-dev libfreeimage-devlibqt4-dev libgps-dev espeak
then we need the latest navit repo
mkdir navit-build
cd navit-build
cmake ~/navit
make
if you want to add POI's then this will need to be done in .CSV format and this needs to be done:
cmake --enable-map-csv ~/navit
make
then you need to find the navit.xml file to configure navit and do:
cd ~/navit-build/navit/
./navit
This will take around an hour so best to go off and do something else, then you should be ready to run.
Start gps with:
sudo killall gpsd
sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
cgps -s (cntrl c to exit)
go to the navit map sitehttp://maps5.navit-project.org/ make your map up by highlighting the area you want, choose get map and save it, rename it as something me reconisable like ukmap.bin, place it on a usb stick and plug it into the pi before copying it to the .navit directory.
The great thing with navit is you can also add poi s so technically I can make this into another cacheberry device too.
There is some stuff on raspberrypi forums about naviit, probably easy enough to set up a adafruit gps unit on the pins or via a ttl usb device. I however just used a bulk standard usb gpsr the sort you get on eBay to plug into your laptop shipped from a foreign country.
Have discovered my screen was loose as the two thin strips of tape holding it on wasn't sticking so gorilla glue has been used and currently is placed between two cups to apply some pressure to keep in place whilst the glue does it stuff.