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:

Sinbad by Balloon 2025 - Toamasina to Baia de l'Oiseau


You may recall that when last we visited Madagascar in the company of Sinbad, the Sultan commanded our intrepid inspirator to seek out fabled islands where in Summer the sun barely set. We did and we returned but the Sultan wasn’t happy with Sinbad’s report, so here we go again, now by SOL Balloon instead of sailing vessel. Expect to be in the air for at least 2100nm and depending on how the wind brings us, anything between two weeks and two months before we shall descend at the Sultan’s given coordinates!
Race #1884
INFOby brainaid.de
SOL Balloon PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - SBB
Race starts: Apr 09th 11:00 Registration Open!
▶ Flash
GO TO RACE

Valparaiso to San Francisco 2025

Get ready for an exhilarating new challenge as we set sail on the fourth leg of the 2025 Ocean Championship Series! Following in the 19th century footsteps of Isabel Allende's heroine, Eliza Sommers, 'Daughter of Fortune', this all-new route takes us across the vast eastern Pacific, from Valparaíso, Chile, to San Francisco, California - a 3500nm journey of endurance, strategy, and pure sailing adrenaline. This leg will be raced aboard the powerful Rapido 60, pushing sailors to their limits as they navigate the open ocean. Do you have what it takes to conquer the Pacific? Join us and put your skills to the ultimate test!
PRIZE: SMPF
Race #1900
INFO by brainaid.de
Rapido 60 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - OCCH - SUPSOL - SYC
Race starts: Apr 07th 11:00 Registration Open!
▶ Flash
GO TO RACE

Red Eye - Round White Island 2025

We remain in New Zealand for our second “Red Eye Special” and another IRL Kiwi classic - the Round White Island! IRL still “currently on hiatus” following the island’s eruption of 2019, this race was last raced on SOL in 2020. It’s about 300nm there - out the Hauraki Gulf and south down to the island in the Bay of Plenty - and back to Auckland. This year we’ll be racing in our ever-popular take on the TP-52. Hau tika!
Race #1844
INFOby brainaid.de
TP-52 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - RED
Race starts: Apr 06th 12:00 Registration Open!
▶ Flash
GO TO RACE

Moheli PYOC 2025


For our first sprint of Q2, we will re-visit the African archipelago nation, L’Union des Comoros, and its most southern island, Moheli, in the Mozambique Channel. Created by MustangMark in 2014 this is a “Pick Your Own Course” round the island, approximately 20nm in our First 27. Expect winds to be light and variable; we are in the Tropics.
Race 1907
INFO by brainaid.de
First 27 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SPRQ2 - SPRCH - SUPSOL – SYC
Race starts: Apr 05th 09:00 Registration Open!
▶ Flash
GO TO RACE

Africa by Sea - Tangier to Abidjan


Whatever about pharaoh Necho II’s Phoenician expedition of the 7th C BCE, the Carthaginian Hanno the Navigator with more certainty sailed south from Tangier to explore the West African coast two centuries later, but how far he got is a matter of more conjecture. However, if he did the 2300nm to today’s Ivory Coast he would have found little there other than good shelter in the vast lagoons behind the dunes, much the same as today, excepting the highly industrialized port of Abidjan. Not a great haven for a stop-over but let’s take the 90ft Monohull anyway.
Race #1855
INFOby brainaid.de
90ft Monohull PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - ABC
RACE CLOSE: Thursday,
April 10 at 2300 UTC.
Race starts: Mar 26th 17:00 Registration Closed
▶ Flash
GO TO RACE

Melbourne Osaka Cup Double-Handed Yacht Race 2025

Welcome once again to what these days is Sailonline’s almost annual virtual Melbourne to Osaka Yacht Race. In real life, this double-handed 5500 nm race between these two sister cities, one deep in the southern hemisphere, the other high in the northern hemisphere, is run every four to five years, and this year is such a year. So, this year’s online version is in sync with the Melbourne Osaka Cup 2025 organised by the Ocean Racing Club of Victoria (ORCV), and the Sandringham (SYC) and Osaka Hokko (OHYC) yacht clubs. We’ll be racing the well-known First 40, a popular size of boat which should be a good match for many of the boats entered in the real race. With the doldrums unavoidably lying across our course, you can expect to be at virtual sea for at least a month!
Race #1669
INFO by brainaid.de
First 40 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Mar 16th 06:00 Registration Closed

▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

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

View full list

Series

Mobile Client

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

The mobile client