Navit and gps : how to do linux setup in under an hour

290 views
Skip to first unread message

David Lyon

unread,
Dec 17, 2011, 1:11:38 AM12/17/11
to sydney-h...@googlegroups.com
I just got a gps module from the post and plugged it into
an arduino and can see NMEA data and forward that onto
the pc at 4800bps on /dev/ttyUSB0. Great !!

That's where the fun stops..

How to setup Navit on ubuntu (reasonably quickly)? sudo apt-get
install navit - worked.

~/.navit/navit.xml - doesn't exist. Do I have to make an xml
config file from scratch?

gpsd - not picking up data from the gps. I couldn't see anyplace
where to set the serial port to run at 4800bps. I can see data stream
in arduino serial monitor.

maps. Don't have any maps. Where to get some just for sydney.

Thanks in advance.

Terry Dawson

unread,
Dec 17, 2011, 3:14:07 AM12/17/11
to sydney-h...@googlegroups.com

Terry Dawson

unread,
Dec 17, 2011, 3:18:28 AM12/17/11
to sydney-h...@googlegroups.com
On Sat, Dec 17, 2011 at 5:11 PM, David Lyon
<david.lyon...@gmail.com> wrote:
> How to setup Navit on ubuntu (reasonably quickly)? sudo apt-get
> install navit - worked.
>
> ~/.navit/navit.xml - doesn't exist. Do I have to make an xml
> config file from scratch?

zless /usr/shares/doc/navit/README.Debian

> gpsd - not picking up data from the gps. I couldn't see anyplace
> where to set the serial port to run at 4800bps. I can see data stream
> in arduino serial monitor.

Edit /etc/default/gpsd.
Modify DEVICES to read:
DEVICES="/dev/ttyUSB0"
Restart gpsd:
/etc/init.d/gpsd

regards
Terry

David Lyon

unread,
Dec 17, 2011, 3:34:37 AM12/17/11
to sydney-h...@googlegroups.com
On Sat, Dec 17, 2011 at 7:18 PM, Terry Dawson <vk2...@gmail.com> wrote:
> Edit /etc/default/gpsd.
> Modify DEVICES to read:
>    DEVICES="/dev/ttyUSB0"
> Restart gpsd:
>   /etc/init.d/gpsd

Thanks Terry. I found also that all necessary data wires need to be
connected. When I found xgps, it was easy to track down the problem.

Now Navit shows the vehicle location properly. Except no maps because
they aren't loaded. That's the next thing to track down but shouldn't be
so hard I guess.

David Lyon

unread,
Dec 17, 2011, 8:14:21 PM12/17/11
to sydney-h...@googlegroups.com
Double thanks Terry.

That was the exact setting I needed. Would've taken me some time
to find that.

Reply all
Reply to author
Forward
0 new messages