tiagoshibata / Android-GPSd-Forwarder

Android service to forward NMEA messages to a GPSd server
MIT License
46 stars 21 forks source link

Added Compass support #14

Open decodeais opened 3 years ago

decodeais commented 3 years ago

Hello, I searched a cheap compass for the navigation software ( OpenCPN ) Problem was to implement it as a service. Your Software does it with the GPS messages. So I decided do expand the software by a compass message ( $HDM......). What do you think about this addon ? They tried solutions with RaspberryPi /Arduinos and magnet sensors. The navigation software already supports the UDP-protocol. Your GPS makes sense as an additional backup device. I could make own version, but I am new to this kind of programming. So I would prefer when you could integrate this. I testet it and it works. Thanks

tiagoshibata commented 3 years ago

Thanks @decodeais , I'll give it a try over the weekend. How have you been testing it? Does the compass data show up on gpsmon?

decodeais commented 3 years ago

I don't know. I connected it to my navigation Software OpenCPN and it worked. In my latest branch i implented a timer to get Compass data a little faster.

Thanks

decodeais commented 3 years ago

I tried to check it with gpsmon. It seems to be blocked in gpsd. For ObenCPN it doesn't matter, because we can transmit by UDP directly without gpsd though its supported by the navigation software.