Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 25-06-2016, 10:03   #1
Registered User

Join Date: Jun 2016
Posts: 5
route following - bug or expected behavior?

New OpenCPN user here, testing it as a possible alternative to some commercial software used at work. I noticed something odd on how OpenCPN 4.4 (for Windows) follows routes.

When following a route which uses the same waypoint multiple times, the route tracking will get 'confused' and inadvertently jump to the 1st 'loop' using said waypoint instead of continuing as per the route.

Ex. Route going through waypoints A -> B -> C -> D -> B -> E -> ...
Active tracked lines on OpenCPN will go A -> B -> C -> D -> B -> C -> D -> B -> C -> ...

Using 'activate next waypoint' follows the same loop issue instead of the proper sequence.

Could anyone confirm if this behavior is the same in previous versions? I'm currently at sea and relying on an absolutely horrid satellite connection so can't actually test with previous versions.

edit: I would normally have made this an entry on the bugtracker but it seems offline right now. I'm only getting "{"message":"Not Found"}" from the flyspray site.
__________________

__________________
Maes is offline   Reply With Quote
Old 25-06-2016, 10:41   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: route following - bug or expected behavior?

Maes...

Sounds like a bug. Not tested, but I will investigate and report back.

OCPN can make the wrong choice if you start a route while ownship is already somewhere within the full lat/lon "envelop" of the route, depending upon your course at the time of activation. But this does not seem to match your scenario.

Thanks
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 25-06-2016, 11:00   #3
Registered User

Join Date: Jun 2016
Posts: 5
Re: route following - bug or expected behavior?

Hi Dave,

This seems like a different issue, yes. It can be tested without a ship being involved at all. If a route is created with multiple passes through one waypoint, just activating the route and clicking 'Activate Next Waypoint' will show it gets stuck in the first loop going through the shared waypoint.

I have yet to see if stacking waypoints on the same spot and using a different element in the stack on each pass is a way to circumvent the issue (in theory it should), but it would be an inelegant fix at best.

Thanks,

Patrick
__________________
Maes is offline   Reply With Quote
Old 25-06-2016, 11:20   #4
Registered User
 
Stu Jackson's Avatar

Join Date: Jan 2011
Location: Cowichan Bay, BC (Maple Bay Marina)
Posts: 6,389
Re: route following - bug or expected behavior?

Quote:
Originally Posted by Maes View Post

I have yet to see if stacking waypoints on the same spot and using a different element in the stack on each pass is a way to circumvent the issue (in theory it should), but it would be an inelegant fix at best.
Dave, have you considered offsetting by a small distance a repetitive waypoint and using another name (WP1 and WP1a, for example)?
__________________
Stu Jackson
Catalina 34 #224 (1986) C34IA Secretary
Cowichan Bay, BC, (Maple Bay Marina) SR/FK, M25, Rocna 10 (22#) (NZ model)
Stu Jackson is offline   Reply With Quote
Old 04-07-2016, 07:56   #5
Registered User

Join Date: Aug 2015
Posts: 445
Re: route following - bug or expected behavior?

I noticed this confused looping behaviour last week when I tried to reuse some waypoints in a route. It's definitely a bug, but I haven't put any time into attempting to reproduce it.

Sent from my SM-N920V using Cruisers Sailing Forum mobile app
__________________
boatbod is offline   Reply With Quote
Old 04-07-2016, 09:37   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: route following - bug or expected behavior?

Quote:
Originally Posted by Maes View Post
Hi Dave,
... If a route is created with multiple passes through one waypoint, just activating the route and clicking 'Activate Next Waypoint' will show it gets stuck in the first loop going through the shared waypoint. ... see if stacking waypoints on the same spot and using a different element in the stack on each pass..
Thanks for stress testing. So why do you need to go in different kinds of circles? and through the same point multiple times - as in a forgetful lobsterman?
__________________
rgleason is offline   Reply With Quote
Old 08-07-2016, 19:12   #7
Registered User

Join Date: Jun 2016
Posts: 5
Re: route following - bug or expected behavior?

Quote:
Originally Posted by rgleason View Post
Thanks for stress testing. So why do you need to go in different kinds of circles? and through the same point multiple times - as in a forgetful lobsterman?
It's for seafloor mapping and sub-bottom analysis; for unusual seafloor features (faults, hydrothermal vents, underwater landslides, etc.) we repeatedly cross over said feature from different headings to get a better picture of the situation than doing just a single pass. It's also useful in case the exact coordinates aren't known or there is some imprecision in conversion, say with repeating old surveys originally done in what is believed to be NAD27 datum (but not 100% certain) while we now use WGS84.

As such, the goal isn't going through different kinds of circles, but going through the same point multiple times.
__________________
Maes is offline   Reply With Quote
Old 08-07-2016, 19:54   #8
Registered User

Join Date: Aug 2015
Posts: 445
Re: route following - bug or expected behavior?

In my case, the reason I did it recently was because we took a trip starting from an overnight anchorage then heading up-river to check out the sights before heading back down the river and onward to the "real" destination.
__________________

__________________
boatbod is offline   Reply With Quote
Reply

Tags
route

Thread Tools
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
route following philkoi OpenCPN 1 15-09-2013 13:11
Bug: 2.5.0 Route " Slides " as Chart is Moved dave777 OpenCPN 17 11-02-2012 19:41
Strange Chart Behavior in Latest Beta sailracer OpenCPN 4 06-05-2011 07:51
Xantrex ProSine 2.0 behavior Microship Electrical: Batteries, Generators & Solar 16 13-08-2009 10:50
Bloody disgracefull behavior! viking69 Off Topic Forum 43 11-06-2007 09:49



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.