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:

Cross the Convergence 2026 - Guam to Ouvéa


The third race of our series of ocean voyages across the World’s convergence zones takes us southeastward now down the Pacific, from Guam’s Apra Harbour at 13.5 degrees North, back across the Equator to the glorious New Caledonian resort island of Ouvéa, on the edge of the Tropic of Capricorn at 20.5 degrees South. It’s 2400nm, and there’s more than a few other islands in the way, so mind where you go in your Ocean 50s. Race #1981
INFOby brainaid.de
Ocean 50PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
Race starts: Mar 20th 18:00 Registration Open!
▶ Flash
GO TO RACE

Lake Victoria TIMED Race 2026

This month’s TIMED race takes us inland to Lake Victoria in the heart of Africa. Starting at Rosebery Channel in Uganda sail the AC72v2 on a 196nm course around Bugala Island on the way to the finish line in Tanzania’s Speke Gulf. 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 #2018
INFOby brainaid.de
AC72v2 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ1 - TRCH - SYC
RACE CLOSE: Saturday,
28 March at 23:00 UTC
Race starts: Mar 15th 12:00 Registration Open!
▶ Flash
GO TO RACE

SSANZ Round North Island Race 2026 - Leg 4

The final challenge awaits in Leg Four of the Round North Island Series! From Napier, the fleet sets off on a 354 nautical mile run back to Auckland, completing the full circumnavigation where the journey began. Fatigue may be setting in, but this last leg could decide the overall standings. Sailing the fast and responsive Sun Fast 3600, our skippers will need sharp tactics and steady focus to finish the series strong and claim victory!

The start time for this race may change at short notice to align with the real race. The confirmed start date and time will be announced via an in-race “L” flag message — Please monitor race communications closely.
Race #2014
INFO by brainaid.de
Sun Fast 3600 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: RNI - SUPBUD - SYC
RACE CLOSE: Friday,
March 20 at 2300 UTC.
Race starts: Mar 12th 22:00 Registration Closed
▶ Flash
GO TO RACE

SSANZ Round North Island Race 2026 - Leg 3

Leg Three of our Round North Island Series, in partnership with SSANZ, keeps the pressure on! From Cook Strait, the fleet turns north for a 187 nautical mile passage up the east coast to Napier. It may look like a quick overnighter, but shifting coastal winds and the ever-lively Cook Strait demand sharp focus. In our responsive Sun Fast 3600s, a proven short-handed racer and powerful downwind performer, tactical decisions and precise timing will make all the difference!

The start time for this race may change at short notice to align with the real race. The confirmed start date and time will be announced via an in-race “L” flag message — Please monitor race communications closely.
Race #2013
INFO by brainaid.de
Sun Fast 3600 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: RNI - SUPBUD - SYC
RACE CLOSE: Wednesday,
March 18 at 2300 UTC.
Race starts: Mar 08th 22:00 Registration Closed
▶ Flash
GO TO RACE

Iceland to the Falklands 2026

Welcome to an all-new route, the first of three Round the 'Old World' of Europe, Africa, Australia and Asia. To give each leg of the ROW a bit of length we'll try to hug the coasts as little as possible, so starting in Iceland our first leg of the series, which will also be the final leg of our Quarter 1 Ocean Championships takes us 7200nm to the Falklands, the full length of the Atlantic end to end. To make sure we'll get it done within the month we'll be sailing our Maxi Trimaran.
Race #2010
INFO by brainaid.de
Maxi Trimaran PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ1 - ROW - OCCH - SYC
RACE CLOSE: Tuesday,
March 24 at 2300 UTC.
Race starts: Mar 02nd 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 Sax747
  6. Sailonline Yacht Club Member CriticalHippo
  7. Sailonline Yacht Club Member vida
  8. Sailonline Yacht Club Member CollegeFund
  9. Sailonline Yacht Club Member Panpyc
  10. Sailonline Yacht Club Member sassy63

View full list

Series

Mobile Client

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

The mobile client