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 04-09-2017, 05:00   #31
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Cruising North Sea and Baltic (Summer)
Boat: Cutter-Rigged Moody 54
Posts: 34,634
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Quote:
Originally Posted by conachair View Post
Works fine on a win10 laptop and a raspberry pi this end....



Sample of a transmitted APB message.. (not the same as the gif above but similar method)

1,2,3 ,4,5,6,7 ,8, 9 ,10, , 11 ,12,13 ,14
$ECAPB,A,A,0.715,L,N,V,V,125.195,T,003,72.992,T,72 .992,T*38
$ECAPB,A,A,0.000,L,N,V,V,73.076,T,003,73.007,T,73. 007,T*05




( And Rick, will get round to making a few more gifs soon )
OK, maybe I'm doing something wrong. Will try again.
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is offline   Reply With Quote
Old 04-09-2017, 07:27   #32
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Quote:
Originally Posted by Moo View Post
From the manual.



The last part is wrong I believe. The autopilot functionality and course steered is not affected, or should not be affected. The autopilot will be steering towards the next waypoint from the vessels current position, if it is in route following mode, rather than just steering a heading. So zeroing cross track should not affect the autopilot course steered at all.


It is not wrong. If you want to stay on the original route then don't use the Zero XTE feature. Let the XTE drive the pilot back to the original route.

Zero XTE works by creating a new straight line to the next waypoint. Thus the XTE immediately becomes Zero. Many chart plotters implement the same feature in the same way.
transmitterdan is offline   Reply With Quote
Old 04-09-2017, 07:50   #33
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

This thread has been active! Thanks for reviewing the changes and discussing the XTE functions everyone.

First I hope we can find agreement on how it works and that it does work.
Then I'd like to make the statement clearer.

Moo advises the manual states:
Quote:
Zero XTE only shows in the right click menu if there is a cross track error. When selected it resets the present XTE (Cross Track Error) back to zero. “Zero XTE” is useful if you are offset from the route and want the autopilot to follow a direct course adjusted for your current position, rather than the position of the last route waypoint.

TDan restates:
Quote:
If you want to stay on the original route then don't use the Zero XTE feature. Let the XTE drive the pilot back to the original route.

Zero XTE works by creating a new straight line to the next waypoint. Thus the XTE immediately becomes Zero. Many chart plotters implement the same feature in the same way.
Can the first statement be made clearer in some way?

Thanks so much! Rick
rgleason is offline   Reply With Quote
Old 04-09-2017, 08:11   #34
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Moo:
Quote:
I agree that being able to reset XTE is essential. It works for me on W10 with OCPN 4.8. Easy test:
Right click a point and chose "navigate to here"
Right click anywhere on the chart but NOT on the route "Zero XTE" should be there.
Small difference, but we need to create a cross track error to have it appear:
Quote:
Easy test:
Right click a point and chose "navigate to here" to create a new Active Route.
Right click at some point off of the Active Route and pick "Move boat here" to create the cross track error.
Right click anywhere on the chart but NOT on the route "Zero XTE" should be there.
This is a great example for new users that should be the manual. Conachair has provided an very good illustration using this technique.

Now I have a question about Conachair's

Quote:
Sample of a transmitted APB message.. (not the same as the gif above but similar method)

1,2,3 ,4,5,6,7 ,8, 9 ,10, , 11 ,12,13 ,14
$ECAPB,A,A,0.715,L,N,V,V,125.195,T,003,72.992,T,72 .992,T*38
$ECAPB,A,A,0.000,L,N,V,V,73.076,T,003,73.007,T,73. 007,T*05
Are the ECAPB sentences transmitting the XTE error to the Autopilot, in my case an nmea0183 in port? Such that when we check the Options > Connections > Network type connection and then check the "Output on this port as Autopilot or Nmea repeater" with an ID for the Talker?

Also what is the top line of digits 1 through 14?

Thanks again!

PS Conachair, I used your gif in the documentation, it works when the reader clicks on the image! See Modify a Route
https://opencpn.org/wiki/dokuwiki/do...modify_a_route
Do you guys think this is going to be OK? Having to click? I hope so.

Thank you. http://gifrecorder.com/
rgleason is offline   Reply With Quote
Old 04-09-2017, 09:43   #35
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Rick,

Reset XTE to zero means that the existing route leg is modified by resetting the start point to the GPS position at the moment the Zero XTE option is selected. This has the effect of changing the route leg from its original start point to the present ship position (and thus XTE becomes zero). Thereafter it will try to navigate a straight line from this new position to the next waypoint in the route. It is nothing more complex than that.
Zero cross track error does not change anything about the stored route. The original waypoints are not changed. Zero XTE only makes a temporary change to the start point of the present leg.

Does this make sense?
transmitterdan is offline   Reply With Quote
Old 04-09-2017, 10:06   #36
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,814
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

And this is why Conachair modifies the first waypoint in order to provoke a non-zero XTE in his animation.

Remember: only with XTE =/= 0 you can zero it. The other would not make any sense and therefore no "zero XTE" contextual menu exists in that moment.
bcn is online now   Reply With Quote
Old 04-09-2017, 10:41   #37
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Quote:
Originally Posted by rgleason View Post
Now I have a question about Conachair's

Are the ECAPB sentences transmitting the XTE error to the Autopilot, in my case an nmea0183 in port? Such that when we check the Options > Connections > Network type connection and then check the "Output on this port as Autopilot or Nmea repeater" with an ID for the Talker?
The ECAPB sentences are from these settings ->
with output filtered to "Transmit sentances - APB"


The I used node-red to look at what was being sent on that port.

Quote:
Also what is the top line of digits 1 through 14?
Thats what each field is in the sentence, the forum formatting messes it up so theres an image below where hopefully it makes a bit more sense.







Quote:
Thanks again!

PS Conachair, I used your gif in the documentation, it works when the reader clicks on the image! See Modify a Route
https://opencpn.org/wiki/dokuwiki/do...modify_a_route
Do you guys think this is going to be OK? Having to click? I hope so.

Thank you. Create Gif screencasts using the Gif Recorder
conachair is offline   Reply With Quote
Old 04-09-2017, 13:41   #38
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Couple of Practical OpenCPN Questions or Possibly Feature Requests

If the autopilot is steering the boat based on a route downloaded by OpenCPN then O might not be driving the autopilot. If the boat's electronics is using the route points from O then that system is generating the XTE data and not O. O will send XTE messages to the AP when it is navigating a route as evidenced by the "highway" dashboard shown on the O chart display. If you don't see the highway dashboard then O is not driving. You can see the XTE value on one of the blocks in the highway dashboard.
transmitterdan is offline   Reply With Quote
Old 04-09-2017, 18:14   #39
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Quote:
Originally Posted by transmitterdan View Post
Rick,

Reset XTE to zero means that the existing route leg is modified by resetting the start point to the GPS position at the moment the Zero XTE option is selected. This has the effect of changing the route leg from its original start point to the present ship position (and thus XTE becomes zero). Thereafter it will try to navigate a straight line from this new position to the next waypoint in the route. It is nothing more complex than that.
Zero cross track error does not change anything about the stored route. The original waypoints are not changed. Zero XTE only makes a temporary change to the start point of the present leg.

Does this make sense?
TDan. Yes I does make sense. May I use it?

Conachair's gif demo shows moving the "start point" that is moved, I had not realized that, and used a different way to separate Ship position from the Active Route in order to create "Non-zero XTE" using "Move boat here" command which does create a "ZeroXTE" choice just like Conachair's technique.

I guess there are several ways to create the ZeroXTE choice.
rgleason is offline   Reply With Quote
Old 04-09-2017, 18:45   #40
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,808
Images: 2
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

TDan wrote.
Quote:
1. If the autopilot is steering the boat based on a route downloaded by OpenCPN then O might not be driving the autopilot.
2. If the boat's electronics is using the route points from O then that system is generating the XTE data and not O.
3. O will send XTE messages to the AP when it is navigating a route as evidenced by the "highway" dashboard shown on the O chart display. If you don't see the highway dashboard then O is not driving. You can see the XTE value on one of the blocks in the highway dashboard.
This is also helpful explanation. #3 will not work without an autopilot connected to Opencpn and receiving nmea out APB signals as Conachair shows.
[Is this correct?]

See
https://opencpn.org/wiki/dokuwiki/do...o_an_autopilot

This page seems to cover most of it.
rgleason is offline   Reply With Quote
Old 04-09-2017, 22:17   #41
Moo
Registered User

Join Date: Mar 2017
Posts: 804
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Quote:
Originally Posted by rgleason View Post
Moo:
Small difference, but we need to create a cross track error to have it appear:
This is a great example for new users that should be the manual. Conachair has provided an very good illustration using this technique.
Not here I don't.. Zero XTE is available immediately without generating any XTE.. there might be XTE in cm but it reads 0!
Attached Files
Moo is offline   Reply With Quote
Old 04-09-2017, 22:21   #42
Moo
Registered User

Join Date: Mar 2017
Posts: 804
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Quote:
Originally Posted by transmitterdan View Post
It is not wrong. If you want to stay on the original route then don't use the Zero XTE feature. Let the XTE drive the pilot back to the original route.

Zero XTE works by creating a new straight line to the next waypoint. Thus the XTE immediately becomes Zero. Many chart plotters implement the same feature in the same way.
Yes OK some do, some don't.

But if the pilot was capable of steering the route and had been steering there would be no XTE. So this this situation is when you have a route active but have not been navigating it using the pilot (or your pilot can't cope), or you have dodged an obstacle.

I understand fully what it does. I just don't think the sentence makes sense especially the last phrase. Busy now I'll think about it whilst flying tomorrow.
Moo is offline   Reply With Quote
Old 05-09-2017, 04:01   #43
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Moo,

How,do you think chart plotters make XTE Zero?
transmitterdan is offline   Reply With Quote
Old 05-09-2017, 04:06   #44
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Quote:
Originally Posted by rgleason View Post
TDan. Yes I does make sense. May I use it?

Conachair's gif demo shows moving the "start point" that is moved, I had not realized that, and used a different way to separate Ship position from the Active Route in order to create "Non-zero XTE" using "Move boat here" command which does create a "ZeroXTE" choice just like Conachair's technique.

I guess there are several ways to create the ZeroXTE choice.
The "move boat to here" selection creates a route with one leg. After that it is no different than running a route with multiple legs. So Zero XTE works there as well.
transmitterdan is offline   Reply With Quote
Old 05-09-2017, 04:07   #45
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Couple of Practical OpenCPN Questions or Possibly Feature Requests

Quote:
Originally Posted by Moo View Post
Not here I don't.. Zero XTE is available immediately without generating any XTE.. there might be XTE in cm but it reads 0!
I have read the source code. The XTE has to be non-zero else the option to zero it will not appear.
transmitterdan is offline   Reply With Quote
Reply

Tags
cal, enc, 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
Feature Requests bdbcat OpenCPN 3495 25-08-2024 09:28
OpenCPN.org - Feature Requests Netsurfer OpenCPN 8 14-05-2017 00:15
A Poll for The Most Popular Feature Requests cagney OpenCPN 18 07-09-2011 09:17
The Most Popular Feature Requests cagney OpenCPN 29 03-09-2011 14:08

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 23:25.


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.