1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00
sdrangel/plugins/feature/ais
Jon Beniston c966f1cb5a dd maximize button to MainSpectrum and expandible Channels and Features.
Add sizeToContents in ChannelGUI and FeatureGUI, called when widget is
rolled, so we can remove resizing code from all of the individual
channels and features.

In RollupContents, use minimumSizeHint for calculated size, so that
minimumWidth can come from .ui file.

In DeviceGUI::sizeToContents(), call adjustSize(), so Device GUIs start
out at minimum needed size (which should restore appearance prior to
last patch).

In stackSubWindows, use available space for channels if no
spectrum/features present.
In stackSubWindows, fix spectrum from being sized too big, resulting in
scroll bars appearing.
Reset user-defined channel width in stackSubWindows, when channels are
removed.
Don't stack maximized windows.

There's one hack in Channel/FeatureGUI::maximizeWindow(). It seems that
when maximimzing a window, QOpenGLWidgets aren't always paint properly
immediately afterwards, so the code forces an additional update. I can't
see why the first call to paintGL doesn't work.
2022-11-11 12:24:27 +00:00
..
map Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
ais.cpp Rotator controller and dependent plugins: implemented new message pipes and other fixes. Part of #1154 2022-03-28 20:12:25 +02:00
ais.h Remove dead code 2022-09-20 21:13:55 +01:00
ais.qrc Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aisgui.cpp dd maximize button to MainSpectrum and expandible Channels and Features. 2022-11-11 12:24:27 +00:00
aisgui.h v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242 2022-05-13 22:24:48 +02:00
aisgui.ui Massive UI revamping (v7): features 2022-04-05 16:28:07 +02:00
aisplugin.cpp Updated main and plugin versions 2022-05-14 13:16:33 +02:00
aisplugin.h Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aissettings.cpp Massive UI revamping (v7): added channels 2022-04-12 16:20:45 +02:00
aissettings.h Massive UI revamping (v7): created configurations with just Features for now 2022-04-05 16:28:07 +02:00
aiswebapiadapter.cpp Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aiswebapiadapter.h Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
CMakeLists.txt AIS updates 2022-02-04 17:06:00 +00:00
readme.md Add link to Map docs 2022-03-01 17:23:19 +00:00

AIS Plugin

Introduction

The AIS feature displays a table containing the most recent information about vessels, base-stations and aids-to-navigation, based on messages received via AIS Demodulators. Typically the AIS feature would be used with two AIS Demodulators: one at 161.975MHz and 162.025MHz.

The AIS feature can draw corresponding objects on the Map in 2D and 3D.

Interface

AIS feature plugin GUI

Vessels Table

The vessels table displays the current status for each vessel, base station or aid-to-navigation, based on the latest received messages, aggregated from all AIS Demodulators.

  • MMSI - The Maritime Mobile Service Identity number of the vessel or base station. Double clicking on this column will search for the MMSI on VesselFinder.
  • Type - Vessel, Base station or Aid-to-Navigation.
  • Lat - Latitude in degrees. East positive. Double clicking on this column will center the map on this object.
  • Lon - Longitude in degrees. West positive. Double clicking on this column will center the map on this object.
  • Course - Course over ground in degrees.
  • Speed - Speed over ground in knots.
  • Heading - Heading in degrees (Heading is the direction the vessel is facing, whereas course is the direction it is moving in).
  • Status - Status of the vessel (E.g. Underway using engine, At anchor).
  • IMO - International Maritime Organization (IMO) number which uniquely identifies a ship. Double clicking on this column will search for the IMO on https://www.vesselfinder.com/
  • Name - Name of the vessel. Double clicking on this column will search for the name on https://www.vesselfinder.com/
  • Callsign - Callsign of the vessel.
  • Ship Type - Type of ship (E.g. Passenger ship, Cargo ship, Tanker) and activity (Fishing, Towing, Sailing).
  • Length - The length of the vessel.
  • Destination - Destination the vessel is travelling to. Double clicking on this column will search for this location on the map on this object.
  • Position Updated - Gives the date and time the last position was received.
  • Updated - Gives the date and time the last message was received.
  • Messages - Displays the number of messages received.

Right clicking on the table header allows you to select which columns to show. The columns can be reorderd by left clicking and dragging the column header.

Right clicking on a table cell allows you to copy the cell contents, view the vessel on a variety of websites or find the vessel on the map.

Vessels are removed from the table if a message is not received for 10 minutes.

Map

The AIS feature can plot ships, base stations and aids-to-navigation on the Map. To use, simply open a Map feature and the AIS plugin will display objects based upon the messages it receives from that point. Selecting an AIS item on the map will display a text bubble containing information from the above table. To centre the map on an item in the table, double click in the Lat or Lon columns.

AIS 2D map

AIS 3D map

Attribution

Map icons are by Maarten van der Werf, DE Alvida Biersack, ID and jokokerto, MY, from the Noun Project https://thenounproject.com/

Map icons are from http://all-free-download.com.