This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pypilot steals serial GPS from signalk
#14
(2024-03-26, 04:28 PM)ironman Wrote: Agreeing to disagree, then I would do it like this:

Code:
pi@openplotter:~ $ sudo systemctl stop gpsd
Warning: Stopping gpsd.service, but it can still be activated by:
  gpsd.socket
pi@openplotter:~ $ sudo systemctl disable gpsd
Removed /etc/systemd/system/sockets.target.wants/gpsd.socket.

Doesn't work. There's gpsd.socket as well which will start up gpsd and gpsdctl@.service which will start it as well and  can't be disabled using systemctl. 
Seems stable now, been running for a while. Can't see the point of pypilot being in charge of the gps then sending it to signalk to send out on 10110. Makes no difference now if pypilot is running or not, everything still gets GPS. 
 Pypilot now looks like it gets position over tcp from signalk same as wind data. 
Code:
server setup has 6 pipes
sensor found gps tcp GPsocket0 Tue Mar 26 11:59:58 2024
ICM-20948 init complete
sensor found wind tcp IIsocket0 Tue Mar 26 11:59:58 2024

Seems to work fine so far...  Undecided
Reply


Messages In This Thread
RE: Pypilot steals serial GPS from signalk - by PaddyB - 2024-03-26, 04:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)