jinjirosan / BabyCarriageMonitor

Sensors on the baby carriage
GNU General Public License v3.0
0 stars 0 forks source link

No coords trips up geolocator #6

Closed jinjirosan closed 7 years ago

jinjirosan commented 7 years ago

When te geolocator receives no coords from gpsd, it crashes the whole thing.

jinjirosan commented 7 years ago

build a dependency into the while true loop to detect either "0.0,0.0" or "nan,nan" and then display custom text in location field. If there is a gps fix, and thus coords, then put the latitude/longitude in string, reverse lookup geolocator and go go go