spp

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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 InputData added in v0.10.0

type InputData struct {
	Type    string
	Payload interface{}
}

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 Results added in v0.10.0

type Results struct {
	Type    string
	Payload interface{}
}

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

func (*SPP) Run

func (spp *SPP) Run()

Run processes incoming data through the SPP pipeline

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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