Past operations & data
Communications / Navigation / Tracking
Ship contact info
Last update: June 26, 2020, at 08:55 PM
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.
The maps track vessel position. In addtion, the map machine program saves trackdata to file every 30 seconds.
Both GMT and ImageMagick should modify the PATH environmental variable to include link to their executables.
These programs are not needed to run the mapping program, but are helpful in testing and development.
Mapping software depend, of course, on GPS input. In our case, a separate program reads GPS data from USB or serial port,
Map machine software structure (diagram Excel file).
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:
Start mapping software
Open new terminal window, cd to C:\HOVERCRAFT_MAPPING, and issue the command:
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).
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.