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 use one gpio button to engage and disengage py-pilot
#5
(2024-05-02, 05:10 PM)Sailoog Wrote: I am thinking of adding some pypilot actions to the openplotter-notifications app so that some pypilot controls can be triggered by predefined notifications in the Signak k server. This would include GPIO states, environmental conditions, any onboard sensor state... the possibilities are endless. Obviously, this should be handled with extreme care.

Initially I only would include:

ap.enabled
ap.heading_command
ap.mode
ap.tack.direction
ap.tack.state

This would also solve Steve's request because in openplotter-gpio app you can generate notifications using any GPIO.

Any suggestion?

This could work, but my main concern would be for manual control and the amount of delay time or lag to trigger events this way. It might end up being a lot less responsive. For other actions such as listed here, this is not very important.

Maybe it would be better to instead assign gpio to signalk, or pypilot or other apps similarly to assigning other hardware such as gps or serial ports?
Reply


Messages In This Thread
RE: How to use one gpio button to engage and disengage py-pilot - by seandepagnier - 2024-05-02, 08:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)