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:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web-based autopilot route
#24
True. Ok, I think I can think of a suggestion from a functional point of view.

The following is a screenshot from Freeboard and depicts the menu bar from which the routes can be drawn:


[Image: 2021-10-09-16-42-22-Any-Desk.png]

When a route is set-up it may look as follows:

[Image: 2021-10-09-16-43-57-Any-Desk.png]

When you select the route you can press "Activate"

[Image: 2021-10-09-16-45-01-Freeboard-and-2-more...t-Edge.png]

And the active route looks like this:

[Image: 2021-10-09-16-46-12-Any-Desk.png]

When activating this route I am not sure what "technically happens" within SignalK, if any sentences might be updated. 
You will see in the left-below corner some readings that are relevant to keeping a correct course that will enable you to manually follow that route.
I guess that somewhere in that same screen a button that says "engage AP" would be very nice. 

At this moment the closest I can get to accessing the autopilot remote is: I am able to add the pypilot flask webapp to the right side splitscreen, if using signalk-app "KIP" and put 10.10.10.1:*port to pypilot":

[Image: 2021-10-09-16-47-22-Any-Desk.png]

Don't have KIP installed at the moment, but that will then be located at the right side of the screen in the white area. This will then just show the pypilot remote so no real "integrated" functionality. 

This was in terms of how I see it working in a functional way for me personally.
Technically I can think of the following scenario's although I am in no way an expert:

- Users must be able to send the route created in freeboard to an OpenCPN instance. However even if this is possible the user must then again go to OpenCPN, activate the route and then according to the OpenCPN settings will send the proper autopilot (APB?) messages to Pypilot. My guess is that an OpenCPN plug-in must be built for this that will somehow "listen" to a route that is being received (as an automated export?) from Freeboard. The plug-in will then make sure that that route is automatically accepted and activated in OpenCPN. If OpenCPN is configured correctly to send the APB messages to Pypilot, you can then just use the Pypilot Flask web application to enable / disable autopilot. If a route is active, GPS mode will probably be automatically engaged and the route will be followed. For all this, OpenCPN must be activated in the background though.
- Users must be able to activate a route in Freeboard. All APB messages will be generated by either Freeboard, or a SignalK plug-in or data connection? However, I can imagine that it is difficult to replicate the logic (that is already present in OpenCPN) needed for this. However, I consider it a possible advantage because no running OpenCPN instance is needed so probably less CPU/RAM resources required. But, on the other hand I am not sure what the calculation of a future Signalk plug-in might need for the same requirement. I am not sure if Freeboard can calculate all the values needed to let an autopilot know when a course correction needs to be executed. And, if some kind of functionality like this is possible I can also imagine that users will definitely want to finetune the behavior.
- When it comes to route following behavior I know Sean that you have developed a really cool OpenCPN route plug-in. This enables the user to configure some settings. One of which I remember was when to engage the new course (if next waypoint is at X meters, then engage next waypoint). Some time ago we have discussed in another post that some users including me had trouble that the plug-in kept crashing. We didn't yet got to fixing that problem. But, anyway my point being is that the main idea of this plug-in is awesome. Just thinking out loud here, if Freeboard or SignalK have the capability of doing something similar might it be an idea to put this functionality there.

So far my ideas, hope they might be of any added value. Also really curious about your thoughts.

Kind regards,

Jamos
Reply


Messages In This Thread
RE: Web-based autopilot route - by seandepagnier - 2020-08-16, 08:45 PM
RE: Web-based autopilot route - by rastam4n - 2020-08-16, 11:06 PM
RE: Web-based autopilot route - by fosterdavid - 2020-08-24, 11:50 AM
RE: Web-based autopilot route - by seandepagnier - 2020-08-17, 07:20 PM
RE: Web-based autopilot route - by tkurki - 2020-08-18, 09:15 PM
RE: Web-based autopilot route - by seandepagnier - 2020-08-19, 02:44 AM
RE: Web-based autopilot route - by emilecantin - 2020-08-19, 11:02 PM
RE: Web-based autopilot route - by seandepagnier - 2020-08-22, 03:18 AM
RE: Web-based autopilot route - by emilecantin - 2020-08-22, 04:14 AM
RE: Web-based autopilot route - by rastam4n - 2020-08-19, 03:09 AM
RE: Web-based autopilot route - by seandepagnier - 2020-08-22, 05:13 AM
RE: Web-based autopilot route - by tkurki - 2020-08-22, 12:07 PM
RE: Web-based autopilot route - by seandepagnier - 2020-08-24, 03:28 AM
RE: Web-based autopilot route - by tkurki - 2020-08-23, 08:18 PM
RE: Web-based autopilot route - by seandepagnier - 2020-08-25, 03:45 AM
RE: Web-based autopilot route - by emilecantin - 2020-08-25, 02:02 PM
RE: Web-based autopilot route - by seandepagnier - 2020-08-25, 04:19 PM
RE: Web-based autopilot route - by seandepagnier - 2021-10-09, 02:28 AM
RE: Web-based autopilot route - by jamos.tan@gmail.com - 2021-10-10, 10:53 AM
RE: Web-based autopilot route - by tkurki - 2021-10-11, 07:01 PM
RE: Web-based autopilot route - by rastam4n - 2021-10-11, 11:24 PM
RE: Web-based autopilot route - by Stager - 2021-10-12, 09:21 AM
RE: Web-based autopilot route - by Stager - 2021-10-12, 01:43 PM
RE: Web-based autopilot route - by SVHM - 2021-10-11, 02:04 AM
RE: Web-based autopilot route - by seandepagnier - 2021-10-11, 04:51 AM
RE: Web-based autopilot route - by rastam4n - 2021-10-11, 02:27 PM
RE: Web-based autopilot route - by SVHM - 2021-10-11, 02:37 PM
RE: Web-based autopilot route - by seandepagnier - 2021-10-12, 12:38 AM
RE: Web-based autopilot route - by Stager - 2021-10-14, 01:05 PM
RE: Web-based autopilot route - by Stager - 2021-10-14, 02:25 PM
RE: Web-based autopilot route - by seandepagnier - 2021-10-15, 03:47 AM
RE: Web-based autopilot route - by Stager - 2021-10-20, 03:21 PM
RE: Web-based autopilot route - by seandepagnier - 2021-11-01, 02:28 AM
RE: Web-based autopilot route - by seandepagnier - 2021-11-02, 08:30 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)