pb

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Source_SourceType_name = map[int32]string{
		0: "AdsbExchange",
		1: "BeastServer",
	}
	Source_SourceType_value = map[string]int32{
		"AdsbExchange": 0,
		"BeastServer":  1,
	}
)

Enum value maps for Source_SourceType.

View Source
var File_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AircraftInfo

type AircraftInfo struct {

	// Registration - assigned registration for the aircraft.
	Registration string `protobuf:"bytes,1,opt,name=Registration,proto3" json:"Registration,omitempty"`
	// TypeCode - identifies the type of aircraft
	TypeCode string `protobuf:"bytes,2,opt,name=TypeCode,proto3" json:"TypeCode,omitempty"`
	// F
	F string `protobuf:"bytes,3,opt,name=F,proto3" json:"F,omitempty"`
	// Description - brief description of the aircraft type for humans
	Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"`
	// contains filtered or unexported fields
}

AircraftInfo represents an entry in the readsb database, containing information about the aircraft

func (*AircraftInfo) Descriptor deprecated

func (*AircraftInfo) Descriptor() ([]byte, []int)

Deprecated: Use AircraftInfo.ProtoReflect.Descriptor instead.

func (*AircraftInfo) GetDescription

func (x *AircraftInfo) GetDescription() string

func (*AircraftInfo) GetF

func (x *AircraftInfo) GetF() string

func (*AircraftInfo) GetRegistration

func (x *AircraftInfo) GetRegistration() string

func (*AircraftInfo) GetTypeCode

func (x *AircraftInfo) GetTypeCode() string

func (*AircraftInfo) ProtoMessage

func (*AircraftInfo) ProtoMessage()

func (*AircraftInfo) ProtoReflect

func (x *AircraftInfo) ProtoReflect() protoreflect.Message

func (*AircraftInfo) Reset

func (x *AircraftInfo) Reset()

func (*AircraftInfo) String

func (x *AircraftInfo) String() string

type Message

type Message struct {

	// Source identifies the receiver which produced the message
	Source *Source `protobuf:"bytes,1,opt,name=Source,proto3" json:"Source,omitempty"`
	// Signal contains information about the signal strength. Only
	// set for BEAST messages currently.
	Signal *Signal `protobuf:"bytes,2,opt,name=Signal,proto3" json:"Signal,omitempty"`
	// Icao - 6 character hex identifier for aircraft
	Icao string `protobuf:"bytes,10,opt,name=Icao,proto3" json:"Icao,omitempty"`
	// Squawk - a 4 digit octal squawk code (as a string)
	Squawk string `protobuf:"bytes,11,opt,name=Squawk,proto3" json:"Squawk,omitempty"`
	// CallSign - aircrafts flight ID/callsign
	CallSign string `protobuf:"bytes,12,opt,name=CallSign,proto3" json:"CallSign,omitempty"`
	// AltitudeGeometric - geometric altitude
	AltitudeGeometric string `protobuf:"bytes,13,opt,name=AltitudeGeometric,proto3" json:"AltitudeGeometric,omitempty"`
	// AltitudeBarometric - barometric altitude
	AltitudeBarometric string `protobuf:"bytes,14,opt,name=AltitudeBarometric,proto3" json:"AltitudeBarometric,omitempty"`
	// Latitude - latitude coordinate
	Latitude string `protobuf:"bytes,20,opt,name=Latitude,proto3" json:"Latitude,omitempty"`
	// Longitude - longitude coordinate
	Longitude string `protobuf:"bytes,21,opt,name=Longitude,proto3" json:"Longitude,omitempty"`
	// IsOnGround is '1' if the aircraft is on ground, '0' otherwise
	IsOnGround bool `protobuf:"varint,30,opt,name=IsOnGround,proto3" json:"IsOnGround,omitempty"`
	// VerticalRateGeometric - change in altitude by ft per minute (UNITS??)
	VerticalRateGeometric int64 `protobuf:"varint,40,opt,name=VerticalRateGeometric,proto3" json:"VerticalRateGeometric,omitempty"`
	// HaveVerticalRateGeometric - whether VerticalRateGeometric is set
	HaveVerticalRateGeometric bool `protobuf:"varint,41,opt,name=HaveVerticalRateGeometric,proto3" json:"HaveVerticalRateGeometric,omitempty"`
	// VerticalRateBarometric - change in altitude by ft per minute (UNITS??)
	VerticalRateBarometric int64 `protobuf:"varint,45,opt,name=VerticalRateBarometric,proto3" json:"VerticalRateBarometric,omitempty"`
	// HaveVerticalRateBarometric - whether VerticalRateBarometric is set
	HaveVerticalRateBarometric bool    `protobuf:"varint,46,opt,name=HaveVerticalRateBarometric,proto3" json:"HaveVerticalRateBarometric,omitempty"`
	Track                      string  `protobuf:"bytes,50,opt,name=Track,proto3" json:"Track,omitempty"`
	MagneticHeading            float64 `protobuf:"fixed64,51,opt,name=MagneticHeading,proto3" json:"MagneticHeading,omitempty"`
	HaveMagneticHeading        bool    `protobuf:"varint,52,opt,name=HaveMagneticHeading,proto3" json:"HaveMagneticHeading,omitempty"`
	TrueHeading                float64 `protobuf:"fixed64,53,opt,name=TrueHeading,proto3" json:"TrueHeading,omitempty"`
	HaveTrueHeading            bool    `protobuf:"varint,54,opt,name=HaveTrueHeading,proto3" json:"HaveTrueHeading,omitempty"`
	// HaveFmsAltitude - used to indicate that FmsAltitude is set
	HaveFmsAltitude bool `protobuf:"varint,60,opt,name=HaveFmsAltitude,proto3" json:"HaveFmsAltitude,omitempty"`
	// FmsAltitude - the target altitude set on the aircrafts navigation
	FmsAltitude int64 `protobuf:"varint,61,opt,name=FmsAltitude,proto3" json:"FmsAltitude,omitempty"`
	// HaveNavHeading - used to indicate that NavHeading is set
	HaveNavHeading bool `protobuf:"varint,65,opt,name=HaveNavHeading,proto3" json:"HaveNavHeading,omitempty"`
	// NavHeading - heading set in navigation
	NavHeading float64 `protobuf:"fixed64,66,opt,name=NavHeading,proto3" json:"NavHeading,omitempty"`
	// HaveNavQNH indicates whether NavQNH is set
	HaveNavQNH bool `protobuf:"varint,67,opt,name=HaveNavQNH,proto3" json:"HaveNavQNH,omitempty"`
	// NavQNH - altimeter setting (QFE or QNH/QNE), millibars
	NavQNH float64 `protobuf:"fixed64,68,opt,name=NavQNH,proto3" json:"NavQNH,omitempty"`
	// HaveCategory - used to indicate that Category is set
	HaveCategory bool `protobuf:"varint,70,opt,name=HaveCategory,proto3" json:"HaveCategory,omitempty"`
	// Category - type of the transponder
	Category string `protobuf:"bytes,71,opt,name=Category,proto3" json:"Category,omitempty"`
	// GroundSpeed - speed in knots
	GroundSpeed string `protobuf:"bytes,90,opt,name=GroundSpeed,proto3" json:"GroundSpeed,omitempty"`
	// HaveTrueAirSpeed indicates whether TrueAirSpeed is set
	HaveTrueAirSpeed bool `protobuf:"varint,91,opt,name=HaveTrueAirSpeed,proto3" json:"HaveTrueAirSpeed,omitempty"`
	// TrueAirSpeed is the true airspeed in knots
	// todo: units?
	TrueAirSpeed uint64 `protobuf:"varint,92,opt,name=TrueAirSpeed,proto3" json:"TrueAirSpeed,omitempty"`
	// HaveIndicatedAirSpeed indicates whether IndicatedAirSpeed is set
	HaveIndicatedAirSpeed bool `protobuf:"varint,93,opt,name=HaveIndicatedAirSpeed,proto3" json:"HaveIndicatedAirSpeed,omitempty"`
	// IndicatedAirSpeed is the true airspeed in knots
	// todo: units?
	IndicatedAirSpeed uint64 `protobuf:"varint,94,opt,name=IndicatedAirSpeed,proto3" json:"IndicatedAirSpeed,omitempty"`
	// HaveMach indicates whether Mach is set
	HaveMach bool `protobuf:"varint,95,opt,name=HaveMach,proto3" json:"HaveMach,omitempty"`
	// Mach is the airspeed in mach
	Mach float64 `protobuf:"fixed64,96,opt,name=Mach,proto3" json:"Mach,omitempty"`
	// HaveRoll indicates whether Roll is set
	HaveRoll bool `protobuf:"varint,97,opt,name=HaveRoll,proto3" json:"HaveRoll,omitempty"`
	// The roll angle in degrees (negative is left roll),
	Roll float64 `protobuf:"fixed64,98,opt,name=Roll,proto3" json:"Roll,omitempty"`
	// NavModes - bitmap of NavModes
	NavModes uint32 `protobuf:"varint,99,opt,name=NavModes,proto3" json:"NavModes,omitempty"`
	// ADSBVersion - ADS-B Version Number 0, 1, 2 (3-7 are reserved) (2.2.3.2.7.5)
	ADSBVersion int64 `protobuf:"varint,100,opt,name=ADSBVersion,proto3" json:"ADSBVersion,omitempty"`
	// HaveNACP indicates whether NACV is set
	HaveNACP bool `protobuf:"varint,101,opt,name=HaveNACP,proto3" json:"HaveNACP,omitempty"`
	// NACP: Navigation Accuracy for Position (2.2.5.1.35)
	NACP uint32 `protobuf:"varint,102,opt,name=NACP,proto3" json:"NACP,omitempty"`
	// HaveNACV indicates whether NACV is set
	HaveNACV bool `protobuf:"varint,103,opt,name=HaveNACV,proto3" json:"HaveNACV,omitempty"`
	// NACV: Navigation Accuracy for Velocity (2.2.5.1.19)
	NACV uint32 `protobuf:"varint,104,opt,name=NACV,proto3" json:"NACV,omitempty"`
	// HaveNICBaro indicates whether NICBaro is set
	HaveNICBaro bool `protobuf:"varint,105,opt,name=HaveNICBaro,proto3" json:"HaveNICBaro,omitempty"`
	// NICBaro: Navigation Integrity Category for Barometric Altitude (2.2.5.1.35)
	NICBaro uint32 `protobuf:"varint,106,opt,name=NICBaro,proto3" json:"NICBaro,omitempty"`
	// HaveSIL indicates whether SIL is set
	HaveSIL bool `protobuf:"varint,107,opt,name=HaveSIL,proto3" json:"HaveSIL,omitempty"`
	// SIL: Source Integity Level (2.2.5.1.40)
	SIL uint32 `protobuf:"varint,108,opt,name=SIL,proto3" json:"SIL,omitempty"`
	// SILType: interpretation of SIL: unknown, perhour, persample
	SILType uint32 `protobuf:"varint,109,opt,name=SILType,proto3" json:"SILType,omitempty"`
	// contains filtered or unexported fields
}

Message - a payload produced by one of our receivers

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetADSBVersion

func (x *Message) GetADSBVersion() int64

func (*Message) GetAltitudeBarometric

func (x *Message) GetAltitudeBarometric() string

func (*Message) GetAltitudeGeometric

func (x *Message) GetAltitudeGeometric() string

func (*Message) GetCallSign

func (x *Message) GetCallSign() string

func (*Message) GetCategory

func (x *Message) GetCategory() string

func (*Message) GetFmsAltitude

func (x *Message) GetFmsAltitude() int64

func (*Message) GetGroundSpeed

func (x *Message) GetGroundSpeed() string

func (*Message) GetHaveCategory

func (x *Message) GetHaveCategory() bool

func (*Message) GetHaveFmsAltitude

func (x *Message) GetHaveFmsAltitude() bool

func (*Message) GetHaveIndicatedAirSpeed

func (x *Message) GetHaveIndicatedAirSpeed() bool

func (*Message) GetHaveMach

func (x *Message) GetHaveMach() bool

func (*Message) GetHaveMagneticHeading

func (x *Message) GetHaveMagneticHeading() bool

func (*Message) GetHaveNACP

func (x *Message) GetHaveNACP() bool

func (*Message) GetHaveNACV

func (x *Message) GetHaveNACV() bool

func (*Message) GetHaveNICBaro

func (x *Message) GetHaveNICBaro() bool

func (*Message) GetHaveNavHeading

func (x *Message) GetHaveNavHeading() bool

func (*Message) GetHaveNavQNH

func (x *Message) GetHaveNavQNH() bool

func (*Message) GetHaveRoll

func (x *Message) GetHaveRoll() bool

func (*Message) GetHaveSIL

func (x *Message) GetHaveSIL() bool

func (*Message) GetHaveTrueAirSpeed

func (x *Message) GetHaveTrueAirSpeed() bool

func (*Message) GetHaveTrueHeading

func (x *Message) GetHaveTrueHeading() bool

func (*Message) GetHaveVerticalRateBarometric

func (x *Message) GetHaveVerticalRateBarometric() bool

func (*Message) GetHaveVerticalRateGeometric

func (x *Message) GetHaveVerticalRateGeometric() bool

func (*Message) GetIcao

func (x *Message) GetIcao() string

func (*Message) GetIndicatedAirSpeed

func (x *Message) GetIndicatedAirSpeed() uint64

func (*Message) GetIsOnGround

func (x *Message) GetIsOnGround() bool

func (*Message) GetLatitude

func (x *Message) GetLatitude() string

func (*Message) GetLongitude

func (x *Message) GetLongitude() string

func (*Message) GetMach

func (x *Message) GetMach() float64

func (*Message) GetMagneticHeading

func (x *Message) GetMagneticHeading() float64

func (*Message) GetNACP

func (x *Message) GetNACP() uint32

func (*Message) GetNACV

func (x *Message) GetNACV() uint32

func (*Message) GetNICBaro

func (x *Message) GetNICBaro() uint32

func (*Message) GetNavHeading

func (x *Message) GetNavHeading() float64

func (*Message) GetNavModes

func (x *Message) GetNavModes() uint32

func (*Message) GetNavQNH

func (x *Message) GetNavQNH() float64

func (*Message) GetRoll

func (x *Message) GetRoll() float64

func (*Message) GetSIL

func (x *Message) GetSIL() uint32

func (*Message) GetSILType

func (x *Message) GetSILType() uint32

func (*Message) GetSignal

func (x *Message) GetSignal() *Signal

func (*Message) GetSource

func (x *Message) GetSource() *Source

func (*Message) GetSquawk

func (x *Message) GetSquawk() string

func (*Message) GetTrack

func (x *Message) GetTrack() string

func (*Message) GetTrueAirSpeed

func (x *Message) GetTrueAirSpeed() uint64

func (*Message) GetTrueHeading

func (x *Message) GetTrueHeading() float64

func (*Message) GetVerticalRateBarometric

func (x *Message) GetVerticalRateBarometric() int64

func (*Message) GetVerticalRateGeometric

func (x *Message) GetVerticalRateGeometric() int64

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Operator

type Operator struct {

	// Name - name of the operator
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// CountryName - where the operator is based
	CountryName string `protobuf:"bytes,2,opt,name=CountryName,proto3" json:"CountryName,omitempty"`
	// R
	R string `protobuf:"bytes,3,opt,name=R,proto3" json:"R,omitempty"`
	// contains filtered or unexported fields
}

Operator represents an entry in the readsb operators database, and contains information about the operator of the current flight.

func (*Operator) Descriptor deprecated

func (*Operator) Descriptor() ([]byte, []int)

Deprecated: Use Operator.ProtoReflect.Descriptor instead.

func (*Operator) GetCountryName

func (x *Operator) GetCountryName() string

func (*Operator) GetName

func (x *Operator) GetName() string

func (*Operator) GetR

func (x *Operator) GetR() string

func (*Operator) ProtoMessage

func (*Operator) ProtoMessage()

func (*Operator) ProtoReflect

func (x *Operator) ProtoReflect() protoreflect.Message

func (*Operator) Reset

func (x *Operator) Reset()

func (*Operator) String

func (x *Operator) String() string

type Signal

type Signal struct {

	// Rssi - signal strength
	Rssi float64 `protobuf:"fixed64,1,opt,name=Rssi,proto3" json:"Rssi,omitempty"`
	// contains filtered or unexported fields
}

Signal contains signal strength information about the received message

func (*Signal) Descriptor deprecated

func (*Signal) Descriptor() ([]byte, []int)

Deprecated: Use Signal.ProtoReflect.Descriptor instead.

func (*Signal) GetRssi

func (x *Signal) GetRssi() float64

func (*Signal) ProtoMessage

func (*Signal) ProtoMessage()

func (*Signal) ProtoReflect

func (x *Signal) ProtoReflect() protoreflect.Message

func (*Signal) Reset

func (x *Signal) Reset()

func (*Signal) String

func (x *Signal) String() string

type Source

type Source struct {

	// Name - name of the producer. ADSB Exchange is 'adsbx'.
	// Beast Servers use the name from the config entry.
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// Type - type of producer that produced this message
	Type Source_SourceType `protobuf:"varint,2,opt,name=Type,proto3,enum=airtrack.Source_SourceType" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

Source contains information about which receiver produced the message

func (*Source) Descriptor deprecated

func (*Source) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetName

func (x *Source) GetName() string

func (*Source) GetType

func (x *Source) GetType() Source_SourceType

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type Source_SourceType

type Source_SourceType int32

SourceType - enumeration of types of message producers

const (
	Source_AdsbExchange Source_SourceType = 0
	Source_BeastServer  Source_SourceType = 1
)

func (Source_SourceType) Descriptor

func (Source_SourceType) Enum

func (Source_SourceType) EnumDescriptor deprecated

func (Source_SourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Source_SourceType.Descriptor instead.

func (Source_SourceType) Number

func (Source_SourceType) String

func (x Source_SourceType) String() string

func (Source_SourceType) Type

type State

type State struct {

	// 6 character hex identifier for aircraft
	Icao string `protobuf:"bytes,1,opt,name=Icao,proto3" json:"Icao,omitempty"`
	// Contains aircraft registration, type, and description of the aircraft
	Info *AircraftInfo `protobuf:"bytes,2,opt,name=Info,proto3" json:"Info,omitempty"`
	// OperatorCode is a three letter code which references the operator for
	// this flight. The field is not empty if the callsign begins with three
	// letters followed by a number.
	OperatorCode string `protobuf:"bytes,3,opt,name=OperatorCode,proto3" json:"OperatorCode,omitempty"`
	// Operator information contains the name of the operator and its country.
	// It will only be set if the `OperatorCode` is found in the database.
	Operator *Operator `protobuf:"bytes,4,opt,name=Operator,proto3" json:"Operator,omitempty"`
	// LastSignal contains the signal strength from the last message.
	LastSignal *Signal `protobuf:"bytes,5,opt,name=LastSignal,proto3" json:"LastSignal,omitempty"`
	// barometric altitude in feet
	HaveAltitudeBarometric bool  `protobuf:"varint,10,opt,name=HaveAltitudeBarometric,proto3" json:"HaveAltitudeBarometric,omitempty"`
	AltitudeBarometric     int64 `protobuf:"varint,11,opt,name=AltitudeBarometric,proto3" json:"AltitudeBarometric,omitempty"`
	// geometric altitude in feet
	HaveAltitudeGeometric bool  `protobuf:"varint,12,opt,name=HaveAltitudeGeometric,proto3" json:"HaveAltitudeGeometric,omitempty"`
	AltitudeGeometric     int64 `protobuf:"varint,13,opt,name=AltitudeGeometric,proto3" json:"AltitudeGeometric,omitempty"`
	// HaveLocation - used to indicate whether Latitude and Longitude are set.
	HaveLocation bool `protobuf:"varint,20,opt,name=HaveLocation,proto3" json:"HaveLocation,omitempty"`
	// Latitude
	Latitude float64 `protobuf:"fixed64,21,opt,name=Latitude,proto3" json:"Latitude,omitempty"`
	// Longitude
	Longitude float64 `protobuf:"fixed64,22,opt,name=Longitude,proto3" json:"Longitude,omitempty"`
	// HaveCallsign - indicates whether Callsign is set.
	HaveCallsign bool `protobuf:"varint,30,opt,name=HaveCallsign,proto3" json:"HaveCallsign,omitempty"`
	// Callsign or flight identifier
	CallSign string `protobuf:"bytes,31,opt,name=CallSign,proto3" json:"CallSign,omitempty"`
	// HaveSquawk - indicates whether Squawk is set.
	HaveSquawk bool `protobuf:"varint,40,opt,name=HaveSquawk,proto3" json:"HaveSquawk,omitempty"`
	// Squawk - 4 digit octal number (as string)
	Squawk string `protobuf:"bytes,41,opt,name=Squawk,proto3" json:"Squawk,omitempty"`
	// HaveCountry - indicates whether Country and CountryCode fields are set.
	HaveCountry bool `protobuf:"varint,50,opt,name=HaveCountry,proto3" json:"HaveCountry,omitempty"`
	// CountryCode - Aircraft registration country determined by ICAO Country Allocation
	// CountryCode is ISO3166 2 letter code
	CountryCode string `protobuf:"bytes,51,opt,name=CountryCode,proto3" json:"CountryCode,omitempty"`
	// Country is the long country name
	Country string `protobuf:"bytes,52,opt,name=Country,proto3" json:"Country,omitempty"`
	// IsOnGround tracks whether the aircraft is on ground or in the air.
	IsOnGround bool `protobuf:"varint,60,opt,name=IsOnGround,proto3" json:"IsOnGround,omitempty"`
	// HaveNavQNH indicates whether NavQNH is set
	HaveNavQNH bool `protobuf:"varint,61,opt,name=HaveNavQNH,proto3" json:"HaveNavQNH,omitempty"`
	// NavQNH - altimeter setting (QFE or QNH/QNE), millibars
	NavQNH float64 `protobuf:"fixed64,62,opt,name=NavQNH,proto3" json:"NavQNH,omitempty"`
	// HaveVerticalRateBarometric indicates whether VerticalRateBarometric is set.
	HaveVerticalRateBarometric bool `protobuf:"varint,70,opt,name=HaveVerticalRateBarometric,proto3" json:"HaveVerticalRateBarometric,omitempty"`
	// VerticalRateBarometric - barometric change in vertical rate (+/-) in feet per minute
	VerticalRateBarometric int64 `protobuf:"varint,71,opt,name=VerticalRateBarometric,proto3" json:"VerticalRateBarometric,omitempty"`
	// HaveVerticalRateGeometric indicates whether VerticalRateGeometric is set.
	HaveVerticalRateGeometric bool `protobuf:"varint,75,opt,name=HaveVerticalRateGeometric,proto3" json:"HaveVerticalRateGeometric,omitempty"`
	// VerticalRateGeometric - geometric change in vertical rate (+/-) in feet per minute
	VerticalRateGeometric int64 `protobuf:"varint,76,opt,name=VerticalRateGeometric,proto3" json:"VerticalRateGeometric,omitempty"`
	// HaveTrack indicates whether Track is set.
	HaveTrack bool    `protobuf:"varint,80,opt,name=HaveTrack,proto3" json:"HaveTrack,omitempty"`
	Track     float64 `protobuf:"fixed64,81,opt,name=Track,proto3" json:"Track,omitempty"`
	// HaveFmsAltitude indicates whether FmsAltitude is set.
	HaveFmsAltitude bool `protobuf:"varint,85,opt,name=HaveFmsAltitude,proto3" json:"HaveFmsAltitude,omitempty"`
	// FmsAltitude - the target altitude set on navigation instruments
	FmsAltitude int64 `protobuf:"varint,86,opt,name=FmsAltitude,proto3" json:"FmsAltitude,omitempty"`
	// HaveNavHeading indicates whether NavHeading is set.
	HaveNavHeading bool `protobuf:"varint,87,opt,name=HaveNavHeading,proto3" json:"HaveNavHeading,omitempty"`
	// NavHeading - the heading set in navigation
	NavHeading float64 `protobuf:"fixed64,88,opt,name=NavHeading,proto3" json:"NavHeading,omitempty"`
	// HaveGroundSpeed indicates whether GroundSpeed is set.
	HaveGroundSpeed bool `protobuf:"varint,90,opt,name=HaveGroundSpeed,proto3" json:"HaveGroundSpeed,omitempty"`
	// GroundSpeed - the ground speed in knots
	GroundSpeed float64 `protobuf:"fixed64,91,opt,name=GroundSpeed,proto3" json:"GroundSpeed,omitempty"`
	// HaveTrueAirSpeed indicates whether TrueAirSpeed is set
	HaveTrueAirSpeed bool `protobuf:"varint,92,opt,name=HaveTrueAirSpeed,proto3" json:"HaveTrueAirSpeed,omitempty"`
	// TrueAirSpeed is the true airspeed in knots
	// todo: units?
	TrueAirSpeed uint64 `protobuf:"varint,93,opt,name=TrueAirSpeed,proto3" json:"TrueAirSpeed,omitempty"`
	// HaveIndicatedAirSpeed indicates whether IndicatedAirSpeed is set
	HaveIndicatedAirSpeed bool `protobuf:"varint,94,opt,name=HaveIndicatedAirSpeed,proto3" json:"HaveIndicatedAirSpeed,omitempty"`
	// IndicatedAirSpeed is the true airspeed in knots
	// todo: units?
	IndicatedAirSpeed uint64 `protobuf:"varint,95,opt,name=IndicatedAirSpeed,proto3" json:"IndicatedAirSpeed,omitempty"`
	// HaveMach indicates whether Mach is set
	HaveMach bool `protobuf:"varint,96,opt,name=HaveMach,proto3" json:"HaveMach,omitempty"`
	// Mach is the airspeed in mach
	Mach float64 `protobuf:"fixed64,97,opt,name=Mach,proto3" json:"Mach,omitempty"`
	// NavModes - bitmap of NavModes
	NavModes uint32 `protobuf:"varint,99,opt,name=NavModes,proto3" json:"NavModes,omitempty"`
	// HaveCategory indicates whether Category is set.
	HaveCategory bool `protobuf:"varint,100,opt,name=HaveCategory,proto3" json:"HaveCategory,omitempty"`
	// Category - the transponder type
	Category string `protobuf:"bytes,101,opt,name=Category,proto3" json:"Category,omitempty"`
	// HaveRoll indicates whether Roll is set
	HaveRoll bool `protobuf:"varint,105,opt,name=HaveRoll,proto3" json:"HaveRoll,omitempty"`
	// The roll angle in degrees (negative is left roll),
	Roll float64 `protobuf:"fixed64,106,opt,name=Roll,proto3" json:"Roll,omitempty"`
	// ADSBVersion - ADS-B Version Number 0, 1, 2 (3-7 are reserved) (2.2.3.2.7.5)
	ADSBVersion int64 `protobuf:"varint,107,opt,name=ADSBVersion,proto3" json:"ADSBVersion,omitempty"`
	// HaveNACP indicates whether NACV is set
	HaveNACP bool `protobuf:"varint,108,opt,name=HaveNACP,proto3" json:"HaveNACP,omitempty"`
	// NACP: Navigation Accuracy for Position (2.2.5.1.35)
	NACP uint32 `protobuf:"varint,109,opt,name=NACP,proto3" json:"NACP,omitempty"`
	// HaveNACV indicates whether NACV is set
	HaveNACV bool `protobuf:"varint,110,opt,name=HaveNACV,proto3" json:"HaveNACV,omitempty"`
	// NACV: Navigation Accuracy for Velocity (2.2.5.1.19)
	NACV uint32 `protobuf:"varint,111,opt,name=NACV,proto3" json:"NACV,omitempty"`
	// HaveNICBaro indicates whether NICBaro is set
	HaveNICBaro bool `protobuf:"varint,112,opt,name=HaveNICBaro,proto3" json:"HaveNICBaro,omitempty"`
	// NICBaro: Navigation Integrity Category for Barometric Altitude (2.2.5.1.35)
	NICBaro uint32 `protobuf:"varint,113,opt,name=NICBaro,proto3" json:"NICBaro,omitempty"`
	// HaveSIL indicates whether SIL is set
	HaveSIL bool `protobuf:"varint,114,opt,name=HaveSIL,proto3" json:"HaveSIL,omitempty"`
	// SIL: Source Integity Level (2.2.5.1.40)
	SIL uint32 `protobuf:"varint,115,opt,name=SIL,proto3" json:"SIL,omitempty"`
	// SILType: interpretation of SIL: unknown, perhour, persample
	SILType uint32 `protobuf:"varint,116,opt,name=SILType,proto3" json:"SILType,omitempty"`
	// contains filtered or unexported fields
}

State contains general information about a sighting.

func (*State) Descriptor deprecated

func (*State) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetADSBVersion

func (x *State) GetADSBVersion() int64

func (*State) GetAltitudeBarometric

func (x *State) GetAltitudeBarometric() int64

func (*State) GetAltitudeGeometric

func (x *State) GetAltitudeGeometric() int64

func (*State) GetCallSign

func (x *State) GetCallSign() string

func (*State) GetCategory

func (x *State) GetCategory() string

func (*State) GetCountry

func (x *State) GetCountry() string

func (*State) GetCountryCode

func (x *State) GetCountryCode() string

func (*State) GetFmsAltitude

func (x *State) GetFmsAltitude() int64

func (*State) GetGroundSpeed

func (x *State) GetGroundSpeed() float64

func (*State) GetHaveAltitudeBarometric

func (x *State) GetHaveAltitudeBarometric() bool

func (*State) GetHaveAltitudeGeometric

func (x *State) GetHaveAltitudeGeometric() bool

func (*State) GetHaveCallsign

func (x *State) GetHaveCallsign() bool

func (*State) GetHaveCategory

func (x *State) GetHaveCategory() bool

func (*State) GetHaveCountry

func (x *State) GetHaveCountry() bool

func (*State) GetHaveFmsAltitude

func (x *State) GetHaveFmsAltitude() bool

func (*State) GetHaveGroundSpeed

func (x *State) GetHaveGroundSpeed() bool

func (*State) GetHaveIndicatedAirSpeed

func (x *State) GetHaveIndicatedAirSpeed() bool

func (*State) GetHaveLocation

func (x *State) GetHaveLocation() bool

func (*State) GetHaveMach

func (x *State) GetHaveMach() bool

func (*State) GetHaveNACP

func (x *State) GetHaveNACP() bool

func (*State) GetHaveNACV

func (x *State) GetHaveNACV() bool

func (*State) GetHaveNICBaro

func (x *State) GetHaveNICBaro() bool

func (*State) GetHaveNavHeading

func (x *State) GetHaveNavHeading() bool

func (*State) GetHaveNavQNH

func (x *State) GetHaveNavQNH() bool

func (*State) GetHaveRoll

func (x *State) GetHaveRoll() bool

func (*State) GetHaveSIL

func (x *State) GetHaveSIL() bool

func (*State) GetHaveSquawk

func (x *State) GetHaveSquawk() bool

func (*State) GetHaveTrack

func (x *State) GetHaveTrack() bool

func (*State) GetHaveTrueAirSpeed

func (x *State) GetHaveTrueAirSpeed() bool

func (*State) GetHaveVerticalRateBarometric

func (x *State) GetHaveVerticalRateBarometric() bool

func (*State) GetHaveVerticalRateGeometric

func (x *State) GetHaveVerticalRateGeometric() bool

func (*State) GetIcao

func (x *State) GetIcao() string

func (*State) GetIndicatedAirSpeed

func (x *State) GetIndicatedAirSpeed() uint64

func (*State) GetInfo

func (x *State) GetInfo() *AircraftInfo

func (*State) GetIsOnGround

func (x *State) GetIsOnGround() bool

func (*State) GetLastSignal

func (x *State) GetLastSignal() *Signal

func (*State) GetLatitude

func (x *State) GetLatitude() float64

func (*State) GetLongitude

func (x *State) GetLongitude() float64

func (*State) GetMach

func (x *State) GetMach() float64

func (*State) GetNACP

func (x *State) GetNACP() uint32

func (*State) GetNACV

func (x *State) GetNACV() uint32

func (*State) GetNICBaro

func (x *State) GetNICBaro() uint32

func (*State) GetNavHeading

func (x *State) GetNavHeading() float64

func (*State) GetNavModes

func (x *State) GetNavModes() uint32

func (*State) GetNavQNH

func (x *State) GetNavQNH() float64

func (*State) GetOperator

func (x *State) GetOperator() *Operator

func (*State) GetOperatorCode

func (x *State) GetOperatorCode() string

func (*State) GetRoll

func (x *State) GetRoll() float64

func (*State) GetSIL

func (x *State) GetSIL() uint32

func (*State) GetSILType

func (x *State) GetSILType() uint32

func (*State) GetSquawk

func (x *State) GetSquawk() string

func (*State) GetTrack

func (x *State) GetTrack() float64

func (*State) GetTrueAirSpeed

func (x *State) GetTrueAirSpeed() uint64

func (*State) GetVerticalRateBarometric

func (x *State) GetVerticalRateBarometric() int64

func (*State) GetVerticalRateGeometric

func (x *State) GetVerticalRateGeometric() int64

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL