Documentation
¶
Overview ¶
Package gnss contains common constants and type definitions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ByAbbr = map[string]System{ "G": SysGPS, "R": SysGLO, "E": SysGAL, "J": SysQZSS, "C": SysBDS, "I": SysNavIC, "S": SysSBAS, "M": SysMIXED, "GPS": SysGPS, "GLO": SysGLO, "GAL": SysGAL, "QZSS": SysQZSS, "QZS": SysQZSS, "BDS": SysBDS, "IRNSS": SysNavIC, "IRS": SysNavIC, "NavIC": SysNavIC, "SBAS": SysSBAS, }
ByAbbr is a lookup table for satellite systems, with "GPS", "GLO", "G", "R" etc. as key.
Functions ¶
This section is empty.
Types ¶
type Antenna ¶
type Antenna struct { Type string `json:"type" validate:"required"` Radome string `json:"antennaRadomeType"` RadomeSerialNum string `json:"radomeSerialNumber"` SerialNum string `json:"serialNumber" validate:"required"` ReferencePoint string `json:"antennaReferencePoint"` EccUp float64 `json:"markerArpUpEcc"` EccNorth float64 `json:"markerArpNorthEcc"` EccEast float64 `json:"markerArpEastEcc"` AlignmentFromTrueNorth float64 `json:"alignmentFromTrueNorth"` // in deg; + is clockwise/east CableType string `json:"antennaCableType"` // vendor & type number CableLength float32 `json:"antennaCableLength"` // in meter DateInstalled time.Time `json:"dateInstalled"` DateRemoved time.Time `json:"dateRemoved"` Notes string `json:"notes"` // Additional Information }
Antenna is a GNSS antenna.
type PRN ¶
PRN specifies a GNSS satellite.
type Receiver ¶
type Receiver struct { Type string `json:"type" validate:"required"` SatSystemsDeprecated string `json:"satelliteSystem"` // Deprecated: Sattelite System for compatibility with GA JSON SatSystems Systems `json:"satelliteSystems" validate:"required"` // Sattelite System SerialNum string `json:"serialNumber" validate:"required"` Firmware string `json:"firmwareVersion"` ElevationCutoff float64 `json:"elevationCutoffSetting"` // degree TemperatureStabiliz string `json:"temperatureStabilization"` // none or tolerance in degrees C DateInstalled time.Time `json:"dateInstalled" validate:"required"` DateRemoved time.Time `json:"dateRemoved"` Notes string `json:"notes"` // Additional Information }
Receiver is a GNSS receiver.
type System ¶
type System int
System is a satellite system.
Available satellite systems.
func (System) MarshalJSON ¶
For JSON encoding implement the json.Marshaler interface.
type Systems ¶
type Systems []System
Systems specifies a list of satellite systems.
func ParseSatSystems ¶
ParseSatSystems parses a string with satellite systems in the form of "GPS+GLO+GAL+BDS+SBAS+IRNSS".
Click to show internal directories.
Click to hide internal directories.