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 21-11-2015, 07:26   #166
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by transmitterdan View Post
It was attached to a message in this thread from Hakan a few days ago.
You're all welcome to the west coast of Sweden!
https://dl.dropboxusercontent.com/u/.../Hakefjord.txt
Hakan is offline   Reply With Quote
Old 21-11-2015, 07:29   #167
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 665
Re: OpenCPN Beta test 4.1.1108 Release

I was looking at another posters quilting anomaly on the Alligator River; but was not seeing his problem. I turned OpenGL off and got the mess you see in the screenshot. Notice that the chart segment in the middle is not oriented with North up.

I tried attaching the log file but it was too large for txt
Attached Thumbnails
Click image for larger version

Name:	1nogl.jpg
Views:	197
Size:	269.1 KB
ID:	113452  
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 21-11-2015, 08:18   #168
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN Beta test 4.1.1108 Release

I didn't think that skewed charts are supposed to be quilted without opengl.
seandepagnier is offline   Reply With Quote
Old 21-11-2015, 09:34   #169
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Beta test 4.1.1108 Release

Hakan, Paul, et al...

We think we have the last "cm93 Grey box" regression resolved.
Please try the current github master, and let us know how it goes.

Enjoy virtual cruising in Sweden....too cold for me now.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 21-11-2015, 10:41   #170
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by bdbcat View Post
Hakan, Paul, et al...
We think we have the last "cm93 Grey box" regression resolved.
Please try the current github master, and let us know how it goes.

Enjoy virtual cruising in Sweden....too cold for me now.
Thanks
Dave
Dave, If you could imagine how much I agree on your last point. Our winter is not for me even though the temperature until today has been comparably human. Next winter on the Canaries??

The flowers from before are now also valid for my XP.
No "grays" and so far no crash either, been running half an hour since recent commits build.
Tomorrow a Intel 965 test in the boat. (First heater and coffee on stove, then the PC).

Thanks
Håkan
Hakan is offline   Reply With Quote
Old 21-11-2015, 12:00   #171
Registered User

Join Date: Oct 2014
Posts: 274
Re: OpenCPN Beta test 4.1.1108 Release

Dave,

Quote:
We think we have the last "cm93 Grey box" regression resolved.
Please try the current github master, and let us know how it goes.
I have tested by running the VDR at the various scales that previously had problems with grey areas being displayed in place of charts. I have not observed any problems.

Thanks,
Paul
.Paul. is offline   Reply With Quote
Old 21-11-2015, 13:31   #172
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: OpenCPN Beta test 4.1.1108 Release

How are you guys testing? VDR_pi does not work for me and I can't compile a fresh one with correct opencpn.lib Please see http://www.cruisersforum.com/forums/...ml#post1967958

Maybe I should try removing and git clone? ---but I don't think this will help at all, this has been a problem for awhile. VDR for 4.1.x does not work either, fails, hangs and hangs O. I need it for testing.

Hakan, thanks for the link. I've downloaded it again, thought it was corrupted. It wasn't.
rgleason is offline   Reply With Quote
Old 21-11-2015, 13:42   #173
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by rgleason View Post
How are you guys testing? VDR_pi does not work for me and I can't compile a fresh one with correct opencpn.lib Please see http://www.cruisersforum.com/forums/...ml#post1967958

Maybe I should try removing and git clone? ---but I don't think this will help at all, this has been a problem for awhile. VDR for 4.1.x does not work either, fails, hangs and hangs O. I need it for testing.

Hakan, thanks for the link. I've downloaded it again, thought it was corrupted. It wasn't.
Rick,

You can use a Python UDP server to "play" Hakan's file. This is the Python script:

Code:
import socket
import sys
import time

if len(sys.argv) < 4:
    print("USAGE:")
    print("[python] VDRServer1.py InputFile IP_Address Port# [Sleep time]")
    print("Sleep time is the delay in seconds between UDP messages sent.")
    print("Sleep time defaults to 0.1 seconds")
    sys.exit()

UDP_IP = sys.argv[2]
UDP_PORT = int(sys.argv[3])
filename = sys.argv[1]

if len(sys.argv) > 4:
    delay = float(sys.argv[4])
else:
    delay = 0.1

print(['UDP target IP:', UDP_IP])
print(['UDP target port:', str(UDP_PORT)])

sock = socket.socket(socket.AF_INET, # Internet
                     socket.SOCK_DGRAM) # UDP
f = open(filename, 'r')

while True :
    mess = f.readline()
    if len(mess) < 1:
        f.close()
        sys.exit()
#    print(mess)
    mess = mess.strip()
    sock.sendto(mess.encode("utf-8"),(UDP_IP, UDP_PORT))
    time.sleep(delay)
You run it like this:

> python VDRServer1.py Hakefjord.txt 127.0.0.1 2947 .033

Set up a communications channel for network UDP. This is what the setup screen in O looks like for Windows.
Attached Thumbnails
Click image for larger version

Name:	2015-11-21.png
Views:	110
Size:	22.3 KB
ID:	113464  
transmitterdan is offline   Reply With Quote
Old 21-11-2015, 14:02   #174
Registered User

Join Date: Oct 2014
Posts: 274
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by rgleason View Post
How are you guys testing? VDR_pi does not work for me and I can't compile a fresh one with correct opencpn.lib Please see http://www.cruisersforum.com/forums/...ml#post1967958

Maybe I should try removing and git clone? ---but I don't think this will help at all, this has been a problem for awhile. VDR for 4.1.x does not work either, fails, hangs and hangs O. I need it for testing.

Hakan, thanks for the link. I've downloaded it again, thought it was corrupted. It wasn't.
Rick,

I downloaded the VDR plugin from the OpenCPN.org web site:

Plugins for OpenCPN 4.1 | Official OpenCPN Homepage

This is the page of plugins built for use with the 4.1.x betas and builds of OpenCPN.

Paul
.Paul. is offline   Reply With Quote
Old 21-11-2015, 14:07   #175
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by bdbcat View Post
Hakan, Paul, et al...

We think we have the last "cm93 Grey box" regression resolved.
Please try the current github master, and let us know how it goes.

Enjoy virtual cruising in Sweden....too cold for me now.

Thanks
Dave
Dave,

Using latest git I cannot see the "grey box" problem any more.
transmitterdan is offline   Reply With Quote
Old 21-11-2015, 14:42   #176
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 665
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by boat_alexandra View Post
I didn't think that skewed charts are supposed to be quilted without opengl.
OOOPS! Should have a warning when someone attempts this.
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 21-11-2015, 14:45   #177
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: OpenCPN Beta test 4.1.1108 Release

Well, this is interesting... I have downloaded from Plugins for OpenCPN 4.1 | Official OpenCPN Homepage and installed.... twice.

Then I have been trying to play NMEA from both VDR and NavMonPC (what a nice program that is) and Opencpn seems to hang every time I try to connect. I cannot have O connected to a Nmea data stream or it just freezes without fail. I have to Close or stop the virtual port in NavMonPC, force O to close, then restart O and O acts normally. Then when I try to get NavMonPC virtual port with Com15 selected, to Connect, O shuts down. Same thing was happening with VDR.

I am starting to think that the 4.1.1108 version that I am using has nmea bugs.
I will try recompiling Opencpn again and install that, then see, but I am going to take a break to see my 100 yr old Dad!

Dan, how do you run that command for python? From any prompt window?
I thought I had pyton because of HDSR or SDR-Radio and I see pieces of it in Gimp 2 and NREL/BeOpt2.5 but I don't find a python directory in the C drive anymore...maybe that is on my Win10 machine. --Perhaps this technique should be put on the website, under supplementary programs?

Thanks for all the suggestions and help!
rgleason is offline   Reply With Quote
Old 21-11-2015, 16:15   #178
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN Beta test 4.1.1108 Release

Rick,

Python is a platform independent scripting language interpreter. You can download it for Windows here: https://www.python.org/downloads/

Either V2.7 or V3.X will work but 2.7 is more compatible with Linux as most of those systems don't support 3.X yet.
transmitterdan is offline   Reply With Quote
Old 21-11-2015, 16:49   #179
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: OpenCPN Beta test 4.1.1108 Release

Paul. and Dan what version ocpn are you using? I believe I am using 4.1.1108. 5a4dcad Implement mag var.. Should I drop back?

PS: Updated to current repos. I am embarrassed to say that I did not copy the newest opencpn.lib from opencpn/build/release to opencpn/build and I think that may be the problem. opencpn.lib was from 11/16. - Will find out soon.
rgleason is offline   Reply With Quote
Old 21-11-2015, 17:23   #180
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: OpenCPN Beta test 4.1.1108 Release

Nope, no dice. It still chokes, spits and freezes. I have to force a close. With both Navmonpc and VDR.
I am on Windows 7, * master d7673fa Set upper bound on scaled vector chart text size.

Will try Dan's python way of serving up Nmea.
rgleason is offline   Reply With Quote
Reply

Tags
enc, lease, 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
OpenCPN Beta test 4.1.1022 Release bdbcat OpenCPN 122 07-11-2015 01:12
OpenCPN Beta test 4.1.925 Release bdbcat OpenCPN 177 04-11-2015 08:16
OpenCPN Beta test 4.1.602 Release bdbcat OpenCPN 193 13-10-2015 08:19
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 19:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 02:53

Advertise Here


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


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.