Recent Changes - Search:

Past operations & data


Scientific equipment


Communications / Navigation / Tracking


Weather


Ship contact info


VHF Radio Call Sign:
WDE4414
Iridium phone cockpit:
00 - 88 1677 72 7018
Iridium spare 1:
00 - 88 1621 41 8079
Iridium spare 2:
00 - 88 1621 44 3804
Emergency Beacon:
ID: ADE90 05931 C34D
Handheld Emergency Beacon:
ID: LC 4652
Hovercraft registered in Delaware, US:
DL 1519 AB

Maintenance



edit SideBar

MAP MACHINE


The Map Machine reads GPS data from vessel network and uses Generic Mapping Tools (GMT) and the IBCAO bathy data set to produce maps in four resolutions at regular intervals.
User interface is through web page where the four maps are available in separate tabs. Screenshot below shows map with highest resolution. See also medium, coarse and regional resolutions.

The maps track vessel position. In addtion, the map machine program saves trackdata to file every 30 seconds.


1.  INSTALLATION


1.1  Required programs

Both GMT and ImageMagick should modify the PATH environmental variable to include link to their executables.
Verify by opening terminal window and issuing first pscoast and then convert command. Both commands should produce a lengthy help usage section.

1.2  Utilities

These programs are not needed to run the mapping program, but are helpful in testing and development.



2.  SOFTWARE DESIGN


Mapping software depend, of course, on GPS input. In our case, a separate program reads GPS data from USB or serial port,
converts data into another format and transmits data as an UDP telegram over vessel network. The GPS program and
mapping software can reside on the same computer, or on different computers - there is no need for configuration as the UDP
telegrams are sent in broadcast mode, reaching all machines on the network. Telegrams from the GPS program can be used by
different programs that all share a need for time- and navigation input.


Map machine software structure (diagram Excel file).



3.  OPERATION


3.1  Start GPS simulator, for testing

Test first mapping software by starting a GPS simulator.

Open terminal window, cd to C:\HOVERCRAFT_MAPPING, and issue the command:

   python hovercraft.gps.class.py sim

You should see:

Select option A. The program then starts transmitting UDP broadcast telegrams:

3.2  Start mapping software

Open new terminal window, cd to C:\HOVERCRAFT_MAPPING, and issue the command:

   python make-maps-zoomlevels.py

The program will first create four maps from the ground up - a time consuming process; approx 1 minute per map. When the program redraws map later on, it operates on the top layer of the map, only updating current position and trackline (maps are produced in PostScript, building layer upon layer, and converted to JPG in the end).

After a while, the mapping software enters normal mode. The interval between map regeneration is determined by settings in INI-file. There are two types of map regeneration: a) Only current position and trackline, and b) complete map.

The interval between partial redraw is set in INI file. The interval between complete redraw is guided by the need to keep vessel in map center (more or less); the redraw threshold (in km) is set in INI file, and the vessel speed will of course determine how fast this threshold is reached.

Next, open IE web browser. Startpage is set to show the four maps in separate tabs. Map with FINE resolution has shortest update interval (ref INI file).



4.  FIRST VERSION: OBSOLETE - KEPT FOR REFERENCE


Screenshot below shows the first version of a combined map machine and instrument integration application, using a standard browser as user interface.
A JavaScript library called JQuery was employed in developing this interface. Unfortunately, this library had a severe memory leak problem,
causing the application to run very slowly after a couple of hours. It was uncertain if the leakage problem could be solved at all, so we had to switch to plan B ...

Edit - History - Print - Recent Changes - Search
Page last modified on January 03, 2012, at 09:08 AM
Department of Earth Science
University of Bergen
N O R W A Y