Gpsd: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Where =
== Where ==
 
I will be running gpsd in a docker container on [[Bellman]] to set up my Magnavox reference station.


gpsd home: http://gpsd.berlios.de/
gpsd home: http://gpsd.berlios.de/


Current version: 2.94
I used to have extensive instructions on how to set up gpsd on an old Mac Book Pro.
Now the instructions look like this, for now anyway.


The Mac port: version 2.38 http://gpsd.darwinports.com/
docker pull forcedinductionz/docker-gpsd
docker run -it -p 2947:2947 --device=/dev/ttyAMA0 forcedinductionz/docker-gpsd -D2 /dev/ttyAMA0


My Mac: MacBookPro running 10.6.3 (Snow Leopard).
By using docker I avoid installation issues of getting it going on a Mac. I still have to configure it. Not able to do that at the moment. (My GPS receiver is packed in a box.)


= What and why =
== What and why ==


gpsd is a service that listens to one or more gps receivers and makes the received data available over a network connection. It understands a wide variety of binary protocols.
gpsd is a service that listens to one or more gps receivers and makes the received data available over a network connection. It understands a wide variety of binary protocols.


The reason to run it on a Mac laptop is to make the signal available to programs needing time and location services in a way that is flexible and device independent.
=== Receivers ===
 
I use virtual machines, so I should be able to let a program running on any virtual machine connect to the gpsd host running on the Mac.
 
== Receivers ==


All the receivers I have currently are covered:
All the receivers I have currently are covered:
Line 27: Line 27:
*UBX
*UBX


= How =
== What you get ==
 
Besides the daemon "gpsd", of course...
 
In /usr/local/bin, you will find
 
* lcdgps
* gpxlogger
* gpspipe
* gpsmon
* gpsdecode
* gpsctl
* cgps
 
=== Position ===
 
=== Time ===
 
== Python integration ==


There is no need to do anything special, at version 2.94 it builds out of the box on Snow Leopard.
I need to put a short python script here...


unpack tarball
[[Category: GPS]]
./configure
make
sudo make install

Latest revision as of 19:08, 25 July 2017

Where

I will be running gpsd in a docker container on Bellman to set up my Magnavox reference station.

gpsd home: http://gpsd.berlios.de/

I used to have extensive instructions on how to set up gpsd on an old Mac Book Pro. Now the instructions look like this, for now anyway.

docker pull forcedinductionz/docker-gpsd
docker run -it -p 2947:2947 --device=/dev/ttyAMA0 forcedinductionz/docker-gpsd -D2 /dev/ttyAMA0

By using docker I avoid installation issues of getting it going on a Mac. I still have to configure it. Not able to do that at the moment. (My GPS receiver is packed in a box.)

What and why

gpsd is a service that listens to one or more gps receivers and makes the received data available over a network connection. It understands a wide variety of binary protocols.

Receivers

All the receivers I have currently are covered:

  • DeLorme Earthmate
  • Garmin
  • NMEA
  • SiRF
  • Trimble TSIP
  • UBX

What you get

Besides the daemon "gpsd", of course...

In /usr/local/bin, you will find

  • lcdgps
  • gpxlogger
  • gpspipe
  • gpsmon
  • gpsdecode
  • gpsctl
  • cgps

Position

Time

Python integration

I need to put a short python script here...