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:

Guess Gotland TIMED Race 2026

The Guess about Gotland is do we helm our First 27 solo east or west of the island in this 140 nm race. 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 #2030
INFOby brainaid.de
First 27 solo Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ2 - TRCH - SYC
RACE CLOSE: Saturday,
2 May at 23:00 UTC
Race starts: Apr 19th 12:00 Registration will open soon
▶ Flash
GO TO RACE

Quiberon Islands 2026


The Quiberon peninsula extends as a submerged granite ridge a further 15nm or so beyond the La Teignouse lighthouse on the rocks off its southern tip, surfacing as two small islands, Houat and Hoedic, the duck and duckling in Breton, 5nm and 10nm beyond the light. Treacherous, tidal waters, but on SOL that daunts us not. Of course, we've raced here before, mostly Timed Runs out of Quiberon around Belle Ile, just south of the islets, and back, but this time it's a sprint from Belle Ile's capital of Port Marie round the foul fowl and back. A triangular course of 22nm, appropriately enough for Moody S38.
Race #2022
INFO by brainaid.de
Moody S38 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
RANKING:
SPQ2-SPCH-SYC
Race starts: Apr 18th 02:00 Registration Open!
▶ Flash
GO TO RACE

The Three Kings Race 2026


The Three Kings Race returns with a demanding 468 nautical mile challenge from Auckland up to the remote Three Kings Islands and back again. This rugged and spectacular course tests both endurance and strategy as our SOLers navigate open ocean and ever-changing conditions. Racing the powerful Riptide 50, our SOLers will need precision, timing, and smart routing to master this iconic out-and-back course and secure a strong result!
Race #2028
INFO by brainaid.de
Riptide 50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SUPBUD - SYC
Race starts: Apr 16th 22:00 Registration Open!
▶ Flash
GO TO RACE

Roma per Tutti 2026


Sailonline are honoured and delighted to have been asked to partner an online first Roma per Tutti yacht race with organizing yacht club, Circolo Nautico Riva di Traiano . In real life, this will be the 33rd edition of this 540nm offshore race from Rome’s Riva di Traiano to the Aeolian Islands and back. Online, the race will not only be our first partnership with CN Riva di Traiano, but also the second race of our Magical Mediterranean series. A number of Mini 6.50s have been entered for the 33rd edition of the Roma per Tutti; so our own vintage Mini is also our virtual yacht of choice for this one.
Race #2019
INFOby brainaid.de
Mini 6.50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: MED - SUPBUD - SYC
RACE CLOSE: Wednesday,
April 22 at 2300 UTC.
Race starts: Apr 11th 10:00 Registration Open!
▶ Flash
GO TO RACE

Rommel by Balloon 2026 - Through the Sahara


Generalfeldmarschall Johannes Erwin Eugen Rommel may have been that chivalrous, gallant tank commander of legend, led astray by the Prussian military traditions of loyalty and chain of command, but one thing he wasn’t, was mad. So, let’s do it anyway – not stick to the coast and the battle for logistical superiority – but depart the oases of Siwa south west into the desert for Agadez and its uranium. And let’s go by balloon, it’s only 2500km (1250nm)!
Race #1973
INFOby brainaid.de
SOL Balloon PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: BOL - SYC
Race starts: Apr 07th 13:00 Registration Closed
▶ Flash
GO TO RACE

Falklands to Tasmania 2026

Welcome to yet another all-new route. This next race is part of our Ocean Championship as well as the ROW series. Falklands to Tasmania, is like last year's island to island. It’s one of the longer ones 6400nm, more than half way around the world (and the Antarctica). It starts the 2026 OCQ2, and will be sailed in our Steinlager 2, contrary to prior notice.
Race #2021
INFO by brainaid.de
Steinlager 2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - ROW - OCCH - SYC
Race starts: Apr 06th 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member KaSToR
  2. Sailonline Yacht Club Member WRmirekd
  3. Sailonline Yacht Club Member rafa
  4. Sailonline Yacht Club Member rumskib
  5. Sailonline Yacht Club Member CriticalHippo
  6. Sailonline Yacht Club Member Panpyc
  7. Sailonline Yacht Club Member CollegeFund
  8. Sailonline Yacht Club Member Sax747
  9. Sailonline Yacht Club Member sassy63
  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