User Tools

Site Tools


manual:advanced:locus_api:tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manual:advanced:locus_api:tips [2015/09/07 17:43] mstupkamanual:advanced:locus_api:tips [2016/02/22 11:41] (current) mstupka
Line 1: Line 1:
-====== Tips For Developers ======+{{ :manual:user_guide:ic_question_alt.png?nolink|}}====== Tips For Developers ====== 
 + 
 +----
  
 On this page we would like to collect all nice and possible ideas on add-ons. On this page we would like to collect all nice and possible ideas on add-ons.
Line 31: Line 33:
   * [[https://bitbucket.org/asamm/locus-api-android-sample/src/024d1e2594a61b0024727011a356b9ac62181e8f/src/main/java/menion/android/locus/api/sample/TabToolsFragment.java?at=default#cl-72|sample code]] for Periodic updates   * [[https://bitbucket.org/asamm/locus-api-android-sample/src/024d1e2594a61b0024727011a356b9ac62181e8f/src/main/java/menion/android/locus/api/sample/TabToolsFragment.java?at=default#cl-72|sample code]] for Periodic updates
   * [[https://bitbucket.org/asamm/locus-api-android-sample/src/024d1e2594a61b0024727011a356b9ac62181e8f/src/main/java/menion/android/locus/api/sample/TabPointsFragment.java?at=default#cl-39|sample code]] to display points in Locus Map   * [[https://bitbucket.org/asamm/locus-api-android-sample/src/024d1e2594a61b0024727011a356b9ac62181e8f/src/main/java/menion/android/locus/api/sample/TabPointsFragment.java?at=default#cl-39|sample code]] to display points in Locus Map
 +===== AIS/NMEA for the sea sailors =====
 +The **Automatic Identification System** (AIS) is an automatic tracking system used on ships and by vessel traffic services (VTS) for identifying and locating vessels by electronically exchanging data with other nearby ships, AIS base stations, and satellites. When satellites are used to detect AIS signatures then the term Satellite-AIS (S-AIS) is used. AIS information supplements marine radar, which continues to be the primary method of collision avoidance for water transport.
 +
 +Information provided by AIS equipment, such as unique identification, position, course, and speed, can be displayed on a screen or an ECDIS. AIS is intended to assist a vessel's watchstanding officers and allow maritime authorities to track and monitor vessel movements. AIS integrates a standardized VHF transceiver with a positioning system such as a GPS or LORAN-C receiver, with other electronic navigation sensors, such as a gyrocompass or rate of turn indicator. Vessels fitted with AIS transceivers can be tracked by AIS base stations located along coast lines or, when out of range of terrestrial networks, through a growing number of satellites that are fitted with special AIS receivers which are capable of deconflicting a large number of signatures.
 +
 +Further reading on [[https://en.wikipedia.org/wiki/Automatic_Identification_System|Wikipedia >>]]
 +
 +The information is coded into AIS/NMEA sentences:
 +
 +  * [[http://catb.org/gpsd/AIVDM.html]]
 +  * [[http://opencpn.org/ocpn/toolbar_AIS]]
 +
 +There are some open source decoder libraries on the net, e.g.
 +
 +  * [[https://github.com/schwehr/libais]]
 +
 +**Basic implementation** should cover the following aspects:
 +
 +  * Connect to a NMEA data stream provided via TCP/IP
 +  * Decode the NMEA stream
 +  * Visualise the AIS targets (ships) on the map and update their position/orientation as soon as a new AIS packet from this ship is received
 +
 +A **more thorough** implementation might cover the following features:
 +
 +  * plot the track of moving ships
 +  * provide a list of current targets with their speed, course and position
 +
 +The **last step** might be:
  
 +  * Calculate the possibility of a collision with one of the current ships (position and time of collision)
 +  * Provide some filter functions to declutter the list of targets
manual/advanced/locus_api/tips.1441640618.txt.gz · Last modified: 2015/09/07 18:43 (external edit)