Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 05-08-2018, 08:15   #46
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

Quote:
Originally Posted by Dsanduril View Post
Sudo gives you elevated privileges and should allow you to edit the file.

cp is the copy command, so it needs a source and destination, in your screenshot they are run together.



Not the space after 'chartsymbols.xml'. For that to work you will have to be in the directory where chartsymbols is located, otherwise you'll have to put the path in front of the source as well as the destination.

If you want to edit the file (it sounds like that is the request) the base editor that is installed with openplotter is nano.



Again, you will either need to change to that directory or add the path in front of the file name. Probably a good idea to use the cp command first and make a backup before you edit

There are better editors for xml than nano, but I don't believe any of them come on the openplotter image, you'd have to grab them from a repository. If the changes are small then it's probably no big deal, if they are significant then it might be easier to get a different editor (or, sigh, use a Win box).
Thanks, I have a file that has already been edited just need to replace this in the s57 folder with the edited one.
My knowledge in this is very limited but willing to learn how to do it.
__________________

Ivanm is offline   Reply With Quote
Old 05-08-2018, 12:46   #47
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

I can't seem to get access to the file to save after edit or to replace file with edited file
__________________

Ivanm is offline   Reply With Quote
Old 05-08-2018, 13:22   #48
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 679
Re: OS Raspberry specific RPI

go to a terminal window and type:
Code:
sudo pcmanfm
+ enter.


The Pcman file manager will open in root mode where you can edit any file. Edit the file you want, save and close the Pcman file manager.


/Petter

Quote:
Originally Posted by Ivanm View Post
I can't seem to get access to the file to save after edit or to replace file with edited file
petter5 is offline   Reply With Quote
Old 04-01-2019, 03:30   #49
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

I connected a IMU sensor to RPi

In Openplotter under compass it show as Invensense 9150 but I can't get this roll pitch and Heading data to show in Opencpn although I can see this data i openplotter
How to i get opencpn to show this data?
Ivanm is offline   Reply With Quote
Old 04-01-2019, 03:53   #50
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 5,215
Re: OS Raspberry specific RPI

First thing is to look at the NMEA debug window to see if O is receiving the correct NMEA message. Most likely it isn't.
transmitterdan is offline   Reply With Quote
Old 04-01-2019, 03:58   #51
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

Quote:
Originally Posted by transmitterdan View Post
First thing is to look at the NMEA debug window to see if O is receiving the correct NMEA message. Most likely it isn't.
I don't see any messages being received except the gps
Ivanm is offline   Reply With Quote
Old 04-01-2019, 04:20   #52
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

Quote:
Originally Posted by Ivanm View Post
I don't see any messages being received except the gps
When I deselect the gps connection no more data on debug window
Ivanm is offline   Reply With Quote
Old 04-01-2019, 05:06   #53
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 5,215
Re: OS Raspberry specific RPI

Then you have to get openplotter to send the IMU data to O in NMEA format. Suggest you ask about that over at the openplotter forum.
transmitterdan is offline   Reply With Quote
Old 04-01-2019, 12:59   #54
Registered User
 
pinguino's Avatar

Join Date: May 2009
Location: SE Spain
Boat: Jeanneau SO 32I
Posts: 68
Re: OS Raspberry specific RPI

When the IMU is connected to the Rpi openplotter reads the data and sends it in Signal K format.

For now opencpn only understands data in NMEA 0183 format and not Signal K. Maybe it's time to support Signal K in Opencpn.

In the meantime it is necessary to convert IMU data in Signal K format to NMEA 0183 for opencpn to understand.

There are two modes. One of them is to use the openplotter menu option to convert the data. We can press the openplotter nmea generator button opencpn default and usually that is enough.


https://sailoog.gitbooks.io/openplot...generator.html

The other one is to use the signal plugin k that does the same job.


In the future this will probably be the only option that remains.
pinguino is offline   Reply With Quote
Old 04-01-2019, 20:44   #55
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

Thanks got it working now used Nmea 0183 generator reboot and setup new a TCP connection in opencpn
Ivanm is offline   Reply With Quote
Old 04-01-2019, 21:11   #56
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

Is it possible to send data like watertemp and Ais from opencpn or openplotter to Simnet to be used by other equipment on Simnet
Ivanm is offline   Reply With Quote
Old 05-01-2019, 01:36   #57
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 5,215
OS Raspberry specific RPI

Ivanm,

Yes, you can set up an outbound connection using the connections dialog. Then O will send NMEA messages back out over that connection (USB or Ethernet). You can also set up filters to control what messages are sent out. Or you can send all NMEA messages out. It may require 2 connections because AIS data usually cannot fit in the standard 4800 baud NMEA serial stream. AIS requires a higher data rate. Also, whatever connection you use has to be compatible with Simnet. I believe there are NMEA inputs to Simrad gear so you may need a USB to NMEA converter box. These are inexpensive.

I think OpenPlotter also has means to output NMEA data to USB without going through OpenCPN but you may want to check with the OpenPlotter group on how that could work.
transmitterdan is offline   Reply With Quote
Old 22-05-2019, 21:58   #58
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

I had an uexpected shutdown on my Rpi and now it freeze an is very slow . How can i fix this now
Ivanm is offline   Reply With Quote
Old Yesterday, 02:39   #59
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 5,215
Re: OS Raspberry specific RPI

Quote:
Originally Posted by Ivanm View Post
I had an uexpected shutdown on my Rpi and now it freeze an is very slow . How can i fix this now
Ivan,

It is difficult to know what is wrong. It is possible for the micro SD memory to be damaged by a power failure in some cases. There are different types of SD cards and I have found using the ultra fast Sandisk microSDXC A1 or A2 cards seem to not have as many problems. What micro SD card model do you have?
transmitterdan is offline   Reply With Quote
Old Yesterday, 03:39   #60
Registered User
 
Ivanm's Avatar

Join Date: Jan 2015
Posts: 205
Re: OS Raspberry specific RPI

Quote:
Originally Posted by transmitterdan View Post
Ivan,

It is difficult to know what is wrong. It is possible for the micro SD memory to be damaged by a power failure in some cases. There are different types of SD cards and I have found using the ultra fast Sandisk microSDXC A1 or A2 cards seem to not have as many problems. What micro SD card model do you have?
I do have a scandisk but not sure about the number
What i can say is that when I press V shortcut everything seem to be fine
__________________

Ivanm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Rpi OpenCPN System - recommendations geoffr OpenCPN 17 01-02-2017 10:45
Rpi 3/2 hardware opengl and Vector charts jimseng OpenCPN 16 09-04-2016 18:10
Rpi 3 hangs when zoomed out. jimseng OpenCPN 14 11-03-2016 20:53
Raspbian Jessie for RPi duichan OpenCPN 3 29-09-2015 16:47
AIS on RPI not working gbgb OpenCPN 6 10-06-2015 11:29



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:53.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.