Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

pypilot programmed control (node-red?)

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!


This post first appeared on Piter, please read the originial post: here

Share the post

pypilot programmed control (node-red?)

×

Subscribe to Piter

Get updates delivered right to your inbox!

Thank you for your subscription

×