wellenvogel / avnav Goto Github PK
View Code? Open in Web Editor NEWusing the raspberry pi as a nav computer
License: MIT License
using the raspberry pi as a nav computer
License: MIT License
reported by Christian:
Auf dem Ipad unter Safari gibt es folgendes Problem:
Tippe ich auf der Karte auf ein AIS Ziel, so wird kurz die Tabelle der AIS Ziele angezeigt und dann sofort wieder die Karte. Manchmal springt er aber auf der Karte zu einem ganz anderen AIS Ziel und wechselt ggf. auch den Kartenausschnitt dahin.
Gleiches Verhalten habe ich auf dem Ipad auch mit den Browsern iCab und Mercury.
When the boat is moving and there are no tiles for the current zoom, avnav should automatically switch to a lower zoom level. When moving further and reaching an area with higher zoom level tiles, it should zoom in again.
Hallo Andreas,
hier ist ein Bug: wenn in avnav/data/routes kein default.gpx existiert, die Route, die über Web oder SSH hochgebeamt wurde, in Routen-manager ist versteckt und nicht aktivierbar. In Download-Manager ist aber sichtbar und kann gelöscht werden.
Regards
free-x
With the current multi hostapd setup we still can run into issues where an USB wlan adapter ends up at wlan1. Altough this can easily be solved by editing the udev rules file this is still hard for not that skilled people.
On the other hand it should be easy to also prepare a wlan / hostapd config for wlan1, thus giving connectivity out of the box.
The current widget handling is much too complex and prevents easy extensions.
The goal is to redesign it using the following targets:
There should be the possibility to have an anchor alarm.
Currently changig the wlan password requires to edit cfg files in the system partition. This is rather difficult for people not being familiar with linux.
So there should be an easy way to do this.
There could be a file in the boot partition that will be included in the hostapd conf.
This can easily be edited before starting at all.
From play store:
java.lang.NullPointerException
at de.wellenvogel.avnav.main.SimpleFileDialog.chooseFile_or_Dir(SimpleFileDialog.java:146)
at de.wellenvogel.avnav.main.AvNav$10.onClick(AvNav.java:481)
at android.view.View.performClick(View.java:3528)
at android.view.View$PerformClick.run(View.java:14235)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
at dalvik.system.NativeStart.main(Native Method)
Android 4.0.3 - 4.0.4
Xperia Miro (ST23i)
If you have saved a route on the RasPi and you will download it via the download function, it fails.
See screenshot attached.
Hey Andreas,
Ich habe über das Programm Sat2Chart Navionicskarten aus "SASPlanet" im mbtiles-Format für OpenCPN bezogen. Bei der Konvertierung der Karten in ein AVNAV-Kompatibles Format ergibt sich folgende Fehlermeldung:
2020/06/06-17:54:43 ERROR: Traceback (most recent call last):
File "C:\Program Files (x86)\AvNavNet\chartconvert\read_charts.py", line 1786, in
main(sys.argv)
File "C:\Program Files (x86)\AvNavNet\chartconvert\read_charts.py", line 1725, in main
sys.exit(1)
SystemExit: 1
ERROR: Traceback (most recent call last):
File "C:\Program Files (x86)\AvNavNet\chartconvert\read_charts.py", line 1786, in
main(sys.argv)
File "C:\Program Files (x86)\AvNavNet\chartconvert\read_charts.py", line 1725, in main
sys.exit(1)
SystemExit: 1
***Converter finished ***
2020/06/06-17:54:43 ERROR: conversion failed
Die mbtiles-Datei verfügt über zwei Zoomstufen!
Danke für die Arbeit!
Grüße!
-Hartholz
It would be nice to see a dynamic adapted length of the course vector (and possibly the course vectors of AIS objects) according to ships speed.
In other words: My ship will be 'here' (at the end of the course vector line) in 10 mins
So it would be easy to determine the estimated position in the future to aid navigation i.e. crossing high frequented traffic separation areas or to avoid collision in general
thb: „Navigation Display / Color“ ein Quelltextfragment
avnav-raspi-2016-03-18
When using a serial writer we see an exception.
https://www.segeln-forum.de/board1-rund-ums-segeln/board35-bootstechnik-und-elektronik/43757-raspberry-pi-als-bordcomputer-spielzeug-f%C3%BCr-den-winter/index39.html#post2001896
Some gps sensors provide data that is varying very fast. This potentially makes the course and speed display hardly usable as we currently just take the snapshit value of the time of query.
There should be an option to average those data over n periods
We should be able to parse and display more nmea data. On the server side this should be handled by some pluggable architecture to be able to add new parsers on the fly. On the viewer we should have a widget approach with the ability to select the widget to be displayed at various positions (nav page, gps page). Potentially more gps data pages. There should be some options to easily add more standard widgets (i.e. no dedicated graphical stuff but simple value formatting).
To remotely supervise the own ship it would be helpfull to have some AIS alarm that will fire if a selected AIS target leaves a range.
Hi Andreas,
According to https://www.segeln-forum.de/board1-rund-ums-segeln/board35-bootstechnik-und-elektronik/p2012042-raspberry-pi-als-bordcomputer-spielzeug-f%C3%BCr-den-winter/#post2012042, I started implementing this extension. You can see the progress in my repository
https://github.com/free-x/avnav/tree/udpwriter
It's not working yet. I'm having problems instantiating. If you have idea, would be very grateful for any tip
Regards
free-x
parsing empty DPT or DBT string throws an error.
At least Standard Horizon and my Airmar DST 800 generate a valid NMEA0183 message without values when no valid measurement is possible (in case of too deep water or too shallow water)
This is more or less cosmetic, but spamming the log file (regarding IO operation on the SD card). Maybe that could be catched in some way.
Traceback (most recent call last):
File "/usr/lib/avnav/server/avnav_nmea.py", line 341, in parseData
rt['depthBelowTransducer'] = float(darray[1])
ValueError: could not convert string to float:
2020-07-21 21:10:21,735-615-[ 933]-GpsdFeeder[standalone feed]-INFO- error parsing nmea data $SDDBT,,f,,M,,F*28
The desktop converter should also be able to convert and erge mbtiles.
as discussed in #57 currently AvNav inverts the meaning of xyz and tms when using mbtiles. This should be corrected.
Hallo @wellenvogel ,
wie schon früher angedeutet, habe ich diesen Winter mich mit N2K beschäftigt. Quick&Dirty läuft das schon.
Habe für experimente Waveshare CAN Hat benutzt.
dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=25,spimaxfrequency=1000000
#physical can interfaces
allow-hotplug can0
iface can0 can static
bitrate 250000
down /sbin/ip link set $IFACE down
up /sbin/ifconfig $IFACE txqueuelen 10000
sudo aptitude install can-utils
sudo tar xzvf canboat.tar.gz -C /
candump can0 | candump2analyzer | analyzer -json | n2kd
<AVNSocketReader host="127.0.0.1" port="2599" />
That's all.
Falls man als Zubringer irgendwelche Actisense, YachtDevices in raw modus benutzt.
actisense-serial -s 230400 -r /dev/ttyUSB0 | analyzer -json | n2kd
Jetzt kommt die Frage ;-)
Soll das als Handler laufen? Oder lieber so lassen?
Ideen? Kommentare?
Gruß
free-x
canboat.tar.gz
To be able to replace the map layer, the overlays for nav, track, route, ais should be independent on a separate canvas.
Hi @wellenvogel ,
i have an idea for extension: what if AIS symbols should be displayed differently depending on the type of ship?
For Leaflet e.g. there was a plugin https://github.com/PowerPan/leaflet-ais-tracksymbol
Greetings
free-x
Currently a route is always handled in the sequence of the points created.
It would be helpful to be able to invert the route.
There seems to be a change in the touch handling in chrome. This brakes pan on ol3
On Android (newer versions) avnav repeatedly plays a notification sound.
Users ask for the ability to change the display units - e.g. km/h for speed.
To interact with signal-k we will follow a stepwise approach:
This issue addresses (2).
On the route page the length is shown in meters.
If you have added values for all three cirles under "Settings -> Navigation" tab, only one or two are shown in the maps.
Example:
Circle1: 460
Circle2: 950
Circle3: 1852
In this case the 1852 and 950 meter ring are shown. The 460 meter ring is still missing. In higher zoom levels too.
Hi Andreas,
I know it's too soon, but in the future. AvNav needs python-imaging pre-installed.
Line 153 in 7283ef8
Unfortunately this package is not available in Debian Buster. The "requires" should then rather use python-pil
Regards
free-x
The anchor watch mode displays the wrong distance to anchor.
It says "m" on the label (which would be optimal) but instead seems to display in nm.
there should be a display for history data. Berthold provided an initial implementation (see branch).
To better embed this we need:
Route navigation is already implemented and seems to be quite good.
Also defining waypoints for a route is implemented.
So there should be already a management of a waypoint list implemented.
Above mentioned enhancements doesn't necessarily need more menues or buttons to keep the UI simple.
Thanks for this nice piece of navigational app I really appreciate it :-)
The udp writer needs some waiting time if there is no data in the feeder - like all other handlers.
There is a bug in the track handler at the server side that prevents the track from being drawn.
when configuring AVNSerialWriter this does not work. No data is send via the serial line.
The XTE display does not show at all or is flickering
There should be options to change the layout interactively. This way you should be able to select what will displayed at which position. Requires #13
The AIS object arrow should be have a (possibly configurable) outline around it. This would come handy on crowded maps or maps with a lot of text and would let the AIS objects pop out more
The layout should be optimized for smaller screens.
when ownMMSI is set in AVNConfig it is not detected correctly by the data handler
version 2014-09-07
Wenn man einen glatten Breiten- oder Längengrad überschreitet, zeigt
die Anzeige unten im Browser nach 009° 59.99'E erst 009° 60.00'E und dann nach der Linie 010° 00.00'E an.
Das passiert nur bei einem Wechsel der Gradzahl.
It would be nice to have an integration for such a stick including the option to set the pin.
When setting a route and later restarting the app on the tablet the changes of the route are lost.
Additionally the changes are not becoming active in the AP handling
release-2015-01-25
Currently when editing the active route there is no easy way to create a new route - when changing the name the new route always becomes the active one.
There should be an option to create a new route without making it active immediately.
Currently the Ais computation has some limits/bugs:
It is confusing that altough the watched target changes we immediately jump to the boat position.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.