Documentation ¶ Index ¶ func CalculatePosition(satellites []Satellite) ([3]float64, error) type Output type SPP func (spp *SPP) Run() type Satellite 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. Source Files ¶ View all Source files bancroft.goprocess.gospp.go Click to show internal directories. Click to hide internal directories.