satellite

package
v0.0.0-...-f08b0e3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroundStation

type GroundStation struct {
	// contains filtered or unexported fields
}

GroundStation represents a ground station

func NewGroundStation

func NewGroundStation(id string) *GroundStation

NewGroundStation returns a new GroundStation instance

func (*GroundStation) ReceiveData

func (g *GroundStation) ReceiveData(data []byte) error

ReceiveData receives data from the satellite

type Satellite

type Satellite struct {
	// contains filtered or unexported fields
}

Satellite represents a satellite in orbit

func NewSatellite

func NewSatellite(id string) *Satellite

NewSatellite returns a new Satellite instance

func (*Satellite) AddGroundStation

func (s *Satellite) AddGroundStation(groundStation *GroundStation)

AddGroundStation adds a ground station to the satellite

func (*Satellite) AddTransceiver

func (s *Satellite) AddTransceiver(transceiver *Transceiver)

AddTransceiver adds a transceiver to the satellite

func (*Satellite) CommunicateWithGroundStation

func (s *Satellite) CommunicateWithGroundStation(groundStation *GroundStation, data []byte) error

CommunicateWithGroundStation communicates with a ground station

func (*Satellite) CommunicateWithMultipleGroundStations

func (s *Satellite) CommunicateWithMultipleGroundStations(groundStations []*GroundStation, data []byte) error

CommunicateWithMultipleGroundStations communicates with multiple ground stations concurrently

func (*Satellite) GetGroundStations

func (s *Satellite) GetGroundStations() []*GroundStation

GetGroundStations returns the satellite's ground stations

func (*Satellite) GetTransceivers

func (s *Satellite) GetTransceivers() []*Transceiver

GetTransceivers returns the satellite's transceivers

func (*Satellite) StartOrbit

func (s *Satellite) StartOrbit()

StartOrbit starts the satellite's orbit

type Transceiver

type Transceiver struct {
	// contains filtered or unexported fields
}

Transceiver represents a transceiver

func NewTransceiver

func NewTransceiver(id string) *Transceiver

NewTransceiver returns a new Transceiver instance

Jump to

Keyboard shortcuts

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