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 16-08-2013, 13:27   #16
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 491
Re: Route_pi New Finished Plugin for OpenCPN

Quote:
Originally Posted by SamsonovAnton View Post
....find a specific section for plugins created by SaltyPaws ......
Anton,

Each pluging have now a specifc section in the tracker page.

Please do not hesitate to post your comments and suggestions.


Serge
AISEAG is offline   Reply With Quote
Old 09-09-2013, 18:41   #17
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Route_pi New Finished Plugin for OpenCPN

Tracker VOTING for Plugins has been enabled by Serge. Please VOTE in Tracker for all Plugin projects (upper right dropdown) for the Feature requests you'd like. Also please do make comments and add Feature Requests and Bug Reports. You'll need to register or log in to Vote, add items and make comments.

Tracker VOTING.
Routes - Great Circle

rgleason is offline   Reply With Quote
Old 11-09-2013, 10:04   #18
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 175
Images: 1
Send a message via Skype™ to sbfreddie
Re: Route_pi New Finished Plugin for OpenCPN

Hi:
I am trying to build all of OpenCPN's Plugins (_pi) on my armhf Cubie2 board running linux Linaro 12.11. OpenCPN builds and works with no problems, however Route_pi will not build. During building I get these errors:

Code:
[ 39%] Building C object plugins/route_pi/CMakeFiles/route_pi.dir/src/georef.c.o
In file included from /home/freddie/OpenCPN/plugins/route_pi/src/georef.c:41:0:
/home/freddie/OpenCPN/include/cutil.h: In function ‘roundint’:
/home/freddie/OpenCPN/include/cutil.h:68:15: error: ‘static_cast’ undeclared (first use in this function)
/home/freddie/OpenCPN/include/cutil.h:68:15: note: each undeclared identifier is reported only once for each function it appears in
/home/freddie/OpenCPN/include/cutil.h:68:27: error: expected expression before ‘int’
/home/freddie/OpenCPN/plugins/route_pi/src/georef.c: In function ‘toSM_ECC’:
/home/freddie/OpenCPN/plugins/route_pi/src/georef.c:54:43: warning: variable ‘y4’ set but not used [-Wunused-but-set-variable]
make[2]: *** [plugins/route_pi/CMakeFiles/route_pi.dir/src/georef.c.o] Error 1
make[1]: *** [plugins/route_pi/CMakeFiles/route_pi.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Any idea what's the problem? I downloaded this Plugin from the OpenCPN Plugins web page.

Thanks,
Freddie
sbfreddie is offline   Reply With Quote
Old 12-09-2013, 02:43   #19
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Route_pi New Finished Plugin for OpenCPN

I've tried to compile weatherfax_pi recently and was missing a georef file. It was in a recent git fetch. I don't know why that happened, but have not heard anything about it yet.
rgleason is offline   Reply With Quote
Old 12-09-2013, 03:36   #20
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Route_pi New Finished Plugin for OpenCPN

georef.c has changed to georef.cpp and is part of OCPN main sources.

Gerhard
CarCode is offline   Reply With Quote
Old 12-09-2013, 06:31   #21
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Route_pi New Finished Plugin for OpenCPN

sbfredie, do you have the latest git or are you using 3.2.x which might be safer for MAC?

I would do a search on Mac for this forum, as there are a number of threads that might be helpful. Also if that does not work post the problem in one of the "sticky" threads at the top - Bugs...
rgleason is offline   Reply With Quote
Old 16-09-2013, 17:41   #22
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 175
Images: 1
Send a message via Skype™ to sbfreddie
Re: Route_pi New Finished Plugin for OpenCPN

Quote:
Originally Posted by rgleason View Post
sbfredie, do you have the latest git or are you using 3.2.x which might be safer for MAC?

I would do a search on Mac for this forum, as there are a number of threads that might be helpful. Also if that does not work post the problem in one of the "sticky" threads at the top - Bugs...
I have abandoned building plugins on the Mac, due to so many problems.

My question was about building on Debian on an ARM Cubieboard2 A20 which is Linux not Mac.

Thanks,
Freddie
sbfreddie is offline   Reply With Quote
Old 28-09-2013, 05:42   #23
Registered User

Join Date: May 2012
Posts: 1,205
Re: Route_pi New Finished Plugin for OpenCPN

On Win7 and Working with O 3.3.827 and the Route_pi plugin at the moment.

Cutil.h in the main program has changed, which caused the Route_pi plugin to fail to build. Three errors.

Used an old (2010?) cutil.h and put this in the src folder of route_pi. Changed the name to cutil_route.h and referenced this file in the plugin instead of cutil.h.

Route_pi builds and works!!!

I expect Salty_Paws will produce a better fix but this got me going.

It is the same problem as WeatherFax and WeatherRouting. Just need to keep references like this within the plugin and not use references to files within the main code that could change.

Cutil_route.h is attached (as Cutil_route.h.pdf) in case anyone needs it. Remove the .pdf!!!

Hope this helps.

Mike
Attached Files
File Type: pdf cutil_route.h.pdf (3.5 KB, 91 views)
Rasbats is online now   Reply With Quote
Old 28-09-2013, 06:20   #24
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Route_pi New Finished Plugin for OpenCPN

Mike, very helpful. I will try to do the same for Weatherfax and Weather_Routing which have the same problem.

Have referenced your post in Tracker pi_Route for Walter.
rgleason is offline   Reply With Quote
Old 26-11-2014, 13:29   #25
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Re: Route_pi New Finished Plugin for OpenCPN

Hello SaltyPaws,

I downloaded this plugin Route, from opencpn.org website.

I found that the bug, which I pointed out in the first page of this thread was not corrected.
I also found that the bug reported in the tracker (flyspray) appeared to have remained unchanged. As if no one had tried to correct them. And this for over a year.

Just a question: In what state of mind are you, in relation to this?

Kind regards.

Gilletarom.
Gilletarom is offline   Reply With Quote
Old 05-03-2016, 09:27   #26
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Re: Route_pi New Finished Plugin for OpenCPN

hello,

I test today the plugin Route with last version 1.1 for OpenCPN 4.2

Many bugs ... Sorry to disturb you.

See task #2020 in tracker.

Best regards. Gilletarom.
Gilletarom is offline   Reply With Quote
Old 05-03-2016, 10:15   #27
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Route_pi New Finished Plugin for OpenCPN

On my system, Route does the distance calculations from start to end (lox, GC and limiting parallel), but nothing is plotted at all (it did in the previous versions of OpenCPN and Route).
NAV is offline   Reply With Quote
Old 16-03-2016, 13:25   #28
Registered User

Join Date: Mar 2013
Location: Le Bono, Brittany, France
Boat: Northshore, Southerly 110, 10.30m
Posts: 63
Re: Route_pi New Finished Plugin for OpenCPN

Hello,

it's not the easiest plugin to use but it work fine (at least under Linux OpenSUSE) once that you have second guessed with data are expected.

The plugin does not draw a route directly but rather create a gpx file that can be imported as a route.

Please find join to this post my screen capture.

Dominig
dominig is offline   Reply With Quote
Old 07-09-2020, 03:18   #29
Registered User

Join Date: Sep 2020
Posts: 6
Re: Route_pi New Finished Plugin for OpenCPN

Hi,

There is a problem in adding some locations.

1- The coordinates are inserted in positive, negative values.
2- This imply that some coordinates are in -0º 23' for example....
3- The program will recognize -0 as 0. So those coordinates are imposible to enter.

Use case: the Gandia port location is imposible to enter (I did it editing the XML).

Solution: improve the interface to enter W,O,S,N instead of negative, positive nomenclature or read the minus simbol as character.

Regards,
Alberto
Fuentes008 is offline   Reply With Quote
Old 07-09-2020, 04:24   #30
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Route_pi New Finished Plugin for OpenCPN

This plugin needs some work, but it it at the bottom of the list right now.
rgleason is offline   Reply With Quote
Reply

Tags
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


Advertise Here


All times are GMT -7. The time now is 09:52.


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.