wellenvogel / avnav

using the raspberry pi as a nav computer
MIT License
87 stars 27 forks source link

idea/feature request: add common classical navigation tools #322

Open quantenschaum opened 9 months ago

quantenschaum commented 9 months ago

I just came across AngelNav by Tom Cunliffe. It features some nice tools for classical chart work like you would do it on paper charts.

There are some videos on how this works and looks like. https://www.angelnav.co.uk/videos.html

It would be nice to have this available in AvNav as well.

I made a quick and dirty implementation on http://waddenzee.duckdns.org/, the icons on the left. You can use them to draw things like this on the map.

image

What do you think of this?

wellenvogel commented 9 months ago

For sure an interesting idea. One of the major issues is always to find a nice usable workflow - especially on touch devices. And currently the number of buttons at the nav page is already close to the limit. So potentially it would require some new concepts there. In the moment my major focus is at the new ocharts implementation - maybe afterwards...

quantenschaum commented 9 months ago

Or I give it a try to write a plugin...

another topic but anyways: What has changed with ocharts?

How are the charts actually rendered? Do you use an opencpn lib for that? If yes it would also be capable of renderering unencrypted ENCs like available from NOAA. Could that be supported as well?

wellenvogel commented 9 months ago

How are the charts actually rendered? Do you use an opencpn lib for that? If yes it would also be capable of renderering unencrypted ENCs like available from NOAA.

Currently the o-charts_pi plugin is used. Are you sure that it could render unencrypted ENCs (i.e. did you ever do it with the plugin)? I don't think so. OpenCPN itself can do this.

But any way the new ocharts plugin for AvNav will just reuse the license management and some basic stuff from the OpenCPN plugin - and it will be able to render S57 charts - after a conversion to the senc format.

quantenschaum commented 9 months ago

No, I don't know much about these details. The ocharts just look like in opencpn, so I thought the renderer of opencpn is used and since opencpn can display unencrypted S57 ENCs avnav could too somehow.

quantenschaum commented 9 months ago

The way you made it touch-operable, the big buttons (re-sizable!) and selection of points by clicking/touching or moving the map center to the desired location is superb! That really works in shaky conditions. Especially in rough and wet conditions I found plotters with real buttons like the B&G Zeus better to operate, touch alone might be difficult then but touch is faster and more comfortable in easier weather. My personal experience.

So, what about an additional set of buttons for other actions appearing near the touched location when you touch/click and hold a point on the map (not moving or zooming, just hold for short time)?

inspired by the Krita's Pop-up Palette

These buttons are of course and out of the way hidden but there when you need them. And you have to RTFM or try it to find out that it works like this. It's like clicking on the RTE widget in the left to edit the route. I would not have thought of it working this way, but once you know, it's perfect.

nmeyne commented 3 months ago

What do you think of this?

A nice set of features, but maybe implement them selectively? Personally I think the focus needs to be kept on graphical navigation on the tablet, without clutter, assuming a backup GPS in case of primary GPS fail. If the screen / tablet fails than a PAPER chart is our back up for plotting rather than trying to replicate all the paper chartwork on a 'dumb' screen.

So, of these nice features, rather than have fixes / EP's, I think I would like to focus on functions useful in 'graphical' screen navigation that are missing from AvNav: perhaps a course to steer line, from current position, by adding a tide/leeway vector.

For 'backup' navigation we still transfer GPS positions to our paper chart in pencil every 30mins or so, mark the time and course on it in and make an entry in the log.

Sometimes bearing and distance off enhancement is good as a fast / easy way to transfer a position fix from AvNav to the 'backup' paper chart:

  1. Find a reference point on the chart with a compass rose printed on it.... or a 'foolproof' point to place a breton plotter or similar
  2. Put a special waypoint / mark in AvNav corresponding to this point
  3. Put the display center cross on the special mark / waypoint so that AvNav continuously gives bearing (T) and distance off this reference point
  4. Use a strip of paper calibrated (from the latitude scale) with NM to set on the compass rose / reference point on the chart to quickly mark the position on the chart. Write in the time and COG. Lat and long in the log.
quantenschaum commented 2 months ago

A nice set of features, but maybe implement them selectively? Personally I think the focus needs to be kept on graphical navigation on the tablet, without clutter

It could be configurable when and how to show these tools or just have them as an optional plugin.

assuming a backup GPS in case of primary GPS fail. If the screen / tablet fails than a PAPER chart is our back up for plotting rather than trying to replicate all the paper chartwork on a 'dumb' screen.

The whole thing is also interesting from the educational point of view and it's fun to build it.

And in the very eastern parts of the Baltic Sea GPS may not work currently or gives wrong positions. The GPS unit may be fine, but the signal is bad.

So, why not turning off the GPS in that case an do the nav work manually as on paper. You can of course use paper directly, but why not doing it digitally or in combination with the paper chart?

It would also be nice to have a dead reckoning mode in the chart plotter where it start with a given fix and projects it using only on board sensor data (compass, log, wind, clock). Then you could update it manually after establishing a terrestrial fix from bearings.

perhaps a course to steer line, from current position, by adding a tide/leeway vector.

That is what you could do with these tools. - But if you have a working GPS, just make your COG match the bearing to the next WP and read your compass.

Sometimes bearing and distance off enhancement is good as a fast / easy way to transfer a position fix from AvNav to the 'backup' paper chart

This can already be done using the measurement tool.

quantenschaum commented 2 months ago

Things I would like to have which might be relatively easy to implement.

  1. show bearing and reverse bearing in the measurement tool (for bearing from boat vs bearing from object)
  2. (allow to) show magnetic bearing value to be able to directly draw a compass bearing line
  3. allow multiple measurement lines be on the chart simultaneously, allows making a cross bearing