Giter Site home page Giter Site logo

Comments (10)

dpazz avatar dpazz commented on July 26, 2024

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.
immagine

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

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.

dpazz avatar dpazz commented on July 26, 2024

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:
immagine
-SignalK as of Openplotter settings screenshot
immagine
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.

dpazz avatar dpazz commented on July 26, 2024

avnav_server-20230428.xml.txt
settings.json.txt
sk-to-nmea0183.json.txt

from avnav.

free-x avatar free-x commented on July 26, 2024

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

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.

free-x avatar free-x commented on July 26, 2024

from avnav.

dpazz avatar dpazz commented on July 26, 2024

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.

dpazz avatar dpazz commented on July 26, 2024

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.

dpazz avatar dpazz commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.