Facebook

Login

Support Sailonline

If you haven't already - join the SAILONLINE YACHT CLUB!

Please also consider making a donation - all amounts are greatly appreciated!

Board » General Discussion » Sailplanner users can connect to brainaids NMEA proxy!!

Page: Previous 1 2 3 4 Next

Hi Magnus,
Can you please create a step-by-step instruction for the mac-version like Exmer's Windows tutorial? I would babysit your boat whenever you want ;-))

regards

StuArt/Berth
OK, StuArt, I'll try :)

open Brainaid's proxy from the website and login.

download and start MultiCom.
set Port A to "Pseudo Terminal" and
set Port B to "IP Client" and enter the IP-address and port number from brainaid's proxy as "Server Host Name" and "Server Port".
check both as enabled. make a note of the device it's connected as ex. /dev/ttys001

open a terminal window and enter:
sudo ln -s /dev/ttys001 /dev/tty.NMEA

start sailplanner and check "lock to NMEA"
choose tty.NMEA in sailplanner's NMEA setup window

click the start button in brainaid's proxy

click the check button in sailplanner's NMEA setup window

if you get a green OK everything worked
Magnus:

WOW!

I had fiddled around with MultiCom before but couldn't figure out a way to do it. I had also tried VirtualSerialPort App and other OSX communication tools to no avail. The best I could do was get it to work on my old Ibook G4 (Leopard) whose dial up modem port apparently was working in loopback mode. On my newer MacBookPro I couldn't get it to work. I had been trying by using other software (PolarCom) to serve as the TCP-serial brigde but once the serial port is in use only one application (PolarCom) could read the port and the data couldn't be shared to Sailplanner.

Your step by step procedure works!!

Thanks!!

Cheers,

Antonio
Hi Magnus,

First: thanks for your effort.
It worked until I got the terminal-warning:
"WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information."

That made me stop and think twice. Shall I proceed? Is it still safe? :-P

regards

Stu/Berth
Hi Stu!

Magnus' procedure works beautifully and will not mess up your computer, what the sudo (Super User "do") command does in this case is give you access to the nitty gritty of the data exchange between OS X communication ports. Your highly sensitive OS files will be OK. Try it!

Cheers!

Antonio
Hi,

EDIT This applies to Linux:

I had to copy the NMEAproxy.jnlp file to ~/.netx/cache/http/sol.brainaid.de/
sailonline/toolbox
Then I made it read only!
$ chmod -w ~/.netx/cache/http/sol.brainaid.de/
sailonline/toolbox/NMEAproxy.jnlp


no need to hop through these loops with the sun java packages. Apparently, the openjdk jre uses an outdated web start utility. Use the sun-java6-jre instead and brainaid's utility will work out of the browser.
Best, Jan



--- Last Edited by pangloss at 2011-01-03 22:15:14 ---

--- Last Edited by RainbowChaser at 2014-06-16 23:20:10 ---
Yet another method - for Windows XP

Many thanks to BrainAid and all the other contributors above without whose comments I would not have got to this point.

However, along the way, I encountered a number of errors from SailPlanner when attempting to connect it to a virtual COM port using VSPE and NavMonPC. For some reason these errors did not occur when connecting OpenCPN and other software to these COM ports but SailPlanner seems to be 'more particular' about what it will connect to.

So here is a description of how I have configured Sailplanner to connect to Brainaid's Proxy. This method uses HW Virtual Serial Port V2.5.10 which is also free to use.

It works for me. Your mileage may vary so please report any success or failure to help others following.

James
Attachments
It should be noted that trying to get your GPS data (from brainaid's proxy) into more than 1 program requires a different virtual COM port for each application. Using TCP client will increase the number of apps you can hook up, as more than 1 application can connect to the TCP port, unlike COM ports...

Also, if for some reason your program(s) cannot read the NMEA data on one of the polling cycles (BlueWater sometimes does this if there is much CPU/disk activity at the time it attempts a read) you will need to close that COM port(s) and restart it again.

In a nutshell, if you can read directly from brainaid's TCP proxy then use that method instead. Unfortunately not enough programs can accept NMEA over TCP connection...

Also Wild-by-name: What use do you put OpenCPN to? I downloaded it a while back and had a look, but cannot find anything that isnt in NavMon and BlueWater combined?? Actually any features in OpenCPN are better implemented in the other 2!?
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__
I agree - TCP is much more flexible.
I was only using OpenCPN because I have it configured on the same laptop for IRL sailing and I knew that it would receive and display both the GPS position and the AIS stream.

When I am running a separate chart plotter without AIS then NavmonPC is my AIS client of choice - much more responsive and less demanding memory wise.

I have not tried Bluewater yet - must give it a go.

Regards,

James


--- Last Edited by Wild-by-name at 2011-01-14 12:08:09 ---
Can anyone help me here I am totally new to Ubuntu/Linux, and I would like to get this going on Ubuntu, I need a step by step all this code is uncharted water for me but I have managed to run the NMEAproxy.jnlp by placing it on the desktop and right clicking it selecting 'Open With' then 'Sun Java 6 Web Start' I have also got the Sailplanner going but not connected and that is as far as I can go the COM port thing is where I am stuck. Thanks for the help
Its the things like how do I "copy the NMEAproxy.jnlp file to ~/.netx/cache/http/sol.brainaid.de/sailonline/toolbox" that get me! I copy the code into the terminal and I get "bash: /home/edwin/.netx/cache/http/sol.brainaid.de/sailonline/toolbox: is a directory" then when I go to the file "/home/edwin/" I do not see the ".netx"
This is not a complete tutorial, just the major steps I took to get my SOL position into Sailplanner on linux. Details are omitted, I just want to say it works (but not out of the box). I'm sure there are better ways, perhaps already reported in the forum.

Try to start the brainaid proxy. It failed for me not passing an argument to the proxy.
I had to copy the NMEAproxy.jnlp file to ~/.netx/cache/http/sol.brainaid.de/sailonline/toolbox
Then I made it read only!
$ chmod -w ~/.netx/cache/http/sol.brainaid.de/sailonline/toolbox/NMEAproxy.jnlp

Then I tried again.
$ javaws NMEAproxy.jnlp
press start
Horray, it worked. Lets create a virtual serial port connected to the TCP-stream.
$ mkdir ~/dev
$ socat pty,link=~/dev/vty0,waitslave tcp:localhost:5010

Create com3 under wine using the new virtual serial port.
$ ln -s ~/dev/vty0 ~/.wine/dosdevices/com3

Start Sailplanner under wine (assuming you already installed it)
lock to nmea...
select com3
press check
(perhaps you need to restart the virtual serial port if it died (socat))
press OK

Enjoy! Or at least I do:-)




--- Last Edited by ESEA at 2011-01-15 23:14:40 ---
Take it "ESEA" go sailing
Its the things like how do I "copy the NMEAproxy.jnlp file to ~/.netx/cache/http/sol.brainaid.de/sailonline/toolbox" that get me! I copy the code into the terminal and I get "bash: /home/edwin/.netx/cache/http/sol.brainaid.de/sailonline/toolbox: is a directory" then when I go to the file "/home/edwin/" I do not see the ".netx"
--- Last Edited by ESEA at 2011-01-15 23:14:40 ---
As said in another post above, the openjdk does not work as desired in this case. You could uninstall openjdk-6-... and install sun-java-6-...

Then try without that copying of the jnlp file.
Cheers!

--- Last Edited by stagfock at 2011-01-16 10:50:43 ---

Page: Previous 1 2 3 4 Next

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Pantaenius Shetland Race 2025 - Leg 2

After the excitement and fierce competition of the first leg, the adventure swiftly continues! With just enough time to relish the vibrant celebrations in Lerwick, Shetland, sailors set their sights on Bergen, Norway, for the gripping second leg of Sailonline’s exhilarating two-race Shetland Series. Another riveting 190 nautical miles of the unpredictable North Sea awaits, challenging competitors aboard the exceptional Salona 39, crafted in collaboration with Maurizio Cossutti for peak sailing performance. Whether you're strategizing for victory or simply embracing the joy of the voyage, this leg guarantees excitement, tactical depth, and unforgettable sailing moments. Hoist your sails—let the journey home begin!
Race #1927
INFO by brainaid.de
Salona 39 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SHE - SYC
Race starts: Jun 21st 16:00 Registration will open soon
▶ Flash
GO TO RACE

Brisbane to Keppel Tropical Yacht Race 2025


When the winter weather turns cool in southern Australia sailors head up to the warmer waters of The Great Barrier Reef and the big winter regattas at Hamilton Island, Airlie Beach and Magnetic Island. But the race isn’t ‘on’ this year; nevertheless, Sailonline is inviting all racers from RQYS and beyond to race the 343 nm for the fun, this time in our SOTO 40. It might be winter downunder but do put on your shorts and t-shirts before you sit down behind your devices to get into the spirit of it all!
Race #1921
INFOby brainaid.de
SOTO 40 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Jun 19th 01:00 Registration Open!
▶ Flash
GO TO RACE

Pantaenius Shetland Race 2025 - Leg 1

Prepare your sails and brace for exhilaration—it's time once again to embark on the thrilling journey from Norway's stunning outer Korsfjorden to the ruggedly beautiful Shetland Isles! Welcome to the first electrifying leg of Sailonline's celebrated two-race Shetland Series. Spanning nearly 190 nautical miles, this year's challenge features the Salona 39, masterfully designed in collaboration with Maurizio Cossutti. Sailonline proudly partners with this iconic race, bringing sailors from around the globe together to test their strategic prowess and seamanship. Whether you're a seasoned veteran or setting out on your first virtual adventure with us, get ready for an unforgettable race filled with intense competition, breathtaking scenery, and the sheer joy of sailing. The North Sea awaits—let the adventure begin!
Race #1922
INFO by brainaid.de
Salona 39 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SHE - SYC
Race starts: Jun 18th 11:00 Registration Open!
▶ Flash
GO TO RACE

Haugesund to Reykjavik 2025


In late April 2016 Draken Harald Hårfagre, the worlds largest viking ship built in modern times, left her home port in Haugesund, Norway and sailed off for a challenging voyage across the North Atlantic Ocean.
The aim was to explore and relive one of the most mythological sea voyages – the first transatlantic crossing, and the Viking discovery of the New World, more than a thousand years ago. History tells us about the Viking explorer, Leif Eriksson, who discovered America over 500 years before Christopher Columbus. The expedition was all about exploring the world, just like the Vikings did.
Sailonline is racing the 1000 nm first leg, from Haugesund, Norway, to Reykjavik, Iceland in our Farr 400. Let us sail in the wake of history on this epic adventure!
Race #1913
INFO from brainaid.de
Farr 400 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
ARQ2 - ARCH - SUPSOL – SYC
Race starts: Jun 16th 17:00 Registration Open!
▶ Flash
GO TO RACE

Africa by Sea - Swakopmund to Maputo 2025


Time again to continue our exploration of Africa by Sea, which now takes us around the tip of the continent at Cape Agulhas and up the coast of South Africa to Mozambique’s marvellous Maputo, where we should find good anchorage in the bend of the Rio Espirito Santo (Umbuluzi) once we’ve cleared the 60m high Maputo - Katembe suspension bridge. It’s 1900nm and we’ll be glad to be sailing our comfortable and sturdy Xp-55, as we will certainly experience more headwinds!
Race #1857
INFOby brainaid.de
Xp-55 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - ABC
Race starts: Jun 11th 17:00 Registration Closed
▶ Flash
GO TO RACE

Marquesas to Young Island 2025

The adventure continues as we launch this fourth leg of the RWW series, racing from Marquesas to Young Island in the Balleny Islands, a group of islands in the Southern Ocean only 62 nm from Antarctica. Get ready for a chilling new challenge as we set sail on the sixth leg of the 2025 Ocean Championship Series! A 4100nm journey of endurance, strategy, and pure sailing excitement. This leg will be pursued aboard the race machine RP66, pushing sailors to their limits. Do you have what it takes to conquer the Southern Ocean? Join us and put your skills to the ultimate test!
PRIZE: SMPF
Race #1909
INFO by brainaid.de
Raichel/Pugh 66 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - RWW - OCCH - SUPSOL - SYC
RACE CLOSE: Saturday,
June 21 at 2300 UTC.
Race starts: Jun 02nd 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member CriticalHippo
  3. Sailonline Yacht Club Member KaSToR
  4. Sailonline Yacht Club Member FreyjaUSA
  5. Sailonline Yacht Club Member Patrick70119
  6. Sailonline Yacht Club Member Kipper1258
  7. Sailonline Yacht Club Member rafa
  8. Sailonline Yacht Club Member rumskib
  9. Sailonline Yacht Club Member bonknhoot
  10. Sailonline Yacht Club Member Smo

View full list

Series

Mobile Client

SYC members have the benefit of access to our mobile/lightweight web client!

The mobile client