toolbox

package
v0.0.0-...-5b84a0d Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToRunningAverage

func AddToRunningAverage(img *gocv.Mat)

func GetRunningAverage

func GetRunningAverage() (gocv.Mat, error)

func ImageChanged

func ImageChanged(img *gocv.Mat) bool

func RADecToHoriz

func RADecToHoriz(RA, Dec, latitude, longitude float64) (h *coord.Horizontal)

func ResetRunningAverage

func ResetRunningAverage(img *gocv.Mat)

Types

type AppConfig

type AppConfig struct {
	Location struct {
		Latitude  float64
		Longitude float64
	}

	GoTo struct {
		LimitingMagnitude float64
	}
	Paths struct {
		VSOP87     string
		Web        string
		Recordings string
	}

	Settings struct {
		Debug bool
	}
}

func LoadAppConfig

func LoadAppConfig() (appConfig AppConfig)

type Client

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

Client is a middleman between the websocket connection and the hub.

type Hub

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

func (*Hub) Broadcast

func (h *Hub) Broadcast(message []byte)

type Recorder

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

func (*Recorder) Initialize

func (recorder *Recorder) Initialize(baseDir string)

func (*Recorder) SavePNG

func (recorder *Recorder) SavePNG(pngData *[]byte)

type State

type State struct {
	CurrentPosition string
	GoToPosition    string
	Message         string
}

type Toolbox

type Toolbox struct {
	ShouldQuit bool
	// contains filtered or unexported fields
}

func NewToolbox

func NewToolbox() *Toolbox

func (*Toolbox) Start

func (toolbox *Toolbox) Start()

Jump to

Keyboard shortcuts

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