stats

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ball added in v1.1.0

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

type Camera added in v1.1.0

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

type CameraTiming added in v1.1.0

type CameraTiming struct {
	NumDetection uint64

	TCaptureDiffSum float64
	TSentDiffSum    float64

	NumCaptureDtOutlyer uint64
	NumSentDtOutlyer    uint64
	// contains filtered or unexported fields
}

func (*CameraTiming) Process added in v1.1.0

func (p *CameraTiming) Process(frame *vision.SSL_DetectionFrame)

type DataLoss added in v1.1.0

type DataLoss struct {
	Time      time.Time
	Duration  time.Duration
	NumFrames uint32
	ObjectAge time.Duration
	RobotId   uint32
	TeamColor TeamColor
}

type DetectionQualityProcessor added in v1.1.0

type DetectionQualityProcessor struct {
	PrintDataLosses bool

	FrameProcessor
	// contains filtered or unexported fields
}

func (*DetectionQualityProcessor) Close added in v1.1.0

func (p *DetectionQualityProcessor) Close() error

func (*DetectionQualityProcessor) Init added in v1.1.0

func (p *DetectionQualityProcessor) Init(logFile string) error

func (*DetectionQualityProcessor) ProcessDetection added in v1.1.0

func (p *DetectionQualityProcessor) ProcessDetection(_ *persistence.Message, frame *vision.SSL_DetectionFrame)

func (*DetectionQualityProcessor) ProcessReferee added in v1.1.0

func (p *DetectionQualityProcessor) ProcessReferee(_ *persistence.Message, frame *referee.Referee)

func (*DetectionQualityProcessor) String added in v1.1.0

func (p *DetectionQualityProcessor) String() (res string)

type DetectionTimingExportProcessor

type DetectionTimingExportProcessor struct {
	FrameProcessor
	// contains filtered or unexported fields
}

func (*DetectionTimingExportProcessor) Close

func (*DetectionTimingExportProcessor) Init

func (p *DetectionTimingExportProcessor) Init(logFile string) error

func (*DetectionTimingExportProcessor) ProcessDetection

func (p *DetectionTimingExportProcessor) ProcessDetection(logMessage *persistence.Message, frame *vision.SSL_DetectionFrame)

func (*DetectionTimingExportProcessor) ProcessReferee added in v1.1.0

func (*DetectionTimingExportProcessor) String

type DetectionTimingProcessor

type DetectionTimingProcessor struct {
	NumDetection        uint64
	TReceiveDiffSum     float64
	NumReceiveDtOutlyer uint64

	FrameProcessor
	// contains filtered or unexported fields
}

func (*DetectionTimingProcessor) Close

func (p *DetectionTimingProcessor) Close() error

func (*DetectionTimingProcessor) Init

func (*DetectionTimingProcessor) ProcessDetection

func (p *DetectionTimingProcessor) ProcessDetection(logMessage *persistence.Message, frame *vision.SSL_DetectionFrame)

func (*DetectionTimingProcessor) ProcessReferee added in v1.1.0

func (*DetectionTimingProcessor) String

func (p *DetectionTimingProcessor) String() (res string)

type FrameProcessor

type FrameProcessor interface {
	ProcessDetection(*persistence.Message, *vision.SSL_DetectionFrame)
	ProcessReferee(*persistence.Message, *referee.Referee)
	Init(logFile string) error
	io.Closer
}

type Processor

type Processor struct {
	UseAll                   bool
	UseDetectionTimingExport bool
	UseDetectionTiming       bool
	UseDetectionQuality      bool
	UseReferee               bool
	PrintQualityDataLosses   bool
}

func (Processor) ProcessFile

func (p Processor) ProcessFile(logFile string)

type RefereeProcessor added in v1.3.0

type RefereeProcessor struct {
	FrameProcessor
	// contains filtered or unexported fields
}

func (*RefereeProcessor) Close added in v1.3.0

func (p *RefereeProcessor) Close() error

func (*RefereeProcessor) Init added in v1.3.0

func (p *RefereeProcessor) Init(logFile string) error

func (*RefereeProcessor) ProcessDetection added in v1.3.0

func (p *RefereeProcessor) ProcessDetection(_ *persistence.Message, _ *vision.SSL_DetectionFrame)

func (*RefereeProcessor) ProcessReferee added in v1.3.0

func (p *RefereeProcessor) ProcessReferee(_ *persistence.Message, frame *referee.Referee)

func (*RefereeProcessor) String added in v1.3.0

func (p *RefereeProcessor) String() (res string)

type Robot added in v1.1.0

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

type TeamColor added in v1.1.0

type TeamColor int
const (
	TeamYellow TeamColor = 1
	TeamBlue             = 2
)

Jump to

Keyboard shortcuts

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