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
Getting wind data into Pypilot
#26
Any chance you can rerun without the nmea stream with:

Code:
diff --git a/pypilot/signalk.py b/pypilot/signalk.py
index da9230c..15b9180 100644
--- a/pypilot/signalk.py
+++ b/pypilot/signalk.py
@@ -343,7 +343,7 @@ class signalk(object):
             try:
                 self.receive_signalk(msg)
             except Exception as e:
-                debug('failed to parse signalk', e)
+                debug('failed to parse signalk', msg, e)
                 return
             self.keep_token = True # do not throw away token if we got valid data

I put this now for better debugging info.

Its because you have a different setup from me. My homemade wind sensors output nmea0183, so they are different from yours in the signalk generated and always have either $source or source and talker.
Reply


Messages In This Thread
Getting wind data into Pypilot - by kniven - 2022-08-12, 07:53 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-15, 02:52 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-13, 10:40 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-15, 04:38 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-15, 07:42 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-15, 11:44 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-16, 08:49 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 09:45 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-16, 05:39 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 06:21 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 11:38 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-19, 06:32 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-17, 07:29 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-19, 08:10 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-20, 06:52 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 07:56 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 09:47 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-22, 12:57 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 01:53 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-22, 03:31 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-23, 07:47 AM
RE: Getting wind data into Pypilot - by seandepagnier - 2022-08-22, 07:28 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-23, 10:44 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-27, 11:15 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-28, 01:29 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-27, 06:32 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-28, 05:42 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-29, 12:32 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-29, 06:30 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 05:32 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 06:08 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 07:55 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 09:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)