Documentation ¶
Index ¶
- type Bot
- type Circle
- type Line
- type Metadata
- type Package
- func (p *Package) AddCircle(sourceId string, circle *visualization.Circle)
- func (p *Package) AddDetectionFrame(frame *vision.SSL_DetectionFrame)
- func (p *Package) AddGeometryShapes(geometry *vision.SSL_GeometryData)
- func (p *Package) AddLineSegment(sourceId string, lineSegment *visualization.LineSegment)
- func (p *Package) AddTrackedFrame(frame *tracked.TrackerWrapperPacket)
- func (p *Package) SortShapes()
- type Path
- type PathElement
- type Point
- type PublishType
- type Publisher
- type PublisherClient
- type Request
- type Shape
- type ShapesByOrderNumber
- type Style
- type Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct { FieldWidth float32 `json:"fieldWidth"` FieldLength float32 `json:"fieldLength"` BoundaryWidth float32 `json:"boundaryWidth"` GoalWidth float32 `json:"goalWidth"` GoalDepth float32 `json:"goalDepth"` Shapes []Shape `json:"shapes"` ActiveSourceId string `json:"activeSourceId"` Sources map[string]string `json:"sources"` }
func (*Package) AddCircle ¶
func (p *Package) AddCircle(sourceId string, circle *visualization.Circle)
func (*Package) AddDetectionFrame ¶
func (p *Package) AddDetectionFrame(frame *vision.SSL_DetectionFrame)
func (*Package) AddGeometryShapes ¶
func (p *Package) AddGeometryShapes(geometry *vision.SSL_GeometryData)
func (*Package) AddLineSegment ¶
func (p *Package) AddLineSegment(sourceId string, lineSegment *visualization.LineSegment)
func (*Package) AddTrackedFrame ¶ added in v1.5.0
func (p *Package) AddTrackedFrame(frame *tracked.TrackerWrapperPacket)
func (*Package) SortShapes ¶
func (p *Package) SortShapes()
type Path ¶
type Path struct { D []PathElement `json:"d"` Style Metadata }
type PathElement ¶
type PublishType ¶ added in v1.5.0
type PublishType int
type Publisher ¶
type Publisher struct { DetectionProvider func() *vision.SSL_DetectionFrame TrackerProvider func() map[string]*tracked.TrackerWrapperPacket GeometryProvider func() *vision.SSL_GeometryData LineSegmentProvider func() map[string][]*visualization.LineSegment CircleProvider func() map[string][]*visualization.Circle // contains filtered or unexported fields }
func NewPublisher ¶
func NewPublisher() (p Publisher)
type PublisherClient ¶ added in v1.5.0
type PublisherClient struct {
// contains filtered or unexported fields
}
type Request ¶ added in v1.5.0
type Request struct {
ActiveSourceId string `json:"activeSourceId"`
}
type ShapesByOrderNumber ¶ added in v0.3.1
type ShapesByOrderNumber []Shape
func (ShapesByOrderNumber) Len ¶ added in v0.3.1
func (a ShapesByOrderNumber) Len() int
func (ShapesByOrderNumber) Less ¶ added in v0.3.1
func (a ShapesByOrderNumber) Less(i, j int) bool
func (ShapesByOrderNumber) Swap ¶ added in v0.3.1
func (a ShapesByOrderNumber) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.