spp

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 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

This section is empty.

Types

type InputData added in v0.10.0

type InputData struct {
	Type    string
	Payload interface{}
}

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
	EphemerisSlice    ephemeris.EphemerisSlice
	SatelliteStateMap state.SatelliteStateMap
	Result            struct {
		Time                time.Time
		Position            gnssconfig.ECEFCoordinates
		PositionError       gnssconfig.ECEFCoordinates
		ReceiverClockOffset float64
		NumberOfSatellites  int
	}
}

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

func (spp *SPP) Calculate() (err error)

func (*SPP) FilterEpoch added in v0.10.0

func (spp *SPP) FilterEpoch() error

FilterEpoch filters the observations based on the GNSSOptions in the Config

func (*SPP) Process added in v0.10.0

func (spp *SPP) Process() (err error)

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