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:

Garagiste's Test Lab

Welcome to Newport, RI, one of the great sailing centers of the world. This TIMED race takes us around Nantucket Island in RC 44s to celebrate the life of Capt. Bartholomew Gosnold who, among many other things in his short life, named Cape Cod for the teeming fish he encountered there, and Martha’s Vineyard for his daughter. This is a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have 13 days and 11 hours to test your skill and decision making after the race opens.
Race #1939
INFOby brainaid.de
RC 44 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ3 - TRCH - SUPSOL - SYC
RACE CLOSE: Saturday,
23 August at 23:00 UTC
Race starts: Aug 10th 12:00 Registration will open soon
GO TO RACE

Patricks Test

Join the excitement as Sailonline partners again with New Zealand's Short-handed Sailing Association for the thrilling SSANZ Triple Series, proudly sponsored by Lewmar Marine. Our SOLers will tackle an exhilarating 47-nautical-mile race, navigating the waters of the beautiful Hauraki Gulf out to Motuora Island via The Haystack and back. Racing virtual Young 88 yachts, our virtual fleet will match skills and strategies with the real-life fleet of the vibrant Young 88 Association. Don't miss this intense, tactical challenge!
Race #1932
INFO by brainaid.de
Young 88 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SSANZ - SYC
Race starts: Aug 03rd 08:00 Registration Open!
GO TO RACE

Joanne's Test Race Zone

In 1947, Hugh McLean & Sons of Gourock, Scotland built a radical racing yacht for John Illingworth, soon-to-be Commodore of the RORC, to a design by Laurent Giles. With a masthead rig, giving her ‘free’ sail area per the rules of the time, and short overhangs reducing pitching, Myth of Malham went on to win The Fastnet that year and again in 1949, and to compete in numerous Admiral's Cups. In 1958, in honour of the yacht, the Myth of Malham race was conceived - a mini-Fastnet to the first lighthouse on a rock west of Cowes, Eddystone, rather than the second, to be held in non-Fastnet years. IRL this year it has been raced already, but this stops us not from “Red Eye” racing its online 230nm in Fareast 31Rs, leaving how to deal with the Isle of Wight open to your own discretion.
Race #1847
INFOby brainaid.de
Fareast 31R PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - RED
Race starts: Jul 25th 12:00 Registration Closed
GO TO RACE

Marstrand to Cowes 2025


We invite you to another race, which will kick off the third quarter of our ARCH series. We'll set off from Marstrand, Sweden, which, along with Skagen, Denmark, marks the line commonly recognised as the border separating the Baltic Sea from the North Sea. The 650nm route will take our Ripitide 50 across the North Sea and the English Channel to Cowes, England. Watch out for the fast ferries crossing the Channel from Calais to Dover 😊.
Race #1935
INFO from brainaid.de
Riptide 50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
ARQ3 - ARCH - SUPSOL – SYC
Race starts: Jul 21st 17:00 Registration Open!
GO TO RACE

Nantucket Sprint 2025


Welcome to Nantucket, from whence Herman Melville’s Cap’n Ahab sailed round The Horn into the northern Pacific Ocean to hunt the gray whale - whose migrations are celebrated elsewhere in SOL’s Q4 schedule - he never to return. And whaling too, as the 19th C progressed, like Ahab disappeared from Nantucket as the harbour silted up and mainland Massachusetts whaling stations benefited from rail connections. But beach life, yachting and nostalgia has rescued the island from oblivion, so to celebrate leisure, SOL gives you the Nantucket Sprint - 25nm in 29er_XX’s from east of Tuckernuck Island across the sound to a finish just inside the mouth of the harbour. Enjoy!
Race 1936
INFO by brainaid.de
29er_XX PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SPRQ3 - SPRCH - SUPSOL – SYC
Race starts: Jul 19th 15:00 Registration Closed
GO TO RACE

Puil's Practice Palaver


Nearly there; only 2500nm to go, round the Horn and up the Red Sea to Suez into what will more than likely be more headwinds for this sixth leg of our African circumnavigation, to be followed in September by a final sneaky dash up the canal back to where we started all those months ago. We’ll be sailing a not entirely appropriate-for-upwind-work 60ft Trimaran!
Race #1859
INFOby brainaid.de
60ft Trimaran PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - ABS
Race starts: Jun 03rd 11:30 Registration Open!
GO TO RACE

Gulf of St Lawrence - test - Mirek
-
Race starts: Apr 21st 17:00 Registration Open!

GO TO RACE

Stefan's Duck Pond

 Get ready for an exhilarating new challenge as we set sail on the eighth leg of the 2025 Ocean Championship Series! This leg takes us from Cape Town South Africa to the bay of Belbuhan on the south West coast of Java - a 5100 nm journey of endurance, strategy, and pure sailing adrenaline. This leg will be raced aboard the 125 ft Orange catamaran, pushing sailors to their limits as they navigate the open ocean. Do you have what it takes to conquer the Indian Ocean? Join us and put your skills to the ultimate test!
PRIZE: SMPF
Race #1900
INFO by brainaid.de
Orange 125 PARTICULARS    
WX Updates:
0430 / 1030 / 1630 / 2230    
Ranking: OCQ3 - OCCH - SUPSOL - SYC
Race starts: Feb 06th 00:00 Registration Closed
GO TO RACE

Trapped Camel
-
Race starts: Aug 21st 15:03 Registration Open!

GO TO RACE

Caravanserai
-
Race starts: Aug 08th 17:00 Registration Open!

GO TO RACE

Patrick's Playpen


Welcome to the legendary "Westcoaster," a race that has tested sailors for over 50 years. Spanning 435 nautical miles, this iconic journey takes racers from Melbourne, across the formidable Bass Strait, and around Tasmania's rugged west coast to the finish line in Hobart. Organized by the Ocean Racing Club of Victoria, the Westcoaster is renowned for its challenging conditions and adventurous spirit. This year, our SOLers will tackle the course in the swift and capable First 47.7, a yacht launched by Beneteau in 2000, built for speed and endurance in long ocean races. Get ready for an exhilarating ride in one of Australia’s most celebrated yacht races!
Race #1841
INFO by brainaid.de
First 47.7 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Aug 03rd 08:00 Registration Open!
GO TO RACE

Mirek's Mess & Canteen
music deleted
Race starts: Apr 26th 18:00 Registration Closed

GO TO RACE

Antarctica 1 of 3
-
Race starts: Jan 27th 21:57 Registration Open!

GO TO RACE

Flinders Island TIMED Race 2024

In the southern reaches of the Bass Strait between mainland Australia and Tasmania, you will find the Furneaux Group of islands, largest of which is Flinders, both named after famed British navigators. Your mission, should you choose to accept it, is to race your Ocean 50 catamaran a course of c 106nm around Flinders in the fastest time. This is a TIMED race, so you may RE-REGISTER HERE to try again, after finishing a run. This course will self-destruct in 13 days and 11 hours after opening for entrants.
Race #1776
INFO by brainaid.de
Ocean 50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ1 - TRCH - SUPSOL - SYC
RACE CLOSE: Saturday,
27 January at 23:00 UTC
Race starts: Jan 14th 12:00 Registration Open!
GO TO RACE

Tasman Double 2023 - Hobart to Sydney
music deleted
Race starts: Jan 02nd 02:00 Registration Open!

GO TO RACE

John's Test Zone
It's time to test your ocean racing skills in a variety of weathers as we head the 6400 NM between Hong Kong and Auckland in a fast Super Maxi 100. We'll be heading from a northern summer to a southern winter so keep plenty of cold weather gear and warm rum on board!
PRIZE: SMPF
Race #1597
INFOby brainaid.de
Super Maxi 100 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
OCQ3-OCCH-SUPSOL-SYC
Race starts: Sep 01st 04:00 Registration Closed

GO TO RACE

calm's Practice Race
Last raced in 2021, we return to Boston for another race to Newport. And just like in 2021, the chosen boat is once again the speedy R/P 66. This is a TIMED race so pick your winds wisely and see how quickly you can complete this 132nm run! For reference, the winning time in 2021 was 6:12:28.
RE-REGISTER HERE to race again after finishing a run
Race #1700
INFO by brainaid.de
R/P 66 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking:
TRQ3 - TRCH - SUPSOL - SYC
RACE CLOSE: Sunday, 18 August at 23:00 UTC
Race starts: Aug 05th 12:00 Registration Closed

GO TO RACE

ZONA DE PRUEBA DE MANUEL

Welcome to the Shorthanded Sailing Association of New Zealand's 2022 Evolution Sails Northern Triangle series, which, unfortunately, to comply with latest NZ government COVID restrictions, has been reduced to a duo, commencing with this short prologue of approximately 35nm on the waters of Auckland's Hauraki Gulf. As so often with SSANZ events in the past, online we will be racing the event in ever-young Young 88 one-designs. Have fun!
Please note the displayed course is provisional; the actual course will be set after the IRL course is announced at the skipper's briefing 48 hours before the start, and no later than 24 hours before the start.
Race #1561
INFOby brainaid.de
Young 88 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - NTR
Race starts: Jan 10th 14:00 Registration Closed
GO TO RACE

San Sebastian to La Rochelle 2021
Once again, our SOL race will be shared with a group of Polish sailors, representing one of the stages of their Virtual Training Cruise around Europe. 171 nm in Delphia 47s across the not always calm Bay of Biscay from San Sebastian to La Rochelle will undoubtedly be one to test their skills. Welcome/Witajcie and we wish you all fair winds.
Race #1441
INFOby brainaid.de
Delphia 47 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Mar 05th 17:00 Registration Open!

GO TO RACE

Aland Sea TIMED Race
Norrtalje Segelsallskap, 70km NE of Stockholm was founded in 1920, and time was when the society’s season opened with a challenging offshore race from the club line off Flaten island at the mouth of the long and narrow Norrtaljeviken, out onto a triangular course around the Aland Sea, to finish at Simpnas slightly to the north on Bjorko island - some 78nm in total. A fine race that SOL, being from these parts, ran annually up until 2013. Last run in autumn 2018, we return here to race the course again in the form a TIMED RUN in spanking new Club Swan 50s.
RE-REGISTER HERE to race again after finishing a run.
Race #1444
INFO by brainaid.de
Club Swan 50 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
RANKING:
TRQ1 - TRCH - SUPSOL - SYC
RACE CLOSE: Sunday, 28 February at 23:00 UTC
Race starts: Feb 15th 12:00 Registration Closed

GO TO RACE

Bimmer's Test Zone
What about a speedy X-362 380nm race in the waters off S America, just to blow cobwebs away!!
Race #1415
INFOby brainaid.de
X-362 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SYC
ALT. CLIENT:Classic

Race starts: Dec 21st 16:00 Registration Open!

GO TO RACE

Antarctica 3 of 3
-
Race starts: Sep 16th 11:13 Registration Closed

GO TO RACE

BLANK POLAR
Race starts: Feb 16th 00:00 Registration Open!

GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member kenza
  2. Sailonline Yacht Club Member bonknhoot
  3. Sailonline Yacht Club Member rumskib
  4. Sailonline Yacht Club Member zero
  5. Sailonline Yacht Club Member WINSTON_4
  6. Sailonline Yacht Club Member rafa
  7. Sailonline Yacht Club Member longreacher
  8. Sailonline Yacht Club Member Henrys
  9. Sailonline Yacht Club Member Smo
  10. Sailonline Yacht Club Member Neuroman

View full list

Series

Mobile Client

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

The mobile client