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: 1 2 3 4 Next

Currently brainaids NMEA proxy can only be used by software that supports NMEA through the TCP/UDP protocol. I figured a roundabout way to setup Sailplanner to connect to brainaids NMEA proxy. Sailplanner supports NMEA but through a serial port connection (COM1, COM2, etc) so all we need is a "bridge" between the COM port and the TCP/UDP broadcast. Attached is a detailed step by step method with illustrations, to get Sailplanner on the brainaid NMEA TCP/UDP bandwagon!!

Enjoy!

PS this only works for Windows users, as soon as I figure how to do it on a Macinstosh I'll post it!


--- Last Edited by Exmeromotu at 2010-07-24 06:27:45 ---
Attachments
Also don't forget that these tools could be very useful to the SOTP (or at least non-routing) crowd!

Any navigation package (many free ones) should be able to display you SOL boat in real-time. This gives you the possibility of using more advanced "drawing" tools to plan your sailing, and *AND* tools like crosstrack-error, proximity, exclusion zone, speed alarms...

= no more 3h naps on the beach on a bad update. Focus on work (sure) and get a nice 10min warning that a mark rounding is coming up. 3am nudge if you drift too far from your predicted track...

:)
Although I don't use routing software - I might do one day :-))

Thanks very much Exmer for charing this - admiring your skills

thanks 76 for your advices too

regards

Stu, who tries to cut off some time for (virt.) sailing :-/

edit: I anyway have to wait for the Mac- or Linux-Versions ;-)

--- Last Edited by StuArt at 2010-07-24 15:43:37 ---
<quote>
Also don't forget that these tools could be very useful to the SOTP (or at least non-routing) crowd!

Any navigation package (many free ones) should be able to display you SOL boat in real-time. This gives you the possibility of using more advanced "drawing" tools to plan your sailing, and *AND* tools like crosstrack-error, proximity, exclusion zone, speed alarms...

= no more 3h naps on the beach on a bad update. Focus on work (sure) and get a nice 10min warning that a mark rounding is coming up. 3am nudge if you drift too far from your predicted track...

:)</quote>


One could write a custom client to retrieve the data through the proxy. Here's a sample of the data one would get. Me, I just don't have the time to figure all that stuff out just now.

Philip
Attachments
For those interested in decoding those NMEA sentences and AIS messages, there is a lot of info on the protocols involved at gpsd.
_/)_/)_/)
The sea is lovely, dark, and deep, But I have promises to keep, And miles to sail before I sleep, And miles to sail before I sleep.
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=$HOME/
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:-)

edit: changed ~ to $HOME for the socat command. As pointed out in later posts, the copying and chmoding of the jnlp file may be omitted if using sun-java6-jre instead of openjdk-6-jre et al.

--- Last Edited by stagfock at 2011-01-16 21:57:41 ---

_______________
edited to stop overlap of column


--- Last Edited by RainbowChaser at 2012-04-21 10:37:33 ---
WINDOZE ONLY SOLution...

Use a free app called NavMonPc :: http://www.navmonpc.com

This program is all you will need to send brainaid's NMEA data to as many apps as you can handle, as it forwards the data to either 3 virtual COM ports, or upto 10 network (TCP) connections using IP 127.0.0.1 and whatever port you specify in NavMon.

Also, this program has many features that make it worth using apart from this data forwarding use.

PS: Thank you SO much for the work on your site to provide all that data Eddie!
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__
Very nice indeed, thanks Aaron!

--
Philip

socat is available for Mac OS X at darinports and there is also a graphical tool that does something similar at MultiCom
just remember that the device name needs to have a dot in it for Sailplanner to recognize it

--- Last Edited by Magnus Schoultz at 2010-12-31 15:59:49 ---

--- Last Edited by Magnus Schoultz at 2010-12-31 16:00:02 ---
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

Page: 1 2 3 4 Next

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Carib Rum Run 2026


Ahoy, ye landlubbers and seasoned salts! Welcome back to Sailonline’s legendary Carib Rum Run, perfectly timed to kick off on International Talk Like a Pirate Day, 19 September!

This year, we command the magnificent Falkun—the ultimate high-tech superyacht modeled after the iconic Maltese Falcon. This 1759nm slalom takes us through the Caribbean’s rum islands to plunder barrels from local distilleries and deliver them to the rum-parched sands of Cancun.

Join SYC before the finish to disguise yer boat with a pirate name for this race only. Hoist the sails, sharpen yer cutlasses, and plot your winning course!
Race #2060
INFO by brainaid.de
Falkun PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Sep 19th 05:00 Registration Open!
▶ Flash
GO TO RACE

Silverrudder 2026


Ahoy, SOLers! Welcome to the 2026 edition of the Silver Rudder – Challenge of the Sea! This epic 125nm single-handed race around Denmark’s island of Funen is back!

Shallow waters and shifting winds await in the world’s largest solo regatta. This year, we return to the popular First 27 solo. This superlight, water-ballasted planing machine features twin rudders and weighs a full tonne lighter than her older stepsisters. Will you master her power where precision counts most?!

It is imperative that you read AND understand these special Starting Conditions for SILVERRUDDER 2026:
Starting Conditions!!

Race #2059
INFO by brainaid.de
First 27 Solo PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - SUPBUD - RED
Race starts: Sep 18th 08:30 Registration Open!
▶ Flash
GO TO RACE

Isle of Mull TIMED Race 2026

Welcome to the west coast of Scotland for an 80 nm race around the Isle of Mull. Mull is home to castles, distilleries, and the Highland Games. The race begins just north of Oban in the shadow of Dunstaffnage Castle and after rounding the island finishes down the coast at Crinan. The Twister 28 with its classic long keel is the boat for this race.
This is a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have two weeks to test your skill and decision making after the race opens.
Race #2057
INFOby brainaid.de
PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ3 - TRCH - SYC
RACE CLOSE: Saturday,
26 September at 23:00 UTC
Race starts: Sep 13th 12:00 Registration Open!
▶ Flash
GO TO RACE

Cross the Convergence 2026 - Cocos to Sagar Island


Kapil Muni, incarnation of Lord Vishnu, founder of the Samkhya school of philosophy, disturbed from his meditation, in his wrath reduced the 60,000 sons of Sagar to ashes, as they dug the earth to retrieve the sacrificial horse that Lord Indra, the king of the Gods, stole off Sagar, thus creating the Sagara (ocean). Aeons later, Bhagiratha, a descendant of Sagara, asked Ganga to cleanse the ashes of the 60,000 princes, and her resultant torrential fall from heaven created the great river and where it met the ocean, the princes’ souls were washed and raised to heaven and Gangasagar (Sagar Island) was formed. So, let us join the pilgrimages to Kapi Muni’s Temple (see above) and race 2400nm from Cocos Island deep in the Sagara thence, in rather rapid Rapido 60s.
Race #1987
INFOby brainaid.de
Rapido 60PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
Race starts: Sep 11th 18:00 Registration Closed
▶ Flash
GO TO RACE

Shearwater - Rio de la Plata to Irish Sea 2026

Welcome to the fourth leg of our MIG series. This time we're racing the Sooty Shearwater on their migration from the breeding grounds in South America to the northern Atlantic. This is also part of our Ocean Championship, and as such the third race of OCQ3 2026. This race will be sailed in our Gunboat 90. Race #2055
INFO by brainaid.de
GunBoat 90 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
OCQ3 - OCCH - SYC - MIG
Race starts: Sep 02nd 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member CriticalHippo
  2. Sailonline Yacht Club Member KaSToR
  3. Sailonline Yacht Club Member WRmirekd
  4. Sailonline Yacht Club Member rafa
  5. Sailonline Yacht Club Member Panpyc
  6. Sailonline Yacht Club Member cdhinman
  7. Sailonline Yacht Club Member rthinman
  8. Sailonline Yacht Club Member BRENTGRAY
  9. Sailonline Yacht Club Member Sax747
  10. Sailonline Yacht Club Member vida

View full list

Series

Mobile Client

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

The mobile client