接口 VWTSentence

所有超级接口:
Sentence

public interface VWTSentence extends Sentence

True Wind Speed and Angle. True wind angle in relation to the vessel's heading and true wind speed referenced to the water. Speed in Knots, Meters Per Second and Kilometers Per Hour.

Example:
$--VWT,x.x,a,x.x,N,x.x,M,x.x,K*hh<CR><LF>

作者:
Henri Laurent
  • 字段详细资料

    • MPS

      static final char MPS
      Units indicator for meters per second
      另请参阅:
    • KMPH

      static final char KMPH
      Units indicator for kilometers per hour
      另请参阅:
    • KNOT

      static final char KNOT
      Units indicator for knots (nautical miles per hour)
      另请参阅:
  • 方法详细资料

    • getWindAngle

      double getWindAngle()
      Get the Wind angle magnitude in degrees
      返回:
      Wind angle
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getDirectionLeftRight

      Direction getDirectionLeftRight()
      Get the Wind angle Left/Right of bow
      返回:
      Direction enum
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
      从以下版本开始:
      NMEA 2.3
    • getSpeedKmh

      double getSpeedKmh()
      Get relative wind speed, in kilometers per hour.
      返回:
      Speed in km/h
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getSpeedKnots

      double getSpeedKnots()
      Get relative wind speed in knots.
      返回:
      Speed in knots (nautical miles per hour)
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • setWindAngle

      void setWindAngle(double mWindAngle)
      Set the Wind angle magnitude
      参数:
      mWindAngle - Wind angle magnitude in degrees.
    • setDirectionLeftRight

      void setDirectionLeftRight(Direction direction)
      Set the Wind angle Left/Right of bow
      参数:
      direction - Direction to set
      从以下版本开始:
      NMEA 2.3
    • setSpeedKmh

      void setSpeedKmh(double kmh)
      Set the relative wind speed in kmh
      参数:
      kmh - Speed in kilometers per hour (km/h).
    • setSpeedKnots

      void setSpeedKnots(double knots)
      Set the relative wind speed in knots.
      参数:
      knots - Speed in knots (nautical miles per hour)