Comments (10)
when the router handler has to compute autopilot sentences like APB or RMB (by checking the relative checkboxes in the handler configuration window) it results in sending to SignalK of a JSON object that the SignalK counterpart is unable to parse. I know that the error could be on SignalK side but I'm opening this bug issue here as a starting point of the investigation.
Here after a screenshot of the error in SignalK log. The error is easily reproducible as a waypoint to reach is defined.
from avnav.
Could you please provide the details of your configuration?
So what base system, which versions of AvNav and Signalk, which connections are configured,...
Looks very strange as NMEA is no Json....
from avnav.
Good morning here's the config.
Openplotter install on:
-SBC Rock4SE 4Gb 128Gb microsd (a raspi-like SBC choice due to raspi4c shortage)
-OS arm64 Debian 11 Bullseye headless
-AvNav as of AvNav updater screenshot:
-SignalK as of Openplotter settings screenshot
The aim of the project is to substitute an old monocrome chartplotter with openplotter using AvNav as the navigation interface (via an android tablet) and SignalK as the central data administration interfacing old and new instruments, engine, battery packs (ther'is also a by side sensor project based on ESP32 MCUs connected to signalK). What I would like is to give the tiller Autopilot (a Simrad TP32) all the driving nmea0183 sentences it requires. So far I was able to do this using AvNav directly driving the serial interface connected to the TP32 (now I'm testing at home with a PC receiving from serial). I'm trying to do the same with SignalK driving the the serial but SignalK isn't able to build the APB or RMB sentences so I'trying to get them from AVNav but it seems tat Avnav sent these sentences as "pure" nmea0183 strings and SignalK expects them as "deltas"....
from avnav.
avnav_server-20230428.xml.txt
settings.json.txt
sk-to-nmea0183.json.txt
from avnav.
from avnav.
I'm wondering about the connections:
Did you change them by hand?
Normally the installer should have been setting up everything correctly...
Which version of the avnav installer do you have (visible in openplotter)?
from avnav.
from avnav.
btw: you have defined serial interface to autopilot (/dev/ttyUSB0) in both AvNav and SignalK. This will not work. You have to decide who plays multiplexer role. AvNav in Openplotter is only "client" .... пт, 28 апр. 2023 г. в 10:17, Oleg Roitburd @.>:
…
you defined your "avnav_tosignalk" interface in SignalK as "SignalK" type. This interface schould be "NMEA0183" Greetings free-x пт, 28 апр. 2023 г. в 10:08, dpazz @.>: > > avnav_server-20230428.xml.txt > settings.json.txt > sk-to-nmea0183.json.txt > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > You are receiving this because you are subscribed to this thread.Message ID: @.***>
Yes I know, but for now it is disabled in AvNav. As I wrote before if I let AvNav to drive the seria everything works fine. I' trying to do this from SignalK....
from avnav.
I'm wondering about the connections: Did you change them by hand? Normally the installer should have been setting up everything correctly... Which version of the avnav installer do you have (visible in openplotter)?
3.07-stable is the installer release.
As for the connection conf I only added manually the avnav_tosignalk connection just to try a "witer" back connection (I was unexpert of the AvNav/SignalK combi and I didn't know that this was already provided by the std openplotterconf).
Let me give a try deleting this connection or setting it as NMEA0183 as free-x suggests ....
from avnav.
Now it works the RMB sentence is included as part of the nmea0183 event written to serial port by Signalk. RMB is calculated by AvNav router (it is strange that the Signalk nmea plugin is capable of calculating the XTE sentence but not the RMB or APB, because all the necessary data are available).
I have only left how to filter out all the nmea0183 sentences that aren't interesting the autopilot (e.g. $GSA, $RMC, etc.).
I have to experiment further.
Many tanks. The issue can be closed
from avnav.
Related Issues (20)
- Better handling of system time changes
- Disabling a button in user defined keys.json does not work HOT 1
- Key bindings to buttons do not work if the buttons are hidden HOT 1
- navigation signalk to nmea2000 HOT 5
- Trademark Violation HOT 9
- Start in split screen HOT 3
- Chart groups and scale HOT 3
- Sub directories in charts HOT 3
- Ensure compatibility of exported track gpx files with google maps HOT 1
- I would like to invite you to this discussion HOT 1
- Log file filling all the memory again HOT 8
- display navigation page with last active chart on page reload HOT 1
- Formatting valuebox user Widget gauge HOT 6
- settime cmd sometimes hangs HOT 1
- Re-arange buttons/icons on the right side? HOT 1
- Running in Docker? HOT 8
- Raspberry: wifi client interface (wlan-av1) does not work after software update or restart of AvNav HOT 2
- Improve AIS Display HOT 1
- AIS didn't show (Android) HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avnav.