Difference between revisions of "Importing Boat Data"

From VRTool wiki
Jump to: navigation, search
(Connecting to a wired COM port)
m (Connecting to a wired COM port)
Line 17: Line 17:
===Connecting to a wired COM port===
===Connecting to a wired COM port===
You may use the computer's COM port (RS232)  
You may use the computer's serial COM port (RS232)  
to connect VRTool to a NMEA compatible GPS device.
to connect VRTool to a NMEA compatible GPS device.

Revision as of 09:55, 6 February 2015

There are several ways to import boat data into VRTool. All of them require a little work to establish a reliable connection, but you only need to do this once for each voyage or game.

Getting boat data directly from a game server

This method works for Virtual Regatta games only. Once it's set up the method is completely automatic and reliable. Until someone writes a TCP/IP proxy for the VR server this is the best way to import data from VR games.

Setting up this method is a little complex and is described in detail on the separate page Importing Data from VR Games.

Using the GPS interface

Connecting to an TCP/IP network

VRTool's ToolbarGPS.gif GPS interface contains a TCP/IP client that can read an NMEA data stream from on an on-board wired or wireless TCP/IP network. VRTool can plot the position of your boat (using NMEA GPS messages) and nearby boats (using AIS messages).

Connecting to a game server through a TCP/IP proxy

The same facility can read game data streamed as NMEA messages over the internet via a TCP/IP proxy server. Your friends boats can also be plotted if the proxy serves these as NMEA AIS messages.

Connecting to a wired COM port

You may use the computer's serial COM port (RS232) to connect VRTool to a NMEA compatible GPS device.

Old GPS devices normally used RS422 interfaces, which could be connected to RS232 (in most cases).

Newer GPS devices have USB ports. In this case, use a COM port simulation mode (most GPS devices can emulate COM ports). Check device documentation.

Make sure to match baud rates (default=4800 bps) and COM port number.

Importing NMEA messages from a text file

Importing boat and wind data from the Firefox cache

For Virtual Regatta games: If you are running the game console in the Firefox browser you can recover boat positions and game weather from the Firefox browser cache. Read more about that in this tutorial. This method depends on both the game file format and the browser cache management - it may stop working unexpectedly if either of these changes.

When all else fails...

For other games, or as a last resort in an emergency, simply place a mark on the chart, rename it to "Boat Position" or similar, then edit the Lat/Long of the mark manually as you go. How to do this is explained here. While this doesn't lay a track on the chart, it gives you a convenient start point for routing.