Questions tagged [gpsd]

gpsd is a gps provider which provides the values of the current position

gpsd is a utility that can listen to a GPS or AIS receiver and re-publish the positional data in a simpler format. gpsd is a daemon that receives data from a GPS receiver, and provides the data back to multiple applications such as Kismet or GPS navigation software.

171 questions
2
votes
1 answer

Run command on GPS fix

I have GPSD running on a Linux system (specifically SkyTraq Venus 6 on a Raspberry Pi 3, but that shouldn't matter). Is there a way to trigger a command when the GPS first acquires or loses the 3D fix, almost like the scripts in /etc/network/if-up.d…
rudolfbyker
  • 2,034
  • 1
  • 20
  • 25
2
votes
0 answers

Will the GPSD supports the U-blox EVK-M8N and EVK-M8T that are based on LEA-M8 series

I read from the following links: http://www.catb.org/gpsd/gpsd-time-service-howto.html#_choice_of_hardware, and http://catb.org/gpsd/hardware.html, in which the U-blox EVK 6H is suggested to work with the open-source GPSD and NTPD for time…
coder
  • 71
  • 2
  • 7
2
votes
2 answers

GPS code not reading latitude data

I'm trying to write code that returns the latitude off a box with a GPS antenna, however I can't seem to figure out how to get this data back. The remote box is running gpsd and I can see that data is being retrieved from the GPS antenna using…
Anthony Calandra
  • 1,429
  • 2
  • 11
  • 17
2
votes
4 answers

How to calculate distance every 15 sec with using GPS heavy accuracy

I get the GPS location 3 way like Map.getMyLocation().getLatitude(), locationManager and mGoogleApiClient. but these are not helped for me for calculating distance every 15 sec. problem is location latitude and longitude are not accurately i.e I am…
Akash pasupathi
  • 304
  • 1
  • 14
2
votes
2 answers

get gps time using gpsd/libgps C

I'm trying to read data from a Adafruit ultimate gps using libgps. I've found a code example that gives me all the information I need except gps time. How can I grab the gps time that the gps sent over the serial port preferably in…
Lightsout
  • 3,454
  • 2
  • 36
  • 65
2
votes
1 answer

GPS update rate Raspberry pi Jessie Vs. Wheezy

I have scoured the internet to this problem and am unable to find any kind of answer. Here is the gist of the project and what I have done so far Project: Our school participates in sounding rocket competitions. I am in charge of payload and part of…
2
votes
2 answers

GPS App compile errors

I am working on a GPS application on the Raspberry pi. I have just installed GPSD by running sudo apt-get install gpsd gpsd-clients. I do get data from my GPS module when I run sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock. My issue resides when I…
Travis Pettry
  • 1,220
  • 1
  • 14
  • 35
2
votes
1 answer

gps device data receiving and interpreting it

I bought a GPS device (GT02A) for realtime tracking of a vehicle. Now,I want the data sent by this device (such as longitude and latitude) to be sent to my SQL database in realtime, from where a client application will be able to access and perform…
Harshit
  • 43
  • 2
  • 10
2
votes
4 answers

Write gpxlogger data to the same file

I have some very basic gpxlogger code that writes all the data to file quite well. (below) gpxlogger -d -f /home/pi/Desktop/EPQ/temp_gps/gpslog However I would like this code to always write to the same file without overwriting it. So if possible…
2
votes
1 answer

Using GPS library in Python 3

I want to use GPS library in Python 3. I came across this on https://github.com/tpoche/gps-python3 How do I 'install' these files? Should I simple copy them to my folder? Or is there any way of installing them?
srinivas
  • 21
  • 1
  • 1
  • 3
2
votes
3 answers

Python GPSD Library Import Configuration

I'm working on a writing a Python script that will interface with and pull GPSD data into an application. This obviously involves an external library. I have set up my configuration as follows on the Raspberry Pi I am using to deploy the code: sudo…
James Taylor
  • 6,158
  • 8
  • 48
  • 74
2
votes
1 answer

how to convert a timestamp_t to a real time?

ive seen so many examples using a time_t, but timestamp_t is baffling me... Im doing an assignment where we need to print out GPS data, and the gps device returns a type timestamp_t for its time stamp and its an epoch time. Ive tried using gmtime()…
user4029541
2
votes
2 answers

Compile a gpsd client in C++

I'm attempting to compile a client program of gpsd using the following command: g++ gpsClient.cpp -o gpsClient $(pkg-config --cflags --libs libgps) The source code begins like that #include The error is the following: Package libgpsmm…
galaxy
  • 159
  • 1
  • 7
2
votes
1 answer

gpsd client data buffer

I am developing a C++ application that should retrieve the received NMEA sentences of type $GPGGA, using gpsd. The idea is to read from gpsd approximately once per second and to parse the last $GPGGA received sentence, extracting the two fields of…
pabloderosario
  • 157
  • 3
  • 10
2
votes
1 answer

expose gps NMEA stream through the Android OS

I am trying to run a C application/driver on Android that reads the serial NMEA stream coming from the GPS device. I can run this driver on a Linux platform with success as long as I am reading from the correct device (Ex. /dev/ttyUSB0, ttyS0,…
jbrew
  • 145
  • 2
  • 13
1 2
3
11 12