collector

package
v0.0.0-...-f2d3015 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorBlack   = "0"
	ColorRed     = "1"
	ColorGreen   = "2"
	ColorYellow  = "3"
	ColorBlue    = "4"
	ColorMagenta = "5"
	ColorCyan    = "6"
	ColorWhite   = "7"
)
View Source
const WIDTH = 117

Variables

This section is empty.

Functions

func WithColor

func WithColor(text string, color string) string

Types

type ActivityCollector

type ActivityCollector interface {
	OnCommandUplink(command transport.Command, sendTimestamp model.VirtualTime)
	OnTelemetryErrors(byteErrors int, packetErrors int)
	OnTelemetryDownlink(telemetry transport.Telemetry, remoteTimestamp model.VirtualTime)
	OnSetMagnetometerPower(powered bool)
	OnMeasureMagnetometer(x, y, z int16)
}

func MakeActivityRenderer

func MakeActivityRenderer(sim model.SimContext, logPath string, underlying ActivityCollector) ActivityCollector

Jump to

Keyboard shortcuts

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