github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/enum_ais_flags.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll,dupl,gocritic
     3  package ardupilotmega
     4  
     5  import (
     6  	"github.com/bluenviron/gomavlib/v2/pkg/dialects/common"
     7  )
     8  
     9  // These flags are used in the AIS_VESSEL.fields bitmask to indicate validity of data in the other message fields. When set, the data is valid.
    10  type AIS_FLAGS = common.AIS_FLAGS
    11  
    12  const (
    13  	// 1 = Position accuracy less than 10m, 0 = position accuracy greater than 10m.
    14  	AIS_FLAGS_POSITION_ACCURACY AIS_FLAGS = common.AIS_FLAGS_POSITION_ACCURACY
    15  	AIS_FLAGS_VALID_COG         AIS_FLAGS = common.AIS_FLAGS_VALID_COG
    16  	AIS_FLAGS_VALID_VELOCITY    AIS_FLAGS = common.AIS_FLAGS_VALID_VELOCITY
    17  	// 1 = Velocity over 52.5765m/s (102.2 knots)
    18  	AIS_FLAGS_HIGH_VELOCITY   AIS_FLAGS = common.AIS_FLAGS_HIGH_VELOCITY
    19  	AIS_FLAGS_VALID_TURN_RATE AIS_FLAGS = common.AIS_FLAGS_VALID_TURN_RATE
    20  	// Only the sign of the returned turn rate value is valid, either greater than 5deg/30s or less than -5deg/30s
    21  	AIS_FLAGS_TURN_RATE_SIGN_ONLY AIS_FLAGS = common.AIS_FLAGS_TURN_RATE_SIGN_ONLY
    22  	AIS_FLAGS_VALID_DIMENSIONS    AIS_FLAGS = common.AIS_FLAGS_VALID_DIMENSIONS
    23  	// Distance to bow is larger than 511m
    24  	AIS_FLAGS_LARGE_BOW_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_BOW_DIMENSION
    25  	// Distance to stern is larger than 511m
    26  	AIS_FLAGS_LARGE_STERN_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_STERN_DIMENSION
    27  	// Distance to port side is larger than 63m
    28  	AIS_FLAGS_LARGE_PORT_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_PORT_DIMENSION
    29  	// Distance to starboard side is larger than 63m
    30  	AIS_FLAGS_LARGE_STARBOARD_DIMENSION AIS_FLAGS = common.AIS_FLAGS_LARGE_STARBOARD_DIMENSION
    31  	AIS_FLAGS_VALID_CALLSIGN            AIS_FLAGS = common.AIS_FLAGS_VALID_CALLSIGN
    32  	AIS_FLAGS_VALID_NAME                AIS_FLAGS = common.AIS_FLAGS_VALID_NAME
    33  )