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
Using i2c temperature from openplotter in Pypilot
#6
How would xdr encapsulate it?

Already sensors in pypilot can have different sources such as:

1) gpsd
2) arduino motor controller
3) nmea serial
4) nmea tcp

If the data is available from more than one source, the one with most priority (roughly that order) is taken.

So it would not be difficult to support nmea drive motor temperature at all, but the real question is, what nmea sentence and what format would be used?

It is also feasible to support additional possible 2 sources
1) signalk client - a client connects to pypilot and provides the data
2) signalk node server - pypilot is given the ip of a signalk node server from which to receive data

The first option is relatively easy but I don't see any use cases yet, unless it could be the node server which provides the data as a client. The second option I am not as sure how to deal with, but it would likely need additional info, like which keys it should subscribe for which host.
Reply


Messages In This Thread
RE: Using i2c temperature from openplotter in Pypilot - by seandepagnier - 2019-08-16, 02:06 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)