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:

Flight of the Godwit - Hegura to Anchorage 2024


Welcome to the second flight of our bar-tailed Godwit!. This race is the second of three legs reflecting the bird's annual migratory route, and simultaneously the fifth leg of the 2024 Ocean Race Championship. The voyage promises to be not only a test of skill and strategy but an immersive experience in the beauty of the archipelagos of the Aleutian Islands. Join us as we push the boundaries of seafaring prowess on this epic adventure. Let's fly like a godwit!
PRIZE: SMPF
Race #1791
INFOby brainaid.de
Maxi Trimaran PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - GWT - OCCH - SUPSOL - SYC
Race starts: May 06th 11:00 Registration will open soon
▶ Flash
GO TO RACE

Bay to Bay 2024 - Leg 2 - Great Sandy Stait

Get ready for another spectacular day on the water with the second and final race of our thrilling series! This time, the challenge extends to an ambitious 21-nautical-mile course through the scenic Great Sandy Strait of Australia. After a joyful post-race BBQ, our daring sailors will once again take the helm of their Seascape 18s! Expect more high-speed action, strategic sailing, and, of course, another fantastic BBQ to celebrate the end of this exciting series!
Race #1802
INFO from brainaid.de
Seascape 18 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: B2B - SYC
Race starts: May 04th 21:30 Registration will open soon
▶ Flash
GO TO RACE

Bay to Bay 2024 - Leg 1 - Great Sandy Strait

Prepare for an adrenaline-packed race as the pristine waters of the Great Sandy Strait beckon for a thrilling showdown! This first race of our two-race series stretches over an amazing 16-nautical-mile course, with our skilled sailors at the helm of their Seascape 18s. With fierce competition and a fantastic post-race BBQ awaiting our sailors at the finish line, what more could we ask for?! Brace yourself for a fascinating adventure and we look forward to seeing you at the start line!
Race #1801
INFO from brainaid.de
Seascape 18 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: B2B - SYC
Race starts: May 04th 01:00 Registration will open soon
▶ Flash
GO TO RACE

Melbourne to Osaka Prelude 2024

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 is planned to be held again in 2025, so this race is a Prelude in partnership with the Melbourne Osaka Cup 2025 organising committee collaborating with the Ocean Racing Club of Victoria (ORCV), and the Sandringham (SYC) and Osaka Hokko (OHYC) yacht clubs. On this occasion, we’ll be racing the well-known First 40, a popular size of boat for a long-distance double-handed race. With the doldrums unavoidably lying across the track, 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: Apr 20th 00:00 Registration Closed
▶ Flash
GO TO RACE

Cape Town to Auckland 2024


Welcome to the second leg of this Round The World series 2024. It's also the April edition of this year's ocean race championship. The course is the same as the one sailed in 2023, but this year we sail the iconic Swan 65, as suggested in the concluding RTW race last year.
Prepare yourselves for an epic 30-day journey, navigating through the unpredictable waters of the South Seas. It's essential to take care of provisioning to ensure a smooth and enjoyable race experience. With the longer duration, we anticipate plenty of opportunities for camaraderie, competition, and unforgettable memories.
PRIZE: SMPF
Race# 1789
INFO from brainaid.de
Swan 65 PARTICULARS
WX updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - RTW - OCCH - SUPSOL - SYC
RACE CLOSE: Sunday,
May 5 at 2300 UTC.
Race starts: Apr 01st 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member FreyjaUSA
  3. Sailonline Yacht Club Member Pit8008
  4. Sailonline Yacht Club Member rafa
  5. Sailonline Yacht Club Member sassy63
  6. Sailonline Yacht Club Member Sax747
  7. Sailonline Yacht Club Member Vida_Maldita
  8. Sailonline Yacht Club Member CriticalHippo
  9. Sailonline Yacht Club Member BRENTGRAY
  10. Sailonline Yacht Club Member bonknhoot

View full list

Series

Mobile Client

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

The mobile client