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 programmed control (node-red?)
#1
I have signal k, pypilot (on tiny pilot hardware), and a Raymarine Axiom MFD. When the Axiom has a course plotted it puts navigation.courseGreatCircle.bearing.trackTrue, navigation.courseGreatCircle.nextPoint.bearingTrue, and navigation.courseGreatCircle.crossTrackError onto the NMEA network and signalk is picking that up just fine. I’m wondering if there's a way to use those to inform pypilot to follow the course. I can’t imagine I'm the first to think of it in this group of genius hackers! But, if I'm the first to have this combo of hardware, and I need to figure it out, is there a way to control the pypilot (remembering it's a separate machine on the network) using Node-Red to read what it thinks is the current bearing and set its command bearing based on some math using the MFD’s info? 

I've been looking around on the forum and trying to find how I might be able to send commands to the pypilot such as "set the bearing command to 103.6º" and can't seem to figure it out. I've found a few things where it looks like NMEA commands are being sent but they seem to have other hardware involved. When I try to run a command line for pypilot on the signalK server, it doesn't find the command... do I need to install pypilot on the server even though it's running on the tinypilot hardware? What would be the best way to send such a command to pypilot if I have to build this all from scratch? I'm leaning toward Node-Red simply because I already have a dashboard I've created with it for various things and it'd be nice to consolidate. 

I’m currently heading down the ICW and being the interface between the Axiom and pypilot web site, so I've got a rough idea how the math might work, but haven't dug into how to stitch it together.

Thanks!
- Tony

Seafarer 30 
"Novaturient" 
(adj.) desiring or seeking powerful change in one’s life, behavior, or situation; the root of wanderlust 
(pronuntiation/”nO-va-‘tUr-E-ent)
Reply


Messages In This Thread
pypilot programmed control (node-red?) - by tonylmiller - 2022-12-08, 02:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)