Closed kaylathedev closed 8 years ago
epc is the error for the vertical (climb) speed. It's strange that the key is missing since you have a 3D fix and your GPS does return a vertical speed.
I've added some code to use 0 as error for missing values. The fix is uploaded to pypi in version 0.1.1
It works! The get_current
function is now returning a GpsResponse
object.
I'm getting an error called, "KeyError: 'epc'" on line 69.
Here's the traceback.
I telneted into the GPSD server, and here's what I get. The lines beginning with "?" are what I typed.
I stripped out any numbers that could potentially identify my location.
It looks like that your script is looking for the "epc" key in the last "tpv" entry, but it doesn't exist.
I don't know what
epc
stands for, but all I have iseps
,epx
,epy
, andepv
which I would assume are the errors for speed, position, etc.Feel free to ask for more information if needed.