vision

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SSL_FieldShapeType_name = map[int32]string{
		0:  "Undefined",
		1:  "CenterCircle",
		2:  "TopTouchLine",
		3:  "BottomTouchLine",
		4:  "LeftGoalLine",
		5:  "RightGoalLine",
		6:  "HalfwayLine",
		7:  "CenterLine",
		8:  "LeftPenaltyStretch",
		9:  "RightPenaltyStretch",
		10: "LeftFieldLeftPenaltyStretch",
		11: "LeftFieldRightPenaltyStretch",
		12: "RightFieldLeftPenaltyStretch",
		13: "RightFieldRightPenaltyStretch",
	}
	SSL_FieldShapeType_value = map[string]int32{
		"Undefined":                     0,
		"CenterCircle":                  1,
		"TopTouchLine":                  2,
		"BottomTouchLine":               3,
		"LeftGoalLine":                  4,
		"RightGoalLine":                 5,
		"HalfwayLine":                   6,
		"CenterLine":                    7,
		"LeftPenaltyStretch":            8,
		"RightPenaltyStretch":           9,
		"LeftFieldLeftPenaltyStretch":   10,
		"LeftFieldRightPenaltyStretch":  11,
		"RightFieldLeftPenaltyStretch":  12,
		"RightFieldRightPenaltyStretch": 13,
	}
)

Enum value maps for SSL_FieldShapeType.

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 Receiver

type Receiver struct {
	Geometry *SSL_GeometryData

	MulticastServer   *sslnet.MulticastServer
	ConsumeDetections func(frame *SSL_DetectionFrame)
	ConsumeGeometry   func(frame *SSL_GeometryData)
	// contains filtered or unexported fields
}

func NewReceiver

func NewReceiver() (r *Receiver)

func (*Receiver) CombinedDetectionFrames

func (r *Receiver) CombinedDetectionFrames() (f *SSL_DetectionFrame)

func (*Receiver) CurrentGeometry added in v0.3.0

func (r *Receiver) CurrentGeometry() (geometry *SSL_GeometryData)

func (*Receiver) Detections added in v1.1.0

func (r *Receiver) Detections() (result map[int]*SSL_DetectionFrame)

func (*Receiver) Start added in v1.2.0

func (r *Receiver) Start(multicastAddress string)

type SSL_BallModelChipFixedLoss added in v1.4.0

type SSL_BallModelChipFixedLoss struct {

	// Chip kick velocity damping factor in XY direction for the first hop
	DampingXyFirstHop *float64 `protobuf:"fixed64,1,req,name=damping_xy_first_hop,json=dampingXyFirstHop" json:"damping_xy_first_hop,omitempty"`
	// Chip kick velocity damping factor in XY direction for all following hops
	DampingXyOtherHops *float64 `protobuf:"fixed64,2,req,name=damping_xy_other_hops,json=dampingXyOtherHops" json:"damping_xy_other_hops,omitempty"`
	// Chip kick velocity damping factor in Z direction for all hops
	DampingZ *float64 `protobuf:"fixed64,3,req,name=damping_z,json=dampingZ" json:"damping_z,omitempty"`
	// contains filtered or unexported fields
}

Fixed-Loss model for chipped balls. Uses fixed damping factors for xy and z direction per hop.

func (*SSL_BallModelChipFixedLoss) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SSL_BallModelChipFixedLoss.ProtoReflect.Descriptor instead.

func (*SSL_BallModelChipFixedLoss) GetDampingXyFirstHop added in v1.4.0

func (x *SSL_BallModelChipFixedLoss) GetDampingXyFirstHop() float64

func (*SSL_BallModelChipFixedLoss) GetDampingXyOtherHops added in v1.4.0

func (x *SSL_BallModelChipFixedLoss) GetDampingXyOtherHops() float64

func (*SSL_BallModelChipFixedLoss) GetDampingZ added in v1.4.0

func (x *SSL_BallModelChipFixedLoss) GetDampingZ() float64

func (*SSL_BallModelChipFixedLoss) ProtoMessage added in v1.4.0

func (*SSL_BallModelChipFixedLoss) ProtoMessage()

func (*SSL_BallModelChipFixedLoss) ProtoReflect added in v1.4.0

func (*SSL_BallModelChipFixedLoss) Reset added in v1.4.0

func (x *SSL_BallModelChipFixedLoss) Reset()

func (*SSL_BallModelChipFixedLoss) String added in v1.4.0

func (x *SSL_BallModelChipFixedLoss) String() string

type SSL_BallModelStraightTwoPhase added in v1.4.0

type SSL_BallModelStraightTwoPhase struct {

	// Ball sliding acceleration [m/s^2] (should be negative)
	AccSlide *float64 `protobuf:"fixed64,1,req,name=acc_slide,json=accSlide" json:"acc_slide,omitempty"`
	// Ball rolling acceleration [m/s^2] (should be negative)
	AccRoll *float64 `protobuf:"fixed64,2,req,name=acc_roll,json=accRoll" json:"acc_roll,omitempty"`
	// Fraction of the initial velocity where the ball starts to roll
	KSwitch *float64 `protobuf:"fixed64,3,req,name=k_switch,json=kSwitch" json:"k_switch,omitempty"`
	// contains filtered or unexported fields
}

Two-Phase model for straight-kicked balls. There are two phases with different accelerations during the ball kicks: 1. Sliding 2. Rolling The full model is described in the TDP of ER-Force from 2016, which can be found here: https://ssl.robocup.org/wp-content/uploads/2019/01/2016_ETDP_ER-Force.pdf

func (*SSL_BallModelStraightTwoPhase) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SSL_BallModelStraightTwoPhase.ProtoReflect.Descriptor instead.

func (*SSL_BallModelStraightTwoPhase) GetAccRoll added in v1.4.0

func (x *SSL_BallModelStraightTwoPhase) GetAccRoll() float64

func (*SSL_BallModelStraightTwoPhase) GetAccSlide added in v1.4.0

func (x *SSL_BallModelStraightTwoPhase) GetAccSlide() float64

func (*SSL_BallModelStraightTwoPhase) GetKSwitch added in v1.4.0

func (x *SSL_BallModelStraightTwoPhase) GetKSwitch() float64

func (*SSL_BallModelStraightTwoPhase) ProtoMessage added in v1.4.0

func (*SSL_BallModelStraightTwoPhase) ProtoMessage()

func (*SSL_BallModelStraightTwoPhase) ProtoReflect added in v1.4.0

func (*SSL_BallModelStraightTwoPhase) Reset added in v1.4.0

func (x *SSL_BallModelStraightTwoPhase) Reset()

func (*SSL_BallModelStraightTwoPhase) String added in v1.4.0

type SSL_DetectionBall added in v0.3.0

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 added in v0.3.0

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

Deprecated: Use SSL_DetectionBall.ProtoReflect.Descriptor instead.

func (*SSL_DetectionBall) GetArea added in v0.3.0

func (x *SSL_DetectionBall) GetArea() uint32

func (*SSL_DetectionBall) GetConfidence added in v0.3.0

func (x *SSL_DetectionBall) GetConfidence() float32

func (*SSL_DetectionBall) GetPixelX added in v0.3.0

func (x *SSL_DetectionBall) GetPixelX() float32

func (*SSL_DetectionBall) GetPixelY added in v0.3.0

func (x *SSL_DetectionBall) GetPixelY() float32

func (*SSL_DetectionBall) GetX added in v0.3.0

func (x *SSL_DetectionBall) GetX() float32

func (*SSL_DetectionBall) GetY added in v0.3.0

func (x *SSL_DetectionBall) GetY() float32

func (*SSL_DetectionBall) GetZ added in v0.3.0

func (x *SSL_DetectionBall) GetZ() float32

func (*SSL_DetectionBall) ProtoMessage added in v0.3.0

func (*SSL_DetectionBall) ProtoMessage()

func (*SSL_DetectionBall) ProtoReflect added in v1.4.0

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

func (*SSL_DetectionBall) Reset added in v0.3.0

func (x *SSL_DetectionBall) Reset()

func (*SSL_DetectionBall) String added in v0.3.0

func (x *SSL_DetectionBall) String() string

type SSL_DetectionFrame added in v0.3.0

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 added in v0.3.0

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

Deprecated: Use SSL_DetectionFrame.ProtoReflect.Descriptor instead.

func (*SSL_DetectionFrame) GetBalls added in v0.3.0

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

func (*SSL_DetectionFrame) GetCameraId added in v0.3.0

func (x *SSL_DetectionFrame) GetCameraId() uint32

func (*SSL_DetectionFrame) GetFrameNumber added in v0.3.0

func (x *SSL_DetectionFrame) GetFrameNumber() uint32

func (*SSL_DetectionFrame) GetRobotsBlue added in v0.3.0

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

func (*SSL_DetectionFrame) GetRobotsYellow added in v0.3.0

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

func (*SSL_DetectionFrame) GetTCapture added in v0.3.0

func (x *SSL_DetectionFrame) GetTCapture() float64

func (*SSL_DetectionFrame) GetTSent added in v0.3.0

func (x *SSL_DetectionFrame) GetTSent() float64

func (*SSL_DetectionFrame) ProtoMessage added in v0.3.0

func (*SSL_DetectionFrame) ProtoMessage()

func (*SSL_DetectionFrame) ProtoReflect added in v1.4.0

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

func (*SSL_DetectionFrame) Reset added in v0.3.0

func (x *SSL_DetectionFrame) Reset()

func (*SSL_DetectionFrame) String added in v0.3.0

func (x *SSL_DetectionFrame) String() string

type SSL_DetectionRobot added in v0.3.0

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 added in v0.3.0

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

Deprecated: Use SSL_DetectionRobot.ProtoReflect.Descriptor instead.

func (*SSL_DetectionRobot) GetConfidence added in v0.3.0

func (x *SSL_DetectionRobot) GetConfidence() float32

func (*SSL_DetectionRobot) GetHeight added in v0.3.0

func (x *SSL_DetectionRobot) GetHeight() float32

func (*SSL_DetectionRobot) GetOrientation added in v0.3.0

func (x *SSL_DetectionRobot) GetOrientation() float32

func (*SSL_DetectionRobot) GetPixelX added in v0.3.0

func (x *SSL_DetectionRobot) GetPixelX() float32

func (*SSL_DetectionRobot) GetPixelY added in v0.3.0

func (x *SSL_DetectionRobot) GetPixelY() float32

func (*SSL_DetectionRobot) GetRobotId added in v0.3.0

func (x *SSL_DetectionRobot) GetRobotId() uint32

func (*SSL_DetectionRobot) GetX added in v0.3.0

func (x *SSL_DetectionRobot) GetX() float32

func (*SSL_DetectionRobot) GetY added in v0.3.0

func (x *SSL_DetectionRobot) GetY() float32

func (*SSL_DetectionRobot) ProtoMessage added in v0.3.0

func (*SSL_DetectionRobot) ProtoMessage()

func (*SSL_DetectionRobot) ProtoReflect added in v1.4.0

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

func (*SSL_DetectionRobot) Reset added in v0.3.0

func (x *SSL_DetectionRobot) Reset()

func (*SSL_DetectionRobot) String added in v0.3.0

func (x *SSL_DetectionRobot) String() string

type SSL_FieldCircularArc added in v1.4.0

type SSL_FieldCircularArc 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"`
	// The type of this shape
	Type *SSL_FieldShapeType `protobuf:"varint,7,opt,name=type,enum=SSL_FieldShapeType" json:"type,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_FieldCircularArc) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SSL_FieldCircularArc.ProtoReflect.Descriptor instead.

func (*SSL_FieldCircularArc) GetA1 added in v1.4.0

func (x *SSL_FieldCircularArc) GetA1() float32

func (*SSL_FieldCircularArc) GetA2 added in v1.4.0

func (x *SSL_FieldCircularArc) GetA2() float32

func (*SSL_FieldCircularArc) GetCenter added in v1.4.0

func (x *SSL_FieldCircularArc) GetCenter() *Vector2F

func (*SSL_FieldCircularArc) GetName added in v1.4.0

func (x *SSL_FieldCircularArc) GetName() string

func (*SSL_FieldCircularArc) GetRadius added in v1.4.0

func (x *SSL_FieldCircularArc) GetRadius() float32

func (*SSL_FieldCircularArc) GetThickness added in v1.4.0

func (x *SSL_FieldCircularArc) GetThickness() float32

func (*SSL_FieldCircularArc) GetType added in v1.4.0

func (*SSL_FieldCircularArc) ProtoMessage added in v1.4.0

func (*SSL_FieldCircularArc) ProtoMessage()

func (*SSL_FieldCircularArc) ProtoReflect added in v1.4.0

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

func (*SSL_FieldCircularArc) Reset added in v1.4.0

func (x *SSL_FieldCircularArc) Reset()

func (*SSL_FieldCircularArc) String added in v1.4.0

func (x *SSL_FieldCircularArc) String() string

type SSL_FieldLineSegment added in v0.3.0

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"`
	// The type of this shape
	Type *SSL_FieldShapeType `protobuf:"varint,5,opt,name=type,enum=SSL_FieldShapeType" json:"type,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 added in v0.3.0

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

Deprecated: Use SSL_FieldLineSegment.ProtoReflect.Descriptor instead.

func (*SSL_FieldLineSegment) GetName added in v0.3.0

func (x *SSL_FieldLineSegment) GetName() string

func (*SSL_FieldLineSegment) GetP1 added in v0.3.0

func (x *SSL_FieldLineSegment) GetP1() *Vector2F

func (*SSL_FieldLineSegment) GetP2 added in v0.3.0

func (x *SSL_FieldLineSegment) GetP2() *Vector2F

func (*SSL_FieldLineSegment) GetThickness added in v0.3.0

func (x *SSL_FieldLineSegment) GetThickness() float32

func (*SSL_FieldLineSegment) GetType added in v1.4.0

func (*SSL_FieldLineSegment) ProtoMessage added in v0.3.0

func (*SSL_FieldLineSegment) ProtoMessage()

func (*SSL_FieldLineSegment) ProtoReflect added in v1.4.0

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

func (*SSL_FieldLineSegment) Reset added in v0.3.0

func (x *SSL_FieldLineSegment) Reset()

func (*SSL_FieldLineSegment) String added in v0.3.0

func (x *SSL_FieldLineSegment) String() string

type SSL_FieldShapeType added in v1.4.0

type SSL_FieldShapeType int32
const (
	SSL_FieldShapeType_Undefined                     SSL_FieldShapeType = 0
	SSL_FieldShapeType_CenterCircle                  SSL_FieldShapeType = 1
	SSL_FieldShapeType_TopTouchLine                  SSL_FieldShapeType = 2
	SSL_FieldShapeType_BottomTouchLine               SSL_FieldShapeType = 3
	SSL_FieldShapeType_LeftGoalLine                  SSL_FieldShapeType = 4
	SSL_FieldShapeType_RightGoalLine                 SSL_FieldShapeType = 5
	SSL_FieldShapeType_HalfwayLine                   SSL_FieldShapeType = 6
	SSL_FieldShapeType_CenterLine                    SSL_FieldShapeType = 7
	SSL_FieldShapeType_LeftPenaltyStretch            SSL_FieldShapeType = 8
	SSL_FieldShapeType_RightPenaltyStretch           SSL_FieldShapeType = 9
	SSL_FieldShapeType_LeftFieldLeftPenaltyStretch   SSL_FieldShapeType = 10
	SSL_FieldShapeType_LeftFieldRightPenaltyStretch  SSL_FieldShapeType = 11
	SSL_FieldShapeType_RightFieldLeftPenaltyStretch  SSL_FieldShapeType = 12
	SSL_FieldShapeType_RightFieldRightPenaltyStretch SSL_FieldShapeType = 13
)

func (SSL_FieldShapeType) Descriptor added in v1.4.0

func (SSL_FieldShapeType) Enum added in v1.4.0

func (SSL_FieldShapeType) EnumDescriptor deprecated added in v1.4.0

func (SSL_FieldShapeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SSL_FieldShapeType.Descriptor instead.

func (SSL_FieldShapeType) Number added in v1.4.0

func (SSL_FieldShapeType) String added in v1.4.0

func (x SSL_FieldShapeType) String() string

func (SSL_FieldShapeType) Type added in v1.4.0

func (*SSL_FieldShapeType) UnmarshalJSON deprecated added in v1.4.0

func (x *SSL_FieldShapeType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SSL_GeometryCameraCalibration added in v0.3.0

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"`
	PixelImageWidth      *uint32  `protobuf:"varint,16,opt,name=pixel_image_width,json=pixelImageWidth" json:"pixel_image_width,omitempty"`
	PixelImageHeight     *uint32  `protobuf:"varint,17,opt,name=pixel_image_height,json=pixelImageHeight" json:"pixel_image_height,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_GeometryCameraCalibration) Descriptor deprecated added in v0.3.0

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

Deprecated: Use SSL_GeometryCameraCalibration.ProtoReflect.Descriptor instead.

func (*SSL_GeometryCameraCalibration) GetCameraId added in v0.3.0

func (x *SSL_GeometryCameraCalibration) GetCameraId() uint32

func (*SSL_GeometryCameraCalibration) GetDerivedCameraWorldTx added in v0.3.0

func (x *SSL_GeometryCameraCalibration) GetDerivedCameraWorldTx() float32

func (*SSL_GeometryCameraCalibration) GetDerivedCameraWorldTy added in v0.3.0

func (x *SSL_GeometryCameraCalibration) GetDerivedCameraWorldTy() float32

func (*SSL_GeometryCameraCalibration) GetDerivedCameraWorldTz added in v0.3.0

func (x *SSL_GeometryCameraCalibration) GetDerivedCameraWorldTz() float32

func (*SSL_GeometryCameraCalibration) GetDistortion added in v0.3.0

func (x *SSL_GeometryCameraCalibration) GetDistortion() float32

func (*SSL_GeometryCameraCalibration) GetFocalLength added in v0.3.0

func (x *SSL_GeometryCameraCalibration) GetFocalLength() float32

func (*SSL_GeometryCameraCalibration) GetPixelImageHeight added in v1.4.0

func (x *SSL_GeometryCameraCalibration) GetPixelImageHeight() uint32

func (*SSL_GeometryCameraCalibration) GetPixelImageWidth added in v1.4.0

func (x *SSL_GeometryCameraCalibration) GetPixelImageWidth() uint32

func (*SSL_GeometryCameraCalibration) GetPrincipalPointX added in v0.3.0

func (x *SSL_GeometryCameraCalibration) GetPrincipalPointX() float32

func (*SSL_GeometryCameraCalibration) GetPrincipalPointY added in v0.3.0

func (x *SSL_GeometryCameraCalibration) GetPrincipalPointY() float32

func (*SSL_GeometryCameraCalibration) GetQ0 added in v0.3.0

func (*SSL_GeometryCameraCalibration) GetQ1 added in v0.3.0

func (*SSL_GeometryCameraCalibration) GetQ2 added in v0.3.0

func (*SSL_GeometryCameraCalibration) GetQ3 added in v0.3.0

func (*SSL_GeometryCameraCalibration) GetTx added in v0.3.0

func (*SSL_GeometryCameraCalibration) GetTy added in v0.3.0

func (*SSL_GeometryCameraCalibration) GetTz added in v0.3.0

func (*SSL_GeometryCameraCalibration) ProtoMessage added in v0.3.0

func (*SSL_GeometryCameraCalibration) ProtoMessage()

func (*SSL_GeometryCameraCalibration) ProtoReflect added in v1.4.0

func (*SSL_GeometryCameraCalibration) Reset added in v0.3.0

func (x *SSL_GeometryCameraCalibration) Reset()

func (*SSL_GeometryCameraCalibration) String added in v0.3.0

type SSL_GeometryData added in v0.3.0

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"`
	Models *SSL_GeometryModels              `protobuf:"bytes,3,opt,name=models" json:"models,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_GeometryData) Descriptor deprecated added in v0.3.0

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

Deprecated: Use SSL_GeometryData.ProtoReflect.Descriptor instead.

func (*SSL_GeometryData) GetCalib added in v0.3.0

func (*SSL_GeometryData) GetField added in v0.3.0

func (x *SSL_GeometryData) GetField() *SSL_GeometryFieldSize

func (*SSL_GeometryData) GetModels added in v1.4.0

func (x *SSL_GeometryData) GetModels() *SSL_GeometryModels

func (*SSL_GeometryData) ProtoMessage added in v0.3.0

func (*SSL_GeometryData) ProtoMessage()

func (*SSL_GeometryData) ProtoReflect added in v1.4.0

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

func (*SSL_GeometryData) Reset added in v0.3.0

func (x *SSL_GeometryData) Reset()

func (*SSL_GeometryData) String added in v0.3.0

func (x *SSL_GeometryData) String() string

type SSL_GeometryFieldSize added in v0.3.0

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_FieldCircularArc `protobuf:"bytes,7,rep,name=field_arcs,json=fieldArcs" json:"field_arcs,omitempty"`
	PenaltyAreaDepth        *int32                  `protobuf:"varint,8,opt,name=penalty_area_depth,json=penaltyAreaDepth" json:"penalty_area_depth,omitempty"`
	PenaltyAreaWidth        *int32                  `protobuf:"varint,9,opt,name=penalty_area_width,json=penaltyAreaWidth" json:"penalty_area_width,omitempty"`
	CenterCircleRadius      *int32                  `protobuf:"varint,10,opt,name=center_circle_radius,json=centerCircleRadius" json:"center_circle_radius,omitempty"`
	LineThickness           *int32                  `protobuf:"varint,11,opt,name=line_thickness,json=lineThickness" json:"line_thickness,omitempty"`
	GoalCenterToPenaltyMark *int32                  `` /* 131-byte string literal not displayed */
	GoalHeight              *int32                  `protobuf:"varint,13,opt,name=goal_height,json=goalHeight" json:"goal_height,omitempty"`
	BallRadius              *float32                `protobuf:"fixed32,14,opt,name=ball_radius,json=ballRadius" json:"ball_radius,omitempty"`
	MaxRobotRadius          *float32                `protobuf:"fixed32,15,opt,name=max_robot_radius,json=maxRobotRadius" json:"max_robot_radius,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_GeometryFieldSize) Descriptor deprecated added in v0.3.0

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

Deprecated: Use SSL_GeometryFieldSize.ProtoReflect.Descriptor instead.

func (*SSL_GeometryFieldSize) GetBallRadius added in v1.7.0

func (x *SSL_GeometryFieldSize) GetBallRadius() float32

func (*SSL_GeometryFieldSize) GetBoundaryWidth added in v0.3.0

func (x *SSL_GeometryFieldSize) GetBoundaryWidth() int32

func (*SSL_GeometryFieldSize) GetCenterCircleRadius added in v1.7.0

func (x *SSL_GeometryFieldSize) GetCenterCircleRadius() int32

func (*SSL_GeometryFieldSize) GetFieldArcs added in v0.3.0

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

func (*SSL_GeometryFieldSize) GetFieldLength added in v0.3.0

func (x *SSL_GeometryFieldSize) GetFieldLength() int32

func (*SSL_GeometryFieldSize) GetFieldLines added in v0.3.0

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

func (*SSL_GeometryFieldSize) GetFieldWidth added in v0.3.0

func (x *SSL_GeometryFieldSize) GetFieldWidth() int32

func (*SSL_GeometryFieldSize) GetGoalCenterToPenaltyMark added in v1.7.0

func (x *SSL_GeometryFieldSize) GetGoalCenterToPenaltyMark() int32

func (*SSL_GeometryFieldSize) GetGoalDepth added in v0.3.0

func (x *SSL_GeometryFieldSize) GetGoalDepth() int32

func (*SSL_GeometryFieldSize) GetGoalHeight added in v1.7.0

func (x *SSL_GeometryFieldSize) GetGoalHeight() int32

func (*SSL_GeometryFieldSize) GetGoalWidth added in v0.3.0

func (x *SSL_GeometryFieldSize) GetGoalWidth() int32

func (*SSL_GeometryFieldSize) GetLineThickness added in v1.7.0

func (x *SSL_GeometryFieldSize) GetLineThickness() int32

func (*SSL_GeometryFieldSize) GetMaxRobotRadius added in v1.7.0

func (x *SSL_GeometryFieldSize) GetMaxRobotRadius() float32

func (*SSL_GeometryFieldSize) GetPenaltyAreaDepth added in v1.4.0

func (x *SSL_GeometryFieldSize) GetPenaltyAreaDepth() int32

func (*SSL_GeometryFieldSize) GetPenaltyAreaWidth added in v1.4.0

func (x *SSL_GeometryFieldSize) GetPenaltyAreaWidth() int32

func (*SSL_GeometryFieldSize) ProtoMessage added in v0.3.0

func (*SSL_GeometryFieldSize) ProtoMessage()

func (*SSL_GeometryFieldSize) ProtoReflect added in v1.4.0

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

func (*SSL_GeometryFieldSize) Reset added in v0.3.0

func (x *SSL_GeometryFieldSize) Reset()

func (*SSL_GeometryFieldSize) String added in v0.3.0

func (x *SSL_GeometryFieldSize) String() string

type SSL_GeometryModels added in v1.4.0

type SSL_GeometryModels struct {
	StraightTwoPhase *SSL_BallModelStraightTwoPhase `protobuf:"bytes,1,opt,name=straight_two_phase,json=straightTwoPhase" json:"straight_two_phase,omitempty"`
	ChipFixedLoss    *SSL_BallModelChipFixedLoss    `protobuf:"bytes,2,opt,name=chip_fixed_loss,json=chipFixedLoss" json:"chip_fixed_loss,omitempty"`
	// contains filtered or unexported fields
}

func (*SSL_GeometryModels) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SSL_GeometryModels.ProtoReflect.Descriptor instead.

func (*SSL_GeometryModels) GetChipFixedLoss added in v1.4.0

func (x *SSL_GeometryModels) GetChipFixedLoss() *SSL_BallModelChipFixedLoss

func (*SSL_GeometryModels) GetStraightTwoPhase added in v1.4.0

func (x *SSL_GeometryModels) GetStraightTwoPhase() *SSL_BallModelStraightTwoPhase

func (*SSL_GeometryModels) ProtoMessage added in v1.4.0

func (*SSL_GeometryModels) ProtoMessage()

func (*SSL_GeometryModels) ProtoReflect added in v1.4.0

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

func (*SSL_GeometryModels) Reset added in v1.4.0

func (x *SSL_GeometryModels) Reset()

func (*SSL_GeometryModels) String added in v1.4.0

func (x *SSL_GeometryModels) String() string

type SSL_WrapperPacket added in v0.3.0

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 added in v0.3.0

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

Deprecated: Use SSL_WrapperPacket.ProtoReflect.Descriptor instead.

func (*SSL_WrapperPacket) GetDetection added in v0.3.0

func (x *SSL_WrapperPacket) GetDetection() *SSL_DetectionFrame

func (*SSL_WrapperPacket) GetGeometry added in v0.3.0

func (x *SSL_WrapperPacket) GetGeometry() *SSL_GeometryData

func (*SSL_WrapperPacket) ProtoMessage added in v0.3.0

func (*SSL_WrapperPacket) ProtoMessage()

func (*SSL_WrapperPacket) ProtoReflect added in v1.4.0

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

func (*SSL_WrapperPacket) Reset added in v0.3.0

func (x *SSL_WrapperPacket) Reset()

func (*SSL_WrapperPacket) String added in v0.3.0

func (x *SSL_WrapperPacket) String() string

type Vector2F added in v0.3.0

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 added in v0.3.0

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

Deprecated: Use Vector2F.ProtoReflect.Descriptor instead.

func (*Vector2F) GetX added in v0.3.0

func (x *Vector2F) GetX() float32

func (*Vector2F) GetY added in v0.3.0

func (x *Vector2F) GetY() float32

func (*Vector2F) ProtoMessage added in v0.3.0

func (*Vector2F) ProtoMessage()

func (*Vector2F) ProtoReflect added in v1.4.0

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

func (*Vector2F) Reset added in v0.3.0

func (x *Vector2F) Reset()

func (*Vector2F) String added in v0.3.0

func (x *Vector2F) String() string

Jump to

Keyboard shortcuts

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