vision

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ssl_vision_detection_proto protoreflect.FileDescriptor
View Source
var File_ssl_vision_geometry_proto protoreflect.FileDescriptor
View Source
var File_ssl_vision_wrapper_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SSL_DetectionBall

type SSL_DetectionBall struct {
	Confidence *float32 `protobuf:"fixed32,1,req,name=confidence" json:"confidence,omitempty"`
	Area       *uint32  `protobuf:"varint,2,opt,name=area" json:"area,omitempty"`
	X          *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"`
	Y          *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"`
	Z          *float32 `protobuf:"fixed32,5,opt,name=z" json:"z,omitempty"`
	PixelX     *float32 `protobuf:"fixed32,6,req,name=pixel_x,json=pixelX" json:"pixel_x,omitempty"`
	PixelY     *float32 `protobuf:"fixed32,7,req,name=pixel_y,json=pixelY" json:"pixel_y,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_DetectionBall) Descriptor deprecated

func (*SSL_DetectionBall) Descriptor() ([]byte, []int)

Deprecated: Use SSL_DetectionBall.ProtoReflect.Descriptor instead.

func (*SSL_DetectionBall) GetArea

func (x *SSL_DetectionBall) GetArea() uint32

func (*SSL_DetectionBall) GetConfidence

func (x *SSL_DetectionBall) GetConfidence() float32

func (*SSL_DetectionBall) GetPixelX

func (x *SSL_DetectionBall) GetPixelX() float32

func (*SSL_DetectionBall) GetPixelY

func (x *SSL_DetectionBall) GetPixelY() float32

func (*SSL_DetectionBall) GetX

func (x *SSL_DetectionBall) GetX() float32

func (*SSL_DetectionBall) GetY

func (x *SSL_DetectionBall) GetY() float32

func (*SSL_DetectionBall) GetZ

func (x *SSL_DetectionBall) GetZ() float32

func (*SSL_DetectionBall) ProtoMessage

func (*SSL_DetectionBall) ProtoMessage()

func (*SSL_DetectionBall) ProtoReflect

func (x *SSL_DetectionBall) ProtoReflect() protoreflect.Message

func (*SSL_DetectionBall) Reset

func (x *SSL_DetectionBall) Reset()

func (*SSL_DetectionBall) String

func (x *SSL_DetectionBall) String() string

type SSL_DetectionFrame

type SSL_DetectionFrame struct {
	FrameNumber  *uint32               `protobuf:"varint,1,req,name=frame_number,json=frameNumber" json:"frame_number,omitempty"`
	TCapture     *float64              `protobuf:"fixed64,2,req,name=t_capture,json=tCapture" json:"t_capture,omitempty"`
	TSent        *float64              `protobuf:"fixed64,3,req,name=t_sent,json=tSent" json:"t_sent,omitempty"`
	CameraId     *uint32               `protobuf:"varint,4,req,name=camera_id,json=cameraId" json:"camera_id,omitempty"`
	Balls        []*SSL_DetectionBall  `protobuf:"bytes,5,rep,name=balls" json:"balls,omitempty"`
	RobotsYellow []*SSL_DetectionRobot `protobuf:"bytes,6,rep,name=robots_yellow,json=robotsYellow" json:"robots_yellow,omitempty"`
	RobotsBlue   []*SSL_DetectionRobot `protobuf:"bytes,7,rep,name=robots_blue,json=robotsBlue" json:"robots_blue,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_DetectionFrame) Descriptor deprecated

func (*SSL_DetectionFrame) Descriptor() ([]byte, []int)

Deprecated: Use SSL_DetectionFrame.ProtoReflect.Descriptor instead.

func (*SSL_DetectionFrame) GetBalls

func (x *SSL_DetectionFrame) GetBalls() []*SSL_DetectionBall

func (*SSL_DetectionFrame) GetCameraId

func (x *SSL_DetectionFrame) GetCameraId() uint32

func (*SSL_DetectionFrame) GetFrameNumber

func (x *SSL_DetectionFrame) GetFrameNumber() uint32

func (*SSL_DetectionFrame) GetRobotsBlue

func (x *SSL_DetectionFrame) GetRobotsBlue() []*SSL_DetectionRobot

func (*SSL_DetectionFrame) GetRobotsYellow

func (x *SSL_DetectionFrame) GetRobotsYellow() []*SSL_DetectionRobot

func (*SSL_DetectionFrame) GetTCapture

func (x *SSL_DetectionFrame) GetTCapture() float64

func (*SSL_DetectionFrame) GetTSent

func (x *SSL_DetectionFrame) GetTSent() float64

func (*SSL_DetectionFrame) ProtoMessage

func (*SSL_DetectionFrame) ProtoMessage()

func (*SSL_DetectionFrame) ProtoReflect

func (x *SSL_DetectionFrame) ProtoReflect() protoreflect.Message

func (*SSL_DetectionFrame) Reset

func (x *SSL_DetectionFrame) Reset()

func (*SSL_DetectionFrame) String

func (x *SSL_DetectionFrame) String() string

type SSL_DetectionRobot

type SSL_DetectionRobot struct {
	Confidence  *float32 `protobuf:"fixed32,1,req,name=confidence" json:"confidence,omitempty"`
	RobotId     *uint32  `protobuf:"varint,2,opt,name=robot_id,json=robotId" json:"robot_id,omitempty"`
	X           *float32 `protobuf:"fixed32,3,req,name=x" json:"x,omitempty"`
	Y           *float32 `protobuf:"fixed32,4,req,name=y" json:"y,omitempty"`
	Orientation *float32 `protobuf:"fixed32,5,opt,name=orientation" json:"orientation,omitempty"`
	PixelX      *float32 `protobuf:"fixed32,6,req,name=pixel_x,json=pixelX" json:"pixel_x,omitempty"`
	PixelY      *float32 `protobuf:"fixed32,7,req,name=pixel_y,json=pixelY" json:"pixel_y,omitempty"`
	Height      *float32 `protobuf:"fixed32,8,opt,name=height" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_DetectionRobot) Descriptor deprecated

func (*SSL_DetectionRobot) Descriptor() ([]byte, []int)

Deprecated: Use SSL_DetectionRobot.ProtoReflect.Descriptor instead.

func (*SSL_DetectionRobot) GetConfidence

func (x *SSL_DetectionRobot) GetConfidence() float32

func (*SSL_DetectionRobot) GetHeight

func (x *SSL_DetectionRobot) GetHeight() float32

func (*SSL_DetectionRobot) GetOrientation

func (x *SSL_DetectionRobot) GetOrientation() float32

func (*SSL_DetectionRobot) GetPixelX

func (x *SSL_DetectionRobot) GetPixelX() float32

func (*SSL_DetectionRobot) GetPixelY

func (x *SSL_DetectionRobot) GetPixelY() float32

func (*SSL_DetectionRobot) GetRobotId

func (x *SSL_DetectionRobot) GetRobotId() uint32

func (*SSL_DetectionRobot) GetX

func (x *SSL_DetectionRobot) GetX() float32

func (*SSL_DetectionRobot) GetY

func (x *SSL_DetectionRobot) GetY() float32

func (*SSL_DetectionRobot) ProtoMessage

func (*SSL_DetectionRobot) ProtoMessage()

func (*SSL_DetectionRobot) ProtoReflect

func (x *SSL_DetectionRobot) ProtoReflect() protoreflect.Message

func (*SSL_DetectionRobot) Reset

func (x *SSL_DetectionRobot) Reset()

func (*SSL_DetectionRobot) String

func (x *SSL_DetectionRobot) String() string

type SSL_FieldCicularArc

type SSL_FieldCicularArc struct {

	// Name of this field marking.
	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// Center point of the circular arc.
	Center *Vector2F `protobuf:"bytes,2,req,name=center" json:"center,omitempty"`
	// Radius of the arc.
	Radius *float32 `protobuf:"fixed32,3,req,name=radius" json:"radius,omitempty"`
	// Start angle in counter-clockwise order.
	A1 *float32 `protobuf:"fixed32,4,req,name=a1" json:"a1,omitempty"`
	// End angle in counter-clockwise order.
	A2 *float32 `protobuf:"fixed32,5,req,name=a2" json:"a2,omitempty"`
	// Thickness of the arc.
	Thickness *float32 `protobuf:"fixed32,6,req,name=thickness" json:"thickness,omitempty"`
	// contains filtered or unexported fields
}

Represents a field marking as a circular arc segment represented by center point, a start angle, an end angle, and an arc thickness.

func (*SSL_FieldCicularArc) Descriptor deprecated

func (*SSL_FieldCicularArc) Descriptor() ([]byte, []int)

Deprecated: Use SSL_FieldCicularArc.ProtoReflect.Descriptor instead.

func (*SSL_FieldCicularArc) GetA1

func (x *SSL_FieldCicularArc) GetA1() float32

func (*SSL_FieldCicularArc) GetA2

func (x *SSL_FieldCicularArc) GetA2() float32

func (*SSL_FieldCicularArc) GetCenter

func (x *SSL_FieldCicularArc) GetCenter() *Vector2F

func (*SSL_FieldCicularArc) GetName

func (x *SSL_FieldCicularArc) GetName() string

func (*SSL_FieldCicularArc) GetRadius

func (x *SSL_FieldCicularArc) GetRadius() float32

func (*SSL_FieldCicularArc) GetThickness

func (x *SSL_FieldCicularArc) GetThickness() float32

func (*SSL_FieldCicularArc) ProtoMessage

func (*SSL_FieldCicularArc) ProtoMessage()

func (*SSL_FieldCicularArc) ProtoReflect

func (x *SSL_FieldCicularArc) ProtoReflect() protoreflect.Message

func (*SSL_FieldCicularArc) Reset

func (x *SSL_FieldCicularArc) Reset()

func (*SSL_FieldCicularArc) String

func (x *SSL_FieldCicularArc) String() string

type SSL_FieldLineSegment

type SSL_FieldLineSegment struct {

	// Name of this field marking.
	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// Start point of the line segment.
	P1 *Vector2F `protobuf:"bytes,2,req,name=p1" json:"p1,omitempty"`
	// End point of the line segment.
	P2 *Vector2F `protobuf:"bytes,3,req,name=p2" json:"p2,omitempty"`
	// Thickness of the line segment.
	Thickness *float32 `protobuf:"fixed32,4,req,name=thickness" json:"thickness,omitempty"`
	// contains filtered or unexported fields
}

Represents a field marking as a line segment represented by a start point p1, and end point p2, and a line thickness. The start and end points are along the center of the line, so the thickness of the line extends by thickness / 2 on either side of the line.

func (*SSL_FieldLineSegment) Descriptor deprecated

func (*SSL_FieldLineSegment) Descriptor() ([]byte, []int)

Deprecated: Use SSL_FieldLineSegment.ProtoReflect.Descriptor instead.

func (*SSL_FieldLineSegment) GetName

func (x *SSL_FieldLineSegment) GetName() string

func (*SSL_FieldLineSegment) GetP1

func (x *SSL_FieldLineSegment) GetP1() *Vector2F

func (*SSL_FieldLineSegment) GetP2

func (x *SSL_FieldLineSegment) GetP2() *Vector2F

func (*SSL_FieldLineSegment) GetThickness

func (x *SSL_FieldLineSegment) GetThickness() float32

func (*SSL_FieldLineSegment) ProtoMessage

func (*SSL_FieldLineSegment) ProtoMessage()

func (*SSL_FieldLineSegment) ProtoReflect

func (x *SSL_FieldLineSegment) ProtoReflect() protoreflect.Message

func (*SSL_FieldLineSegment) Reset

func (x *SSL_FieldLineSegment) Reset()

func (*SSL_FieldLineSegment) String

func (x *SSL_FieldLineSegment) String() string

type SSL_GeometryCameraCalibration

type SSL_GeometryCameraCalibration struct {
	CameraId             *uint32  `protobuf:"varint,1,req,name=camera_id,json=cameraId" json:"camera_id,omitempty"`
	FocalLength          *float32 `protobuf:"fixed32,2,req,name=focal_length,json=focalLength" json:"focal_length,omitempty"`
	PrincipalPointX      *float32 `protobuf:"fixed32,3,req,name=principal_point_x,json=principalPointX" json:"principal_point_x,omitempty"`
	PrincipalPointY      *float32 `protobuf:"fixed32,4,req,name=principal_point_y,json=principalPointY" json:"principal_point_y,omitempty"`
	Distortion           *float32 `protobuf:"fixed32,5,req,name=distortion" json:"distortion,omitempty"`
	Q0                   *float32 `protobuf:"fixed32,6,req,name=q0" json:"q0,omitempty"`
	Q1                   *float32 `protobuf:"fixed32,7,req,name=q1" json:"q1,omitempty"`
	Q2                   *float32 `protobuf:"fixed32,8,req,name=q2" json:"q2,omitempty"`
	Q3                   *float32 `protobuf:"fixed32,9,req,name=q3" json:"q3,omitempty"`
	Tx                   *float32 `protobuf:"fixed32,10,req,name=tx" json:"tx,omitempty"`
	Ty                   *float32 `protobuf:"fixed32,11,req,name=ty" json:"ty,omitempty"`
	Tz                   *float32 `protobuf:"fixed32,12,req,name=tz" json:"tz,omitempty"`
	DerivedCameraWorldTx *float32 `protobuf:"fixed32,13,opt,name=derived_camera_world_tx,json=derivedCameraWorldTx" json:"derived_camera_world_tx,omitempty"`
	DerivedCameraWorldTy *float32 `protobuf:"fixed32,14,opt,name=derived_camera_world_ty,json=derivedCameraWorldTy" json:"derived_camera_world_ty,omitempty"`
	DerivedCameraWorldTz *float32 `protobuf:"fixed32,15,opt,name=derived_camera_world_tz,json=derivedCameraWorldTz" json:"derived_camera_world_tz,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_GeometryCameraCalibration) Descriptor deprecated

func (*SSL_GeometryCameraCalibration) Descriptor() ([]byte, []int)

Deprecated: Use SSL_GeometryCameraCalibration.ProtoReflect.Descriptor instead.

func (*SSL_GeometryCameraCalibration) GetCameraId

func (x *SSL_GeometryCameraCalibration) GetCameraId() uint32

func (*SSL_GeometryCameraCalibration) GetDerivedCameraWorldTx

func (x *SSL_GeometryCameraCalibration) GetDerivedCameraWorldTx() float32

func (*SSL_GeometryCameraCalibration) GetDerivedCameraWorldTy

func (x *SSL_GeometryCameraCalibration) GetDerivedCameraWorldTy() float32

func (*SSL_GeometryCameraCalibration) GetDerivedCameraWorldTz

func (x *SSL_GeometryCameraCalibration) GetDerivedCameraWorldTz() float32

func (*SSL_GeometryCameraCalibration) GetDistortion

func (x *SSL_GeometryCameraCalibration) GetDistortion() float32

func (*SSL_GeometryCameraCalibration) GetFocalLength

func (x *SSL_GeometryCameraCalibration) GetFocalLength() float32

func (*SSL_GeometryCameraCalibration) GetPrincipalPointX

func (x *SSL_GeometryCameraCalibration) GetPrincipalPointX() float32

func (*SSL_GeometryCameraCalibration) GetPrincipalPointY

func (x *SSL_GeometryCameraCalibration) GetPrincipalPointY() float32

func (*SSL_GeometryCameraCalibration) GetQ0

func (*SSL_GeometryCameraCalibration) GetQ1

func (*SSL_GeometryCameraCalibration) GetQ2

func (*SSL_GeometryCameraCalibration) GetQ3

func (*SSL_GeometryCameraCalibration) GetTx

func (*SSL_GeometryCameraCalibration) GetTy

func (*SSL_GeometryCameraCalibration) GetTz

func (*SSL_GeometryCameraCalibration) ProtoMessage

func (*SSL_GeometryCameraCalibration) ProtoMessage()

func (*SSL_GeometryCameraCalibration) ProtoReflect

func (*SSL_GeometryCameraCalibration) Reset

func (x *SSL_GeometryCameraCalibration) Reset()

func (*SSL_GeometryCameraCalibration) String

type SSL_GeometryData

type SSL_GeometryData struct {
	Field *SSL_GeometryFieldSize           `protobuf:"bytes,1,req,name=field" json:"field,omitempty"`
	Calib []*SSL_GeometryCameraCalibration `protobuf:"bytes,2,rep,name=calib" json:"calib,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_GeometryData) Descriptor deprecated

func (*SSL_GeometryData) Descriptor() ([]byte, []int)

Deprecated: Use SSL_GeometryData.ProtoReflect.Descriptor instead.

func (*SSL_GeometryData) GetCalib

func (*SSL_GeometryData) GetField

func (x *SSL_GeometryData) GetField() *SSL_GeometryFieldSize

func (*SSL_GeometryData) ProtoMessage

func (*SSL_GeometryData) ProtoMessage()

func (*SSL_GeometryData) ProtoReflect

func (x *SSL_GeometryData) ProtoReflect() protoreflect.Message

func (*SSL_GeometryData) Reset

func (x *SSL_GeometryData) Reset()

func (*SSL_GeometryData) String

func (x *SSL_GeometryData) String() string

type SSL_GeometryFieldSize

type SSL_GeometryFieldSize struct {
	FieldLength   *int32                  `protobuf:"varint,1,req,name=field_length,json=fieldLength" json:"field_length,omitempty"`
	FieldWidth    *int32                  `protobuf:"varint,2,req,name=field_width,json=fieldWidth" json:"field_width,omitempty"`
	GoalWidth     *int32                  `protobuf:"varint,3,req,name=goal_width,json=goalWidth" json:"goal_width,omitempty"`
	GoalDepth     *int32                  `protobuf:"varint,4,req,name=goal_depth,json=goalDepth" json:"goal_depth,omitempty"`
	BoundaryWidth *int32                  `protobuf:"varint,5,req,name=boundary_width,json=boundaryWidth" json:"boundary_width,omitempty"`
	FieldLines    []*SSL_FieldLineSegment `protobuf:"bytes,6,rep,name=field_lines,json=fieldLines" json:"field_lines,omitempty"`
	FieldArcs     []*SSL_FieldCicularArc  `protobuf:"bytes,7,rep,name=field_arcs,json=fieldArcs" json:"field_arcs,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_GeometryFieldSize) Descriptor deprecated

func (*SSL_GeometryFieldSize) Descriptor() ([]byte, []int)

Deprecated: Use SSL_GeometryFieldSize.ProtoReflect.Descriptor instead.

func (*SSL_GeometryFieldSize) GetBoundaryWidth

func (x *SSL_GeometryFieldSize) GetBoundaryWidth() int32

func (*SSL_GeometryFieldSize) GetFieldArcs

func (x *SSL_GeometryFieldSize) GetFieldArcs() []*SSL_FieldCicularArc

func (*SSL_GeometryFieldSize) GetFieldLength

func (x *SSL_GeometryFieldSize) GetFieldLength() int32

func (*SSL_GeometryFieldSize) GetFieldLines

func (x *SSL_GeometryFieldSize) GetFieldLines() []*SSL_FieldLineSegment

func (*SSL_GeometryFieldSize) GetFieldWidth

func (x *SSL_GeometryFieldSize) GetFieldWidth() int32

func (*SSL_GeometryFieldSize) GetGoalDepth

func (x *SSL_GeometryFieldSize) GetGoalDepth() int32

func (*SSL_GeometryFieldSize) GetGoalWidth

func (x *SSL_GeometryFieldSize) GetGoalWidth() int32

func (*SSL_GeometryFieldSize) ProtoMessage

func (*SSL_GeometryFieldSize) ProtoMessage()

func (*SSL_GeometryFieldSize) ProtoReflect

func (x *SSL_GeometryFieldSize) ProtoReflect() protoreflect.Message

func (*SSL_GeometryFieldSize) Reset

func (x *SSL_GeometryFieldSize) Reset()

func (*SSL_GeometryFieldSize) String

func (x *SSL_GeometryFieldSize) String() string

type SSL_WrapperPacket

type SSL_WrapperPacket struct {
	Detection *SSL_DetectionFrame `protobuf:"bytes,1,opt,name=detection" json:"detection,omitempty"`
	Geometry  *SSL_GeometryData   `protobuf:"bytes,2,opt,name=geometry" json:"geometry,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_WrapperPacket) Descriptor deprecated

func (*SSL_WrapperPacket) Descriptor() ([]byte, []int)

Deprecated: Use SSL_WrapperPacket.ProtoReflect.Descriptor instead.

func (*SSL_WrapperPacket) GetDetection

func (x *SSL_WrapperPacket) GetDetection() *SSL_DetectionFrame

func (*SSL_WrapperPacket) GetGeometry

func (x *SSL_WrapperPacket) GetGeometry() *SSL_GeometryData

func (*SSL_WrapperPacket) ProtoMessage

func (*SSL_WrapperPacket) ProtoMessage()

func (*SSL_WrapperPacket) ProtoReflect

func (x *SSL_WrapperPacket) ProtoReflect() protoreflect.Message

func (*SSL_WrapperPacket) Reset

func (x *SSL_WrapperPacket) Reset()

func (*SSL_WrapperPacket) String

func (x *SSL_WrapperPacket) String() string

type Vector2F

type Vector2F struct {
	X *float32 `protobuf:"fixed32,1,req,name=x" json:"x,omitempty"`
	Y *float32 `protobuf:"fixed32,2,req,name=y" json:"y,omitempty"`
	// contains filtered or unexported fields
}

A 2D float vector.

func (*Vector2F) Descriptor deprecated

func (*Vector2F) Descriptor() ([]byte, []int)

Deprecated: Use Vector2F.ProtoReflect.Descriptor instead.

func (*Vector2F) GetX

func (x *Vector2F) GetX() float32

func (*Vector2F) GetY

func (x *Vector2F) GetY() float32

func (*Vector2F) ProtoMessage

func (*Vector2F) ProtoMessage()

func (*Vector2F) ProtoReflect

func (x *Vector2F) ProtoReflect() protoreflect.Message

func (*Vector2F) Reset

func (x *Vector2F) Reset()

func (*Vector2F) String

func (x *Vector2F) String() string

Jump to

Keyboard shortcuts

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