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?)
#6
(2022-12-11, 05:06 PM)seandepagnier Wrote: the 'apb'  sensor in pypilot is used to follow routes and can receive this from nmea as well as signalk

It essentially adjusts the commanded heading and is translated (from signalk.py) as:
                'apb': {('steering.autopilot.target.headingTrue', radians): 'track'},

So basically it may be translating the wrong key.   You could try replacing it and see if it works.

I had some disagreements with the signalk designers about autopilot specifics, so there is limited integration.   For more specific commands like setting a particular heading or manual control you could communicate directly with pypilot or invoke pypilot_client

As for sailing down the ICW,   where are you?   I am in st augustine.

Shoot! I just left St. Augustine this morning and am at Fort Matanzas tonight. I wish I'd have checked this thread earlier!

I'd not had time to do much with this as I lost my shaft the day I'd hoped to test this, and have been running to try to catch up some and am just looking into it again today. The GPS function goes live on pypilot, now, and it seems to be getting numbers for the heading*, but it doesn't follow the course. When you say to try replacing the key, where do I go about that? 

* I say seems to be getting numbers because it's getting some numbers but they don't appear to be the same numbers as the pypilot compass gives nor what the Raymarine unit gives... so I'm not sure exactly where it's coming from.
- 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
RE: pypilot programmed control (node-red?) - by tonylmiller - 2023-01-18, 10:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)