ssl-go-tools: github.com/RoboCup-SSL/ssl-go-tools/pkg/stats Index | Files

package stats

import "github.com/RoboCup-SSL/ssl-go-tools/pkg/stats"

Index

Package Files

detectionQuality.go detectionTiming.go detectionTimingExport.go stats.go

type Ball Uses

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

type Camera Uses

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

type CameraTiming Uses

type CameraTiming struct {
    NumDetection uint64

    TCaptureDiffSum float64
    TSentDiffSum    float64

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

func (*CameraTiming) Process Uses

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

type DataLoss Uses

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

type DetectionQualityProcessor Uses

type DetectionQualityProcessor struct {
    PrintDataLosses bool

    FrameProcessor
    // contains filtered or unexported fields
}

func (*DetectionQualityProcessor) Close Uses

func (p *DetectionQualityProcessor) Close() error

func (*DetectionQualityProcessor) Init Uses

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

func (*DetectionQualityProcessor) ProcessDetection Uses

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

func (*DetectionQualityProcessor) ProcessReferee Uses

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

func (*DetectionQualityProcessor) String Uses

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

type DetectionTimingExportProcessor Uses

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

func (*DetectionTimingExportProcessor) Close Uses

func (p *DetectionTimingExportProcessor) Close() error

func (*DetectionTimingExportProcessor) Init Uses

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

func (*DetectionTimingExportProcessor) ProcessDetection Uses

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

func (*DetectionTimingExportProcessor) ProcessReferee Uses

func (p *DetectionTimingExportProcessor) ProcessReferee(*persistence.Message, *sslproto.Referee)

func (*DetectionTimingExportProcessor) String Uses

func (p *DetectionTimingExportProcessor) String() string

type DetectionTimingProcessor Uses

type DetectionTimingProcessor struct {
    NumDetection        uint64
    TReceiveDiffSum     float64
    NumReceiveDtOutlyer uint64

    FrameProcessor
    // contains filtered or unexported fields
}

func (*DetectionTimingProcessor) Close Uses

func (p *DetectionTimingProcessor) Close() error

func (*DetectionTimingProcessor) Init Uses

func (p *DetectionTimingProcessor) Init(string) error

func (*DetectionTimingProcessor) ProcessDetection Uses

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

func (*DetectionTimingProcessor) ProcessReferee Uses

func (p *DetectionTimingProcessor) ProcessReferee(*persistence.Message, *sslproto.Referee)

func (*DetectionTimingProcessor) String Uses

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

type FrameProcessor Uses

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

type Processor Uses

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

func (Processor) ProcessFile Uses

func (p Processor) ProcessFile(logFile string)

type Robot Uses

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

type TeamColor Uses

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

Package stats imports 8 packages (graph). Updated 2020-03-24. Refresh now. Tools for package owners.