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 29-03-2023, 12:46   #46
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,500
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Dirk....
LoL helped decode the corrupted files. Nohal pointed out the root of the complaint. The solution was clear enough, in github now.
Thanks for the info
Dave
bdbcat is offline   Reply With Quote
Old 29-03-2023, 16:38   #47
Registered User

Join Date: Jan 2011
Location: France/UK
Boat: Gib'Sea 402
Posts: 549
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Windows 11; I also get checksum error message loading the JavaScript plug-in
hoolie is offline   Reply With Quote
Old 29-03-2023, 20:00   #48
Registered User

Join Date: Jan 2016
Posts: 125
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Hi, just installed 5.7.1

Have noticed the AIS icons for other vessels are green triangle, but have no border and are hard to dicern against the chart. They had a black border in previous version.
Is this by design and can it be changed or is it customizable?
Attached Thumbnails
Click image for larger version

Name:	screen.png
Views:	53
Size:	42.8 KB
ID:	273491  
Mattzilla is offline   Reply With Quote
Old 30-03-2023, 02:13   #49
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 317
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by Hakan View Post
Saillog..
On Win I could reproduce once while restarting O. The following five time of restart all works.
What I saw was all instruments getting data direct from SK-data via "dashboard_pi::ParseSignalK()" | "dashboard_pi::updateSKItem()" didn't get data.

While data direct from O via: "dashboard_pi::SetPositionFixEx()" , like position, heading, are working all time.
I'll check my RPis as well..

What about an issue?

After testing again I can see that this is somehow a random issue, but for me 95% of it failed and only worked a few times after closing/opening opencpn.
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 30-03-2023, 05:24   #50
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,285
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Sailoog..
I do agree that it's random. Also more frequent failures on RPi than Win.
D and I tried to narrow it yesterday but still no obvious reason so not an easy fix.
Apart from your mentioned methods to reinitialize the data, restart SK or OCPN, also disable and enable the SK connection works all time.

To be continued..
Hakan is offline   Reply With Quote
Old 30-03-2023, 06:58   #51
Registered User

Join Date: Mar 2011
Posts: 732
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

How does a plugin developer determine the NMEA 2000 source address for OpenCPN, other than reviewing the OpenCPN source code ?
Code:
#define DEFAULT_N2K_SOURCE_ADDRESS 72
There appears to be an API in comm_drv_n2k.cpp
Code:
std::shared_ptr<NavAddr> CommDriverN2K::GetAddress(const N2kName& name)
but it does not appear to be accessible by a plugin.

Some autopilots require the address of the controller to be included in the NMEA 2000 message sent to control the autopilot. Enabling support for NMEA 2000 autopilots was a raison d'etre for the inclusion of NMEA 2000 support in this new release.

A few other observations, possibly an edge case for the SocketCAN interface, and I have no way to test/confirm on the smart adapters such as the NGT-1.

OpenCPN does not perform the address claim dance. If another device with a lower NAME claims the same address, OpenCPN does not claim another address. Possibly unlikely, but with the increased number of NMEA 2000 devices being installed in vessels and the mechanism in which addresses are claimed, this may be problematic.

OpenCPN does not respond to PGN 59904 ISO Requests. Other devices on the network often request PGN 60928 (address claim) as a form of heartbeat, others request PGN 126996 (Product Information) to understand what devices are present. There does seem to be a PGN 59904 event listener buried in comm_drv_n2k_socket.cpp and some code in ProcessRxMessages
Code:
if(n2k_msg->PGN.pgn == 59904 ){
  }
, which doesn't actually do anything..

I can confirm that writing NMEA 2000 fast messages onto the network seems to work correctly.
stevead is offline   Reply With Quote
Old 30-03-2023, 10:45   #52
Registered User

Join Date: May 2016
Location: Texas
Boat: 1976 Alajuela 38 MK I
Posts: 130
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

I have installed RC1 via FlatPak. What is the correct plugin catalog? I am currently using master catalog of flatpak-x86_64:22.08.


Thanks,
Sam
gallatin1988 is offline   Reply With Quote
Old 30-03-2023, 10:47   #53
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,131
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Most of the plugins are available. Update plugins and the plugins appear.
verkerkbr is offline   Reply With Quote
Old 30-03-2023, 12:58   #54
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,500
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

SteveAd...
1. "Some autopilots require the address of the controller to be included in the NMEA 2000 message sent to control the autopilot."
How does that work? The address, I mean. How is it carried in the message.


2. About address claim: Been waiting for an N2K savvy user to test this functionality. Not terribly surprised there are troubles. I'll take another look.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 30-03-2023, 13:33   #55
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,131
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by verkerkbr View Post
Hi Dave,

just tested the the flatpak 273 version on several systems like the RPI4 with different Operating S. and the Linuxmint AMD64.

The former beta worked well, but the RC1 version gives errors with the movement of the charts and some chart do not appear. Not yet tried the Oesenc charts. But this is my first impression.


Bram

With the latest updates the ..273 RC1 version works very well on the RPI4 with:
Debian Bullseye, Debian Bookworm (works better then Bullseye), Fedora Rawhide and
Ubuntu Lunar Lobster. All running now on the Linux kernel version 6....


Bram
verkerkbr is offline   Reply With Quote
Old 30-03-2023, 13:47   #56
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 316
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by Gilletarom View Post
Hello,

Windows 10 :
With Javascript plugin, I have this message. So impossible to install it.

Log file :
18:55:26.467 MESSAGE update_mgr.cpp:218 Selected update: javascript
18:55:26.514 MESSAGE pluginmanager.cpp:572 Installing javascript
18:55:27.186 MESSAGE downloader.cpp:119 filesize https://dl.cloudsmith.io/public/open...-win32.tar.gz: 331572 bytes
Will take this up as a plugin issue here. Please monitor there.
Antipole is offline   Reply With Quote
Old 30-03-2023, 15:46   #57
Registered User

Join Date: Mar 2011
Posts: 732
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
How does that work? The address, I mean. How is it carried in the message
The value is simply a field of a proprietary pgn.
Quote:
2. About address claim
In my limited testing on Linux using SocketCAN, I have transmitted a PGN 60928 Address Claim message with the same CAN address (72) on the NMEA 2000 network, but did not observe any reply from OpenCPN.

Similarly sending PGN 59904 (ISO Request) for PGN 60928 does not cause OpenCPN to transmit an Address Claim.
stevead is offline   Reply With Quote
Old 30-03-2023, 17:11   #58
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,500
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Stevead....
"The value is simply a field of a proprietary pgn."
That is truly strange. The source address is already in the payload header. Why duplicate? A bit like sending a source ip address as part of a TCP/IP packet payload, just to be sure the receiver understands where the message comes from.


Do you have any reference on this?
Dave
.
bdbcat is offline   Reply With Quote
Old 30-03-2023, 18:25   #59
Registered User

Join Date: Oct 2022
Location: San Francisco Bay
Boat: Catalina 34
Posts: 30
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

In somewhat related question though maybe better for another thread I've been working on a PR to add Attitude(PGN127257) to the Communication Priorities screen. I realized that some PGNs are handled directly by plugins and others (position/heading) through this more central routing. (If I've got that right)


My PR has Attitude alongside pos/heading comms but now I'm wondering if there are other plans for all PGNs/0183/SK to be centralized to the priority screen? (I guess things had been prioritized through the src priority on the connections screen but that obviously has issues w/ n2k bus).

Is there a plan on how to prioritize these other PGN's overall or will that be left to plugin side? Migrate them overtime? Diving into this area of the code for the first time so I may be missing something. Thx.
sanner is offline   Reply With Quote
Old 30-03-2023, 21:43   #60
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,500
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Sanner...
You probably will be better to add some prioritization logic (and maybe GUI) to the plugin that ultimately handles the 127257 message, whatever that is or may be.

I would not be inclined to accept a PR that adds arbitrary PGNs to the existing core N2K priority logic. This logic is reserved for basic navigation information that every N2K net is likely to have, and drives the core navigational needs.
It is possible in some future vision of N2K management to imagine a global N2K message priority scheme in OCPN, with GUI. But I don't think we can get there by patching the current model. Next major version?


Thanks
Dave
bdbcat is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn


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
OpenCPN Version 5 Beta Release 4.99.1517 (RC1) bdbcat OpenCPN 39 27-03-2019 07:59
OpenCPN Release Candidate Version 3.1.1328 Released bdbcat OpenCPN 86 27-04-2013 03:13
OpenCPN Release Candidate Version 3.1.1405 Released bdbcat OpenCPN 54 16-02-2013 01:30
OpenCPN Version 2.4 Release Candidate 720 bdbcat OpenCPN 51 27-07-2011 23:45
OpenCPN Version 2.4 Release Candidate 714 bdbcat OpenCPN 45 22-07-2011 05:58

Advertise Here


All times are GMT -7. The time now is 08:56.


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.