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
how to manipulate incoming data stream?
#1
I have some old seatalk instrument, and have the data coming in over GPIO. However I find that the seatalk network is very noisy and I frequently get momentary zero values for wind or depth metrics.

As such it throws off the autopilot to the extent that is can be quite dangerous, resulting in unplanned tacks or gybes when sailing with autopilot in wind tracking mode.

Now while there is likely to be a physical problem, or several, I would like to try ignoring the obvious bad data and use last value when a zero comes through.

I think this must be fairly trivial but not sure where to start.

I'm wondering if Node Red is the answer, but will need to guarantee that the outgoing canbus data stream is using the cleaned data stream.

Do I need to write a plugin like the derived data plugin?
Reply


Messages In This Thread
how to manipulate incoming data stream? - by barrymac - 2021-09-16, 01:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)