spp

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 9 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

This section is empty.

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            coordinates.Vector3D
	PositionError       coordinates.Vector3D
	ReceiverClockOffset float64
	NumberOfSatellites  int
}

func Calculate added in v0.12.0

func Calculate(epoch observation.Epoch, ssm state.SatelliteStateMap, config config.Config) (result Result, err error)

func Process added in v0.12.0

func Process(epoch observation.Epoch, eStore *ephemeris.EphemerisStore, config config.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            config.Config
	DataChan          chan InputData
	ResultsChan       chan Results
	Epoch             observation.Epoch
	Ephemeris         *ephemeris.EphemerisStore
	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 config.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