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
#8
(2019-08-16, 02:06 PM)seandepagnier Wrote: How would xdr encapsulate it?
...
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?


XDR is essentially key-values, something like

$IIXDR,<SignalKPath>,<value>,<SIUnit>,<SignalKSourceId>*XX

This would allow transmitting any SK values over NMEA0183. Then all we need to do is to come up with a path for autopilot motor temperature and whatever else would be useful. This would allow OpenPlotter installations easy path to wire I2C or 1-wire sensors.

Like I said writing a plugin that produces XDR with a configuration UI for picking the paths is pretty straightforward.

Naturally directly using SK is a possibility as well. If we agree on the path then either way, client or server, would work.
Reply


Messages In This Thread
RE: Using i2c temperature from openplotter in Pypilot - by tkurki - 2019-08-20, 08:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)