spp

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculatePosition

func CalculatePosition(satellites []Satellite) ([3]float64, error)

CalculatePosition uses the Bancroft algorithm to determine the receiver's position.

Types

type Output

type Output struct {
	Result string // Assuming this is what you mean to capture
}

type SPP

type SPP struct {
	InputChan       <-chan interface{}
	OutputChan      chan<- interface{}
	EpochBuffer     []observation.Epoch
	EphemerisBuffer []ephemeris.Ephemeris
}

SPP is a struct that holds the input and output channels for the Single Point Positioning (SPP) algorithm

func (*SPP) Run

func (spp *SPP) Run()

type Satellite

type Satellite struct {
	Position [3]float64 // Satellite position in ECEF coordinates (x, y, z)
	Time     float64    // Signal travel time from satellite to receiver
}

Satellite represents a GPS satellite with its position and the signal travel time.

Jump to

Keyboard shortcuts

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