Documentation
¶
Index ¶
Constants ¶
View Source
const ( InputTypeConfig = "configuration" InputTypeEphemeris = "ephemeris" InputTypeObservation = "observation" )
Constants for InputData types
Variables ¶
This section is empty.
Functions ¶
func FilterEpoch ¶ added in v0.12.0
func FilterEpoch(epoch observation.Epoch, config gnssconfig.Config) (observation.Epoch, error)
FilterEpoch filters the observations based on the GNSSOptions in the Config
Types ¶
type Result ¶ added in v0.12.0
type Result struct {
Time time.Time
Position gnssconfig.ECEFCoordinates
PositionError gnssconfig.ECEFCoordinates
ReceiverClockOffset float64
NumberOfSatellites int
}
func Calculate ¶ added in v0.12.0
func Calculate(epoch observation.Epoch, ssm state.SatelliteStateMap, config gnssconfig.Config) (result Result, err error)
func Process ¶ added in v0.12.0
func Process(epoch observation.Epoch, ephCollection *ephemeris.EphemerisCollection, config gnssconfig.Config) (result Result, err error)
type SPP ¶
type SPP struct {
Config gnssconfig.Config
DataChan chan InputData
ResultsChan chan Results
Epoch observation.Epoch
EphemerisCollection *ephemeris.EphemerisCollection
SatelliteStateMap state.SatelliteStateMap
Result Result
}
SPP is a struct that holds the input and output channels for the Single Point Positioning (SPP) algorithm
func NewSSP ¶ added in v0.10.0
func NewSSP(config gnssconfig.Config) *SPP
NewSSP creates a new SPP instance with the provided configuration
Click to show internal directories.
Click to hide internal directories.