Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 07-04-2019, 16:02   #1
Registered User
 
CaptTom's Avatar

Join Date: Apr 2004
Location: Southern Maine
Boat: Prairie 36 Coastal Cruiser
Posts: 3,232
Dashboard Plugin Instruments: Engine Gauges?

This may have come up before, but I didn't find it in a quick search...

Are there any plans to add engine data to the available instruments in the Dashboard plugin?

This feature is available on most new MFDs. Newer engines, or in my case, old engines with an analog to NMEA 2000 device, put all kinds of useful information on the NMEA 2000 bus.

Just trying to work out in my mind what I'd be able to do with OpenCPN on a dedicated device at the helm, in place of an MFD, and this is something I'd want to have.
CaptTom is offline   Reply With Quote
Old 07-04-2019, 16:29   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Dashboard Plugin Instruments: Engine Gauges?

Quote:
Originally Posted by CaptTom View Post
This may have come up before, but I didn't find it in a quick search...

Are there any plans to add engine data to the available instruments in the Dashboard plugin?

This feature is available on most new MFDs. Newer engines, or in my case, old engines with an analog to NMEA 2000 device, put all kinds of useful information on the NMEA 2000 bus.

Just trying to work out in my mind what I'd be able to do with OpenCPN on a dedicated device at the helm, in place of an MFD, and this is something I'd want to have.
No, not with the current dashboard plugin, yes there is something in the pipeline for the next major release.
nohal is offline   Reply With Quote
Old 07-04-2019, 18:05   #3
Registered User
 
CaptTom's Avatar

Join Date: Apr 2004
Location: Southern Maine
Boat: Prairie 36 Coastal Cruiser
Posts: 3,232
Re: Dashboard Plugin Instruments: Engine Gauges?

Quote:
Originally Posted by nohal View Post
No, not with the current dashboard plugin, yes there is something in the pipeline for the next major release.
Sweet, thanks! Can't wait to see it!
CaptTom is offline   Reply With Quote
Old 08-04-2019, 02:08   #4
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 251
Images: 3
Re: Dashboard Plugin Instruments: Engine Gauges?

Quote:
Originally Posted by nohal View Post
No, not with the current dashboard plugin, yes there is something in the pipeline for the next major release.

Hello,

Since there is a project in progress, is it, please, possible to integrate a dashboard improvement ?

I noticed that data remains displayed (position, depth, etc.) even if the data connection nmea is interrupted.

In case of interruption of flows nmea, * all * the data displayed on the dashboard disappear or change color or - better - starts to flash or blinking...

This is in my opinion the best way to know that there is a problem.

Already reported in the Flyspray FS # 2391
Schnapsy is offline   Reply With Quote
Old 10-04-2019, 05:07   #5
Registered User

Join Date: Dec 2012
Posts: 180
Re: Dashboard Plugin Instruments: Engine Gauges?

Hi,

Disappearing can be a bad thing if some automation is acting on the data especially when under way. Microprocessor devices don't alway stop talking sometimes they keep repeating stuff or send jibberish and "flood" the com channel.

Sounds like what you're looking for is a data quality indication of sorts.

FWIW the GPS icon changes state fairly reliably on loss of signal / poor sat visibility sat data quality. Wonder if you have that enabled. From my experience it is a good indicator when I've lost all my GPS positional data. Maybe something to add to the watchdog plugin ?
RonSouthworth is offline   Reply With Quote
Old 11-04-2019, 16:45   #6
Registered User

Join Date: Mar 2011
Posts: 724
Re: Dashboard Plugin Instruments: Engine Gauges?

In response to this question
Quote:
This feature is available on most new MFDs. Newer engines, or in my case, old engines with an analog to NMEA 2000 device, put all kinds of useful information on the NMEA 2000 bus.
the following answer was given
Quote:
No, not with the current dashboard plugin, yes there is something in the pipeline for the next major release.
Can you provide any further details?
Is OpenCPN moving to the SignalK data format?
What changes, if any are being made to the dashboard plugin to support data formats other then NMEA 0183?
Is OpenCPN going to natively support NMEA 2000?

Importantly for me, should I stop any further development of the TwoCan plugin?

Soon to announce the 1.4 release (actively particpating on the NMEA 2000 network) and contemplating the 1.5 release (bi-drectional NMEA0183 <-> NMEA 2000 gateway)
stevead is offline   Reply With Quote
Old 11-04-2019, 17:42   #7
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Dashboard Plugin Instruments: Engine Gauges?

Quote:
Originally Posted by stevead View Post
In response to this questionthe following answer was given
Can you provide any further details?
Is OpenCPN moving to the SignalK data format?
As another supported format, yes. It will have no influence on NMEA0183 support, except substantial changes in the core of the application invisible to the user and to the plugin developer (unless he wants to).
Quote:
What changes, if any are being made to the dashboard plugin to support data formats other then NMEA 0183?
None. The current dashboard plugin design is not usable in the longer term future. Too fixed to NMEA0183, which in turn is too deficient in features.
Quote:
Is OpenCPN going to natively support NMEA 2000?
Unlikely, if you ask me.
Quote:
Importantly for me, should I stop any further development of the TwoCan plugin?
You should probably not.
Quote:
Soon to announce the 1.4 release (actively particpating on the NMEA 2000 network) and contemplating the 1.5 release (bi-drectional NMEA0183 <-> NMEA 2000 gateway)
That is not overlapping with what I will do in the nextgen dashboard replacement or in what has to be done to support SignalK, so there is no duplication of effort AFAICT.

Both SignalK support and the nextgen dashboard will not be available before the next major release, at least half a year from now.
nohal is offline   Reply With Quote
Old 12-04-2019, 00:51   #8
Registered User

Join Date: Mar 2011
Posts: 724
Re: Dashboard Plugin Instruments: Engine Gauges?

Probably leads to more questions than you were expecting.

SignalK support: I presume client side only, consuming data in Signal K format?

If I add support for the various engine & equipment related NMEA 2000 PGN's, how does the plugin forward that to OpenCPN ? Will have I to add Signal K server functionality to the plugin? Can I just send SignalK formatted data in the same way that today I send NMA 0183 sentences ?

Adding support for additional NMEA 2000 PGN's is a no brainer (testing however is problematic as I don't have any NMEA 2000 engine sensors to test against ! In fact I have very little to test against !)

Adding support for Signal K server I am loathe to do for a number of reasons, firstly there is already the Node JS SignalK server available (although it doesn't natively integrate as a plugin with OpenCPN) and secondly it would require significant programming effort (gazillions lines of code in C/C++ whereas I do know that it can be implemented on Windows using .Net in a few hundred lines of code as there are existing classes that make it easy to do the JSON, HTTP server and Web sockets stuff.

(BTW, Any plans to allow AIS data to be sent directly to OpenCPN without the need for me to create NMEA 0183 sentences and encode it in the 6bit format only for it to be decoded by OpenCPN?)
stevead is offline   Reply With Quote
Old 12-04-2019, 04:55   #9
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Dashboard Plugin Instruments: Engine Gauges?

Quote:
Originally Posted by stevead View Post
SignalK support: I presume client side only, consuming data in Signal K format?
Sure in the initial implementation.
[/QUOTE]
If I add support for the various engine & equipment related NMEA 2000 PGN's, how does the plugin forward that to OpenCPN ? Will have I to add Signal K server functionality to the plugin? Can I just send SignalK formatted data in the same way that today I send NMA 0183 sentences ?
[/QUOTE]
You will not have to add any server functionality, you will simply call an API function as you do for NMEA0183 sentences.
Quote:
Adding support for Signal K server I am loathe to do for a number of reasons, firstly there is already the Node JS SignalK server available (although it doesn't natively integrate as a plugin with OpenCPN) and secondly it would require significant programming effort (gazillions lines of code in C/C++ whereas I do know that it can be implemented on Windows using .Net in a few hundred lines of code as there are existing classes that make it easy to do the JSON, HTTP server and Web sockets stuff.
There are signalk-server-cpp and Argo, both a better idea than .NET for inclusion in a crossplatform package IMHO. And both needing effort to actually make them usable.
Quote:
(BTW, Any plans to allow AIS data to be sent directly to OpenCPN without the need for me to create NMEA 0183 sentences and encode it in the 6bit format only for it to be decoded by OpenCPN?)
I do not understand what you mean. What is this "AIS data" for you exactly? Whatever, the answer probably is no, unless it is SignalK.
nohal is offline   Reply With Quote
Old 12-04-2019, 06:50   #10
Registered User
 
CaptTom's Avatar

Join Date: Apr 2004
Location: Southern Maine
Boat: Prairie 36 Coastal Cruiser
Posts: 3,232
Re: Dashboard Plugin Instruments: Engine Gauges?

Quote:
Originally Posted by stevead View Post
Adding support for additional NMEA 2000 PGN's is a no brainer (testing however is problematic as I don't have any NMEA 2000 engine sensors to test against ! In fact I have very little to test against !)
If there's any way I can help, let me know. I have a NoLand RS-11 analog-to-NMEA 2K device, but not sure if there's anything on my network which could capture the data.

As for SignalK, none of my off-the-shelf hardware uses it, so it's all just theory to me. I'm a big fan of open protocols (and dislike the fact that NMEA 2K is proprietary) but until SignalK is widely supported, I'd rather not invest too much in it.
CaptTom is offline   Reply With Quote
Old 12-04-2019, 10:25   #11
Registered User

Join Date: Mar 2011
Posts: 724
Re: Dashboard Plugin Instruments: Engine Gauges?

Is it safe for me to assume that the "new" OpenCPN SignalK API will allow me call the API passing some data in a format similar to the following:
Code:
{
    "navigation": {
        "meta": {
            "label": "GPS position","units": "deg",    "convertTo": "dms"
            },
            "latitude": 54.484,
            "longitude": -0.61683,
            "$source": "Twocan plugin",
            "timestamp": "2019-03-10T17:24:31.42",
            "pgn": 129025
    }
 }
Regarding AIS, Currently the plugin parses AIS data from the relevant NMEA 2000 PGN's and then has to perform the 6bit encoding to create an NMEA 0183 sentence of the form: !AIVDM,1,1,,A,1>O5liPv1<wqpsrM65m5KTL800S5,0*11 only for OpenCPN to then decode the AIS payload.

If OpenCPN will be able to consume AIS data in the SignalK data format that solves half the problem, otherwise it would be more efficient to be able to submit AIS data directly to OpenCPN , rather than via NMEA 0183 sentences with their inherent 6bit encoding.

To Capt. Tom (and others), If you have access to a Linux PC/Raspberry PI with a CAN adapter, just use the candump utility to log any data on the NMEA 2000 network. If you only have a Windows PC, then the TwoCan plugin together with a supported CAN adapter can be used to log the data.
stevead is offline   Reply With Quote
Old 12-04-2019, 10:30   #12
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Dashboard Plugin Instruments: Engine Gauges?

Quote:
Originally Posted by stevead View Post
Is it safe for me to assume that the "new" OpenCPN SignalK API will allow me call the API passing some data in a format similar to the following:
Code:
{
    "navigation": {
        "meta": {
            "label": "GPS position","units": "deg",    "convertTo": "dms"
            },
            "latitude": 54.484,
            "longitude": -0.61683,
            "$source": "Twocan plugin",
            "timestamp": "2019-03-10T17:24:31.42",
            "pgn": 129025
    }
 }
Yes, normal SignalK delta format.
Quote:
Regarding AIS, Currently the plugin parses AIS data from the relevant NMEA 2000 PGN's and then has to perform the 6bit encoding to create an NMEA 0183 sentence of the form: !AIVDM,1,1,,A,1>O5liPv1<wqpsrM65m5KTL800S5,0*11 only for OpenCPN to then decode the AIS payload.

If OpenCPN will be able to consume AIS data in the SignalK data format that solves half the problem, otherwise it would be more efficient to be able to submit AIS data directly to OpenCPN , rather than via NMEA 0183 sentences with their inherent 6bit encoding.
We will certainly not invent another format to pass the AIS data. In addition to the NMEA0183 already supported we will support also SignalK.
nohal is offline   Reply With Quote
Reply

Tags
engine, men, plug, rum


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: DashBoard SethDart OpenCPN 646 01-07-2024 11:36
Dashboard Instruments. hasse_A OpenCPN 7 01-03-2013 00:37
Opencpn Dashboard - Visual Instruments rgleason OpenCPN 2 31-10-2012 19:29
New Dashboard Instruments tom_BigSpeedy OpenCPN 6 09-09-2012 09:26
Instruments / Gauges son_of_a_sailor3 Multihull Sailboats 6 04-12-2011 06:13

Advertise Here


All times are GMT -7. The time now is 17:45.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.