ShipDriver

image::sd0.png === Links

Releases: Github Releases

1. What and Why

image::sd10.png

ShipDriver is intended as a very basic ship simulator. It allows a simulated vessel to be driven across the chart and mimics the appearance of the OpenCPN screen when in actual use. AIS can be recorded and played back with the VDR plugin, allowing the display of collision avoidance situations. This could be useful for training purposes.The simulation can extend to multiplayer scenarios where AIS data from one simulator is sent across a network to another user.

2. Install

Download the installer.

Windows: Run the .exe file.

3. Standard actions

Enable the plugin using Tools→Plugins and finding the ShipDriver entry. Press the Enable button.

image::sd1.png

The AIS Preferences are used later (See this section). They can be left unchecked.

sd2.png

After 'Apply'/'Ok' the ShipDriver icon will appear in the toolbar of the main screen.

sd3.png

Press the icon to display the simulator control.

sd5.png

Use right-click to bring up the menu for selecting the vessel start position. I have chosen a position close to a waypoint.

sd4.png

Initially nothing happens but when you press the 'Start' button on the control the ownship icon appears, coloured red.

sd8.png

If you have not chosen a start position a warning notice will appear.

sd7.png

At the same time the Grib plugin form appears. Grib data is used for the sail option (See this section). The Grib form can be closed at this point.

The basic controls for using the simulator are shown here:

sd8.1.png

The best way of learning is to use the tiller and speed controls and watch the effect. When using the tiller an indicator at the top shows the rudder position. There is also a digital readout, either side of the 'Midships' button.

sd11.png

4. Options

Auto

The 'Auto' button directly controls the heading. 'Standby' stops the function. Using the tiller while the Auto function is active will override and stop 'Auto'.

'Auto' active: image::sd14.png[sd14.png]

Sail

'Sail' uses the wind data from a Grib file to determine the speed of the boat. A polar from an 'Open 60' forms the basis for this. Press 'Sail'. By adjusting the heading the speed of the boat will change accordingly.

If the Grib plugin is not using a file that covers the present time/location a warning appears.

sd17.png

The speed control is not active when the 'Sail' option is in use.

when 'Sail' is active the button changes colour from green to red. Press 'Sail' again to stop this mode.

AIS

In Tools→Plugins the 'Preferences' button for ShipDriver is used to select the AIS options.

sd18.png

When recording AIS a text file is created that can be played back with the VDR plugin. This records AIS data from 'Own Ship'. This data is nearly the same as seen when meeting a vessel transmitting a Class B AIS signal in the real world.

AIS being recorded:

sd19.png

ShipDriver has been stopped and the AIS file is being played back using the VDR plugin:

sd20.png

By moving the vessel start position, re-starting and running ShipDriver, at the same time as playing the AIS with 'VDR_pi' a collision regs scenario can be created.

sd21.png

Obtain the AIS data for the 'other vessel' by using 'right-click' on the target.

sd22.png

AIS Transmission

Using Tools→Plugins and 'Preferences' for the plugin select the 'Transmit' option.

sd23.png

When ShipDriver is in use an AIS signal will be transmitted from 'Own Ship'.

sd24.png

This has limited use when OpenCPN is used on a single computer. However, on a network it is possible to transmit the data to another computer running ShipDriver allowing two users to simulate collision avoidance situations.

5. FAQ