Documentation
¶
Index ¶
- Variables
- type AircraftInfo
- func (*AircraftInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AircraftInfo) GetDescription() string
- func (x *AircraftInfo) GetF() string
- func (x *AircraftInfo) GetRegistration() string
- func (x *AircraftInfo) GetTypeCode() string
- func (*AircraftInfo) ProtoMessage()
- func (x *AircraftInfo) ProtoReflect() protoreflect.Message
- func (x *AircraftInfo) Reset()
- func (x *AircraftInfo) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetADSBVersion() int64
- func (x *Message) GetAltitudeBarometric() string
- func (x *Message) GetAltitudeGeometric() string
- func (x *Message) GetCallSign() string
- func (x *Message) GetCategory() string
- func (x *Message) GetFmsAltitude() int64
- func (x *Message) GetGroundSpeed() string
- func (x *Message) GetHaveCategory() bool
- func (x *Message) GetHaveFmsAltitude() bool
- func (x *Message) GetHaveIndicatedAirSpeed() bool
- func (x *Message) GetHaveMach() bool
- func (x *Message) GetHaveMagneticHeading() bool
- func (x *Message) GetHaveNACP() bool
- func (x *Message) GetHaveNACV() bool
- func (x *Message) GetHaveNICBaro() bool
- func (x *Message) GetHaveNavHeading() bool
- func (x *Message) GetHaveNavQNH() bool
- func (x *Message) GetHaveRoll() bool
- func (x *Message) GetHaveSIL() bool
- func (x *Message) GetHaveTrueAirSpeed() bool
- func (x *Message) GetHaveTrueHeading() bool
- func (x *Message) GetHaveVerticalRateBarometric() bool
- func (x *Message) GetHaveVerticalRateGeometric() bool
- func (x *Message) GetIcao() string
- func (x *Message) GetIndicatedAirSpeed() uint64
- func (x *Message) GetIsOnGround() bool
- func (x *Message) GetLatitude() string
- func (x *Message) GetLongitude() string
- func (x *Message) GetMach() float64
- func (x *Message) GetMagneticHeading() float64
- func (x *Message) GetNACP() uint32
- func (x *Message) GetNACV() uint32
- func (x *Message) GetNICBaro() uint32
- func (x *Message) GetNavHeading() float64
- func (x *Message) GetNavModes() uint32
- func (x *Message) GetNavQNH() float64
- func (x *Message) GetRoll() float64
- func (x *Message) GetSIL() uint32
- func (x *Message) GetSILType() uint32
- func (x *Message) GetSignal() *Signal
- func (x *Message) GetSource() *Source
- func (x *Message) GetSquawk() string
- func (x *Message) GetTrack() string
- func (x *Message) GetTrueAirSpeed() uint64
- func (x *Message) GetTrueHeading() float64
- func (x *Message) GetVerticalRateBarometric() int64
- func (x *Message) GetVerticalRateGeometric() int64
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Operator
- func (*Operator) Descriptor() ([]byte, []int)deprecated
- func (x *Operator) GetCountryName() string
- func (x *Operator) GetName() string
- func (x *Operator) GetR() string
- func (*Operator) ProtoMessage()
- func (x *Operator) ProtoReflect() protoreflect.Message
- func (x *Operator) Reset()
- func (x *Operator) String() string
- type Signal
- type Source
- type Source_SourceType
- func (Source_SourceType) Descriptor() protoreflect.EnumDescriptor
- func (x Source_SourceType) Enum() *Source_SourceType
- func (Source_SourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Source_SourceType) Number() protoreflect.EnumNumber
- func (x Source_SourceType) String() string
- func (Source_SourceType) Type() protoreflect.EnumType
- type State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (x *State) GetADSBVersion() int64
- func (x *State) GetAltitudeBarometric() int64
- func (x *State) GetAltitudeGeometric() int64
- func (x *State) GetCallSign() string
- func (x *State) GetCategory() string
- func (x *State) GetCountry() string
- func (x *State) GetCountryCode() string
- func (x *State) GetFmsAltitude() int64
- func (x *State) GetGroundSpeed() float64
- func (x *State) GetHaveAltitudeBarometric() bool
- func (x *State) GetHaveAltitudeGeometric() bool
- func (x *State) GetHaveCallsign() bool
- func (x *State) GetHaveCategory() bool
- func (x *State) GetHaveCountry() bool
- func (x *State) GetHaveFmsAltitude() bool
- func (x *State) GetHaveGroundSpeed() bool
- func (x *State) GetHaveIndicatedAirSpeed() bool
- func (x *State) GetHaveLocation() bool
- func (x *State) GetHaveMach() bool
- func (x *State) GetHaveNACP() bool
- func (x *State) GetHaveNACV() bool
- func (x *State) GetHaveNICBaro() bool
- func (x *State) GetHaveNavHeading() bool
- func (x *State) GetHaveNavQNH() bool
- func (x *State) GetHaveRoll() bool
- func (x *State) GetHaveSIL() bool
- func (x *State) GetHaveSquawk() bool
- func (x *State) GetHaveTrack() bool
- func (x *State) GetHaveTrueAirSpeed() bool
- func (x *State) GetHaveVerticalRateBarometric() bool
- func (x *State) GetHaveVerticalRateGeometric() bool
- func (x *State) GetIcao() string
- func (x *State) GetIndicatedAirSpeed() uint64
- func (x *State) GetInfo() *AircraftInfo
- func (x *State) GetIsOnGround() bool
- func (x *State) GetLastSignal() *Signal
- func (x *State) GetLatitude() float64
- func (x *State) GetLongitude() float64
- func (x *State) GetMach() float64
- func (x *State) GetNACP() uint32
- func (x *State) GetNACV() uint32
- func (x *State) GetNICBaro() uint32
- func (x *State) GetNavHeading() float64
- func (x *State) GetNavModes() uint32
- func (x *State) GetNavQNH() float64
- func (x *State) GetOperator() *Operator
- func (x *State) GetOperatorCode() string
- func (x *State) GetRoll() float64
- func (x *State) GetSIL() uint32
- func (x *State) GetSILType() uint32
- func (x *State) GetSquawk() string
- func (x *State) GetTrack() float64
- func (x *State) GetTrueAirSpeed() uint64
- func (x *State) GetVerticalRateBarometric() int64
- func (x *State) GetVerticalRateGeometric() int64
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
Constants ¶
This section is empty.
Variables ¶
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.
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 bool `protobuf:"varint,65,opt,name=HaveNavHeading,proto3" json:"HaveNavHeading,omitempty"`
NavHeading float64 `protobuf:"fixed64,66,opt,name=NavHeading,proto3" json:"NavHeading,omitempty"`
HaveNavQNH bool `protobuf:"varint,67,opt,name=HaveNavQNH,proto3" json:"HaveNavQNH,omitempty"`
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 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) GetADSBVersion ¶
func (*Message) GetAltitudeBarometric ¶
func (*Message) GetAltitudeGeometric ¶
func (*Message) GetCallSign ¶
func (*Message) GetCategory ¶
func (*Message) GetFmsAltitude ¶
func (*Message) GetGroundSpeed ¶
func (*Message) GetHaveCategory ¶
func (*Message) GetHaveFmsAltitude ¶
func (*Message) GetHaveIndicatedAirSpeed ¶
func (*Message) GetHaveMach ¶
func (*Message) GetHaveMagneticHeading ¶
func (*Message) GetHaveNACP ¶
func (*Message) GetHaveNACV ¶
func (*Message) GetHaveNICBaro ¶
func (*Message) GetHaveNavHeading ¶
func (*Message) GetHaveNavQNH ¶
func (*Message) GetHaveRoll ¶
func (*Message) GetHaveSIL ¶
func (*Message) GetHaveTrueAirSpeed ¶
func (*Message) GetHaveTrueHeading ¶
func (*Message) GetHaveVerticalRateBarometric ¶
func (*Message) GetHaveVerticalRateGeometric ¶
func (*Message) GetIndicatedAirSpeed ¶
func (*Message) GetIsOnGround ¶
func (*Message) GetLatitude ¶
func (*Message) GetLongitude ¶
func (*Message) GetMagneticHeading ¶
func (*Message) GetNICBaro ¶
func (*Message) GetNavHeading ¶
func (*Message) GetNavModes ¶
func (*Message) GetSILType ¶
func (*Message) GetTrueAirSpeed ¶
func (*Message) GetTrueHeading ¶
func (*Message) GetVerticalRateBarometric ¶
func (*Message) GetVerticalRateGeometric ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
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) GetCountryName ¶
func (*Operator) ProtoMessage ¶
func (*Operator) ProtoMessage()
func (*Operator) ProtoReflect ¶
func (x *Operator) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Signal) ProtoMessage()
func (*Signal) ProtoReflect ¶
func (x *Signal) ProtoReflect() protoreflect.Message
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) GetType ¶
func (x *Source) GetType() Source_SourceType
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (Source_SourceType) Enum ¶
func (x Source_SourceType) Enum() *Source_SourceType
func (Source_SourceType) EnumDescriptor
deprecated
func (Source_SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Source_SourceType.Descriptor instead.
func (Source_SourceType) Number ¶
func (x Source_SourceType) Number() protoreflect.EnumNumber
func (Source_SourceType) String ¶
func (x Source_SourceType) String() string
func (Source_SourceType) Type ¶
func (Source_SourceType) Type() protoreflect.EnumType
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 bool `protobuf:"varint,61,opt,name=HaveNavQNH,proto3" json:"HaveNavQNH,omitempty"`
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 bool `protobuf:"varint,87,opt,name=HaveNavHeading,proto3" json:"HaveNavHeading,omitempty"`
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 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) GetADSBVersion ¶
func (*State) GetAltitudeBarometric ¶
func (*State) GetAltitudeGeometric ¶
func (*State) GetCallSign ¶
func (*State) GetCategory ¶
func (*State) GetCountry ¶
func (*State) GetCountryCode ¶
func (*State) GetFmsAltitude ¶
func (*State) GetGroundSpeed ¶
func (*State) GetHaveAltitudeBarometric ¶
func (*State) GetHaveAltitudeGeometric ¶
func (*State) GetHaveCallsign ¶
func (*State) GetHaveCategory ¶
func (*State) GetHaveCountry ¶
func (*State) GetHaveFmsAltitude ¶
func (*State) GetHaveGroundSpeed ¶
func (*State) GetHaveIndicatedAirSpeed ¶
func (*State) GetHaveLocation ¶
func (*State) GetHaveMach ¶
func (*State) GetHaveNACP ¶
func (*State) GetHaveNACV ¶
func (*State) GetHaveNICBaro ¶
func (*State) GetHaveNavHeading ¶
func (*State) GetHaveNavQNH ¶
func (*State) GetHaveRoll ¶
func (*State) GetHaveSIL ¶
func (*State) GetHaveSquawk ¶
func (*State) GetHaveTrack ¶
func (*State) GetHaveTrueAirSpeed ¶
func (*State) GetHaveVerticalRateBarometric ¶
func (*State) GetHaveVerticalRateGeometric ¶
func (*State) GetIndicatedAirSpeed ¶
func (*State) GetInfo ¶
func (x *State) GetInfo() *AircraftInfo
func (*State) GetIsOnGround ¶
func (*State) GetLastSignal ¶
func (*State) GetLatitude ¶
func (*State) GetLongitude ¶
func (*State) GetNICBaro ¶
func (*State) GetNavHeading ¶
func (*State) GetNavModes ¶
func (*State) GetOperator ¶
func (*State) GetOperatorCode ¶
func (*State) GetSILType ¶
func (*State) GetTrueAirSpeed ¶
func (*State) GetVerticalRateBarometric ¶
func (*State) GetVerticalRateGeometric ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message