Comment on Part 2 of car Raspberry pi 4 GPS project
KaninchenSpeed@sh.itjust.works 5 weeks ago
I’m currently doing the same project.
To get gps to work on linux, you configure gpsd to get the data from your gps module and setup geoclue to get its data from gpsd. I lost the config files but I remember that I did the gpsd geoclue connection by echoing the gps data of gpsd into a netcat socket and connecting geoclue to it. Organic maps then automaticly gets its position from geoclue.
Natal@lemmy.world 5 weeks ago
I had GPSD working nicely, confirmed both by cgps -s and mongps, but I was stuck on geoclue. Whatever I did, the GPS wouldn’t send data to Organic Maps. I kept having this error: “Error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/GeoClue2/Client/1”” despite being 100% sure client1 was the right one.
Going to Lineage OS was much easier for me and I just needed a working GPS. Linux GPS will stay in the “challenge todo list”, because I’d like to figure it out eventually. I most likely was doing something stupid.
KaninchenSpeed@sh.itjust.works 5 weeks ago
I found the config files and commands in my bash history.
https://codeberg.org/KaninchenSpeed/c5-car/src/branch/main/gps