Cruisers Forum
 


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 16-02-2020, 17:11   #166
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,460
Re: Signal K Implementation

Bram...


First question:
1. on rPI4, where do you get raspbian, 64 bits?


Dave
bdbcat is offline   Reply With Quote
Old 17-02-2020, 00:12   #167
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Signal K Implementation

Quote:
Originally Posted by verkerkbr View Post
Hi Dave,

just tried the SignalK on my Linux Mint Tricia 64 AMD and with this version there is no problem with the automatic setting to on.

The problem only occurs with my RPI 4 Raspian 64 bits.

I use the compilation made by Tdan version 5.0522. It is only a small problem if you know the cause.

With automatic set to on, then there is no SignalK input in O.. Setting this to off then it works again. There must be a small difference in the sources that Tdan uses.

In the RPI I use the NMEA2K input in SignalK with the setting canbus(canboatjs).

This setting however does not work in the Linux 64 system. Then I must use canbus(canboat).

I'am using this mall canbus adapter called Canable.

Regards,

Bram
I forgot to mention: OpenPlotter add-ons are not only available for the Raspberry Pi, but also for other Linux systems. It has the option to setup serial connection by giving the connection an "alias" so that the connection is known at the usb serial bus.

Then it can switch the serial connection to the SignalK server.

The idea is to input and output all the connections to one uniform format in the SignalK server.

Input of NMEA2000 works this way with my very small Canable canbus adapter (non opticlal isolation version cost $ 29,-). Bitrate is 250000 the standard for NMEA2K.

All running here on my RPI 4, Linux AMD64 Mint Tricia and on 386 system with several Linux versions.

Bram
verkerkbr is offline   Reply With Quote
Old 17-02-2020, 00:28   #168
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Signal K Implementation

Quote:
Originally Posted by bdbcat View Post
Bram...


First question:
1. on rPI4, where do you get raspbian, 64 bits?


Dave

This the version I use:

https://github.com/sakaki-/raspbian-nspawn-64

The V8 kernel for 64 Raspian support is allready available for some time. But the Raspian organisation does not yet release the 64 bits version. Because it then has to support 2 versions. One for the older 32 bits RPI but the latest P3 and Pi4 working on 64 processor.

The Oesenc plugin does not work in the 64 bits version. It is available, but OpenPlotter will only release it when the 64 Raspian is offical.


Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 17-02-2020, 05:25   #169
Registered User

Join Date: May 2012
Location: The Gambia
Boat: Jeanneau Sun Legende 41
Posts: 125
Send a message via Skype™ to jean_pfoumf
Re: Signal K Implementation

Raspbian seems to be already 64 bits
https://raspberrypi.stackexchange.co...or-a-64-bit-os
jean_pfoumf is offline   Reply With Quote
Old 17-02-2020, 08:10   #170
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Signal K Implementation

Quote:
Originally Posted by jean_pfoumf View Post
Raspbian seems to be already 64 bits
https://raspberrypi.stackexchange.co...or-a-64-bit-os
a simple test is to look at the kernel version:

uname -r

*V7 is 32 bits and *V8 is the 64 kernel version, which is allready available for some time. But is not installed if you are running the 32 bits.

sudo rpi-update gives the latest (beta) kernel.

Regards,

Bram
verkerkbr is offline   Reply With Quote
Old 17-02-2020, 08:23   #171
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,460
Re: Signal K Implementation

Bram...


OK, I'll take a look.
But we should consider raspbian (10) 64bit as "Advanced Users only" at this point, since your average rPI user will not be using it yet. We have the same support issues as rPI organization


Dave
bdbcat is offline   Reply With Quote
Old 17-02-2020, 08:45   #172
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Signal K Implementation

There is no obvious advantage to 64 bits on a small ARM like the RPi. In fact, one could argue that a 64 bit OS is going to be more bloated that 32 bit. The RPi 4 only has 4GB of RAM max anyway so what is the point of going to 64 bits OS?
transmitterdan is offline   Reply With Quote
Old 17-02-2020, 08:53   #173
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Signal K Implementation

Quote:
Originally Posted by bdbcat View Post
Bram...


OK, I'll take a look.
But we should consider raspbian (10) 64bit as "Advanced Users only" at this point, since your average rPI user will not be using it yet. We have the same support issues as rPI organization


Dave

For your information as a proof of concept.

NMEA2000 data cable parts (blue and white) connected to the Canable canbus board.
USB from this board connected to the RPI or other Linux system.
SignalK server running.
GPS position from my NMEA2000 GPS antenna now shows the data in OpenCPN in SignalK format.

Conversion to other NMEA183 connections is also possible.

Board costs $ 29,- and is very small and running at 250000 bitrate. The default speed of NMEA2K
Attached Thumbnails
Click image for larger version

Name:	IMG_6355.jpg
Views:	75
Size:	366.5 KB
ID:	208962  
verkerkbr is offline   Reply With Quote
Old 17-02-2020, 09:41   #174
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Signal K Implementation

Quote:
Originally Posted by transmitterdan View Post
There is no obvious advantage to 64 bits on a small ARM like the RPi. In fact, one could argue that a 64 bit OS is going to be more bloated that 32 bit. The RPi 4 only has 4GB of RAM max anyway so what is the point of going to 64 bits OS?
Hi Tdan,

more and more software is only 64 bits.

NPM has announced that they are no longer supporting 32 bits systems.

To get the SignalK server working on an 32 bits Linux systems I had to step back to version 8 instead of version 10.

I'am now running the 64 bits version for some time and it works excellent.

Regards,


Bram


Thanks for the RPI OpenCPN version with signalk support.
verkerkbr is offline   Reply With Quote
Old 18-02-2020, 08:44   #175
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 311
Re: Signal K Implementation

Quote:
Originally Posted by verkerkbr View Post

NPM has announced that they are no longer supporting 32 bits systems.

To get the SignalK server working on an 32 bits Linux systems I had to step back to version 8 instead of version 10.

If I am not wrong they no longer support i386 32 bits but they will keep suporting arm 32 bits.
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 18-02-2020, 15:41   #176
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Signal K Implementation

Quote:
Originally Posted by verkerkbr View Post
Hi Tdan,

more and more software is only 64 bits.

NPM has announced that they are no longer supporting 32 bits systems.

To get the SignalK server working on an 32 bits Linux systems I had to step back to version 8 instead of version 10.

I'am now running the 64 bits version for some time and it works excellent.

Regards,


Bram


Thanks for the RPI OpenCPN version with signalk support.
Bram,

It really comes down to Java Script isn’t supported on some 32 bit systems. I hope NPM continue to support 32 bit ARM. But if they don’t that could be a lot of lost platforms for them. There is no inherent advantage in having a 64-bit OS with a maximum 4GB RAM. There are actually a number of disadvantages even.
transmitterdan is offline   Reply With Quote
Old 18-02-2020, 18:17   #177
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,419
Re: Signal K Implementation

There are 64bit instructions that can perform an operation faster. This is an advantage regardless of memory. For other applications the overhead of needing more bytes for every pointer causes a performance decrease.
seandepagnier is offline   Reply With Quote
Old 22-02-2020, 02:35   #178
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Signal K Implementation

The debug function is no longer working with input from SignalK instead of NMEA183. But it is (was) an handy tool to see what is passing.

Now an old favorit has reappeared in the OpenPlotter applications called SK filter. Herewith you can see the SignalK flow working.

Tried it with GPS mouse and with my NMEA2K GPS. See image of NMEA2k GPS.

Replace the debug NMEA183 option for such an application ?


Regards,


Bram
Attached Thumbnails
Click image for larger version

Name:	Schermafdruk van 2020-02-21 14-12-47.jpg
Views:	112
Size:	411.2 KB
ID:	209200  
verkerkbr is offline   Reply With Quote
Old 22-02-2020, 02:42   #179
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Signal K Implementation

And the image of the outcome of my GPS mouse.
Attached Thumbnails
Click image for larger version

Name:	Schermafdruk van 2020-02-22 11-39-23.jpg
Views:	86
Size:	403.2 KB
ID:	209201  
verkerkbr is offline   Reply With Quote
Old 24-02-2020, 02:32   #180
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Signal K Implementation

So it looks like with the SignalK input in OpenCPN, the instruments panel, tactical panel, MxTommy KIP and SignalK Filter.
Attached Thumbnails
Click image for larger version

Name:	mxtommy.jpg
Views:	97
Size:	102.6 KB
ID:	209335  
verkerkbr is offline   Reply With Quote
Reply

Tags
men


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
Open source implementation of PACTOR-3 and -4 Jammer Marine Electronics 53 02-02-2019 16:30
Navico BR24 Radar - Open Source protocol implementation maxxflow OpenCPN 23 30-07-2012 04:20
New Waypoint Properties Implementation nohal OpenCPN 206 14-07-2012 12:38
GPS signal too weak on Datamarine 5000 phorvati Marine Electronics 2 11-08-2009 14:26
Info on Signal flag Fonts ? JMRmarinero Flotsam & Sailing Miscellany 2 28-06-2007 08:54

Advertise Here


All times are GMT -7. The time now is 00:31.


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.