sim

package
v0.0.0-...-6b68a44 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_RobotSpecs_Radius = float32(0.09000000357627869)
	Default_RobotSpecs_Height = float32(0.15000000596046448)
)

Default values for RobotSpecs fields.

View Source
const (
	Default_TeleportBall_TeleportSafely = bool(false)
	Default_TeleportBall_Roll           = bool(false)
	Default_TeleportBall_ByForce        = bool(false)
)

Default values for TeleportBall fields.

View Source
const (
	Default_TeleportRobot_VX       = float32(0)
	Default_TeleportRobot_VY       = float32(0)
	Default_TeleportRobot_VAngular = float32(0)
	Default_TeleportRobot_ByForce  = bool(false)
)

Default values for TeleportRobot fields.

View Source
const (
	Default_RobotCommand_KickAngle = float32(0)
)

Default values for RobotCommand fields.

Variables

View Source
var (
	Team_name = map[int32]string{
		0: "UNKNOWN",
		1: "YELLOW",
		2: "BLUE",
	}
	Team_value = map[string]int32{
		"UNKNOWN": 0,
		"YELLOW":  1,
		"BLUE":    2,
	}
)

Enum value maps for Team.

View Source
var (
	Division_name = map[int32]string{
		0: "DIV_UNKNOWN",
		1: "DIV_A",
		2: "DIV_B",
	}
	Division_value = map[string]int32{
		"DIV_UNKNOWN": 0,
		"DIV_A":       1,
		"DIV_B":       2,
	}
)

Enum value maps for Division.

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_gc_common_proto protoreflect.FileDescriptor
View Source
var File_ssl_simulation_config_proto protoreflect.FileDescriptor
View Source
var File_ssl_simulation_control_proto protoreflect.FileDescriptor
View Source
var File_ssl_simulation_error_proto protoreflect.FileDescriptor
View Source
var File_ssl_simulation_robot_control_proto protoreflect.FileDescriptor
View Source
var File_ssl_simulation_robot_feedback_proto protoreflect.FileDescriptor
View Source
var File_ssl_simulation_synchronous_proto protoreflect.FileDescriptor
View Source
var File_ssl_vision_detection_proto protoreflect.FileDescriptor
View Source
var File_ssl_vision_geometry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Division

type Division int32

Division denotes the current division, which influences some rules

const (
	Division_DIV_UNKNOWN Division = 0
	Division_DIV_A       Division = 1
	Division_DIV_B       Division = 2
)

func (Division) Descriptor

func (Division) Descriptor() protoreflect.EnumDescriptor

func (Division) Enum

func (x Division) Enum() *Division

func (Division) EnumDescriptor deprecated

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

Deprecated: Use Division.Descriptor instead.

func (Division) Number

func (x Division) Number() protoreflect.EnumNumber

func (Division) String

func (x Division) String() string

func (Division) Type

func (*Division) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type MoveGlobalVelocity

type MoveGlobalVelocity struct {

	// Velocity on x-axis of the field [m/s]
	X *float32 `protobuf:"fixed32,1,req,name=x" json:"x,omitempty"`
	// Velocity on y-axis of the field [m/s]
	Y *float32 `protobuf:"fixed32,2,req,name=y" json:"y,omitempty"`
	// Angular velocity counter-clockwise [rad/s]
	Angular *float32 `protobuf:"fixed32,3,req,name=angular" json:"angular,omitempty"`
	// contains filtered or unexported fields
}

Move robot with global velocity

func (*MoveGlobalVelocity) Descriptor deprecated

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

Deprecated: Use MoveGlobalVelocity.ProtoReflect.Descriptor instead.

func (*MoveGlobalVelocity) GetAngular

func (x *MoveGlobalVelocity) GetAngular() float32

func (*MoveGlobalVelocity) GetX

func (x *MoveGlobalVelocity) GetX() float32

func (*MoveGlobalVelocity) GetY

func (x *MoveGlobalVelocity) GetY() float32

func (*MoveGlobalVelocity) ProtoMessage

func (*MoveGlobalVelocity) ProtoMessage()

func (*MoveGlobalVelocity) ProtoReflect

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

func (*MoveGlobalVelocity) Reset

func (x *MoveGlobalVelocity) Reset()

func (*MoveGlobalVelocity) String

func (x *MoveGlobalVelocity) String() string

type MoveLocalVelocity

type MoveLocalVelocity struct {

	// Velocity forward [m/s] (towards the dribbler)
	Forward *float32 `protobuf:"fixed32,1,req,name=forward" json:"forward,omitempty"`
	// Velocity to the left [m/s]
	Left *float32 `protobuf:"fixed32,2,req,name=left" json:"left,omitempty"`
	// Angular velocity counter-clockwise [rad/s]
	Angular *float32 `protobuf:"fixed32,3,req,name=angular" json:"angular,omitempty"`
	// contains filtered or unexported fields
}

Move robot with local velocity

func (*MoveLocalVelocity) Descriptor deprecated

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

Deprecated: Use MoveLocalVelocity.ProtoReflect.Descriptor instead.

func (*MoveLocalVelocity) GetAngular

func (x *MoveLocalVelocity) GetAngular() float32

func (*MoveLocalVelocity) GetForward

func (x *MoveLocalVelocity) GetForward() float32

func (*MoveLocalVelocity) GetLeft

func (x *MoveLocalVelocity) GetLeft() float32

func (*MoveLocalVelocity) ProtoMessage

func (*MoveLocalVelocity) ProtoMessage()

func (*MoveLocalVelocity) ProtoReflect

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

func (*MoveLocalVelocity) Reset

func (x *MoveLocalVelocity) Reset()

func (*MoveLocalVelocity) String

func (x *MoveLocalVelocity) String() string

type MoveWheelVelocity

type MoveWheelVelocity struct {

	// Velocity [m/s] of front right wheel
	FrontRight *float32 `protobuf:"fixed32,1,req,name=front_right,json=frontRight" json:"front_right,omitempty"`
	// Velocity [m/s] of back right wheel
	BackRight *float32 `protobuf:"fixed32,2,req,name=back_right,json=backRight" json:"back_right,omitempty"`
	// Velocity [m/s] of back left wheel
	BackLeft *float32 `protobuf:"fixed32,3,req,name=back_left,json=backLeft" json:"back_left,omitempty"`
	// Velocity [m/s] of front left wheel
	FrontLeft *float32 `protobuf:"fixed32,4,req,name=front_left,json=frontLeft" json:"front_left,omitempty"`
	// contains filtered or unexported fields
}

Move robot with wheel velocities

func (*MoveWheelVelocity) Descriptor deprecated

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

Deprecated: Use MoveWheelVelocity.ProtoReflect.Descriptor instead.

func (*MoveWheelVelocity) GetBackLeft

func (x *MoveWheelVelocity) GetBackLeft() float32

func (*MoveWheelVelocity) GetBackRight

func (x *MoveWheelVelocity) GetBackRight() float32

func (*MoveWheelVelocity) GetFrontLeft

func (x *MoveWheelVelocity) GetFrontLeft() float32

func (*MoveWheelVelocity) GetFrontRight

func (x *MoveWheelVelocity) GetFrontRight() float32

func (*MoveWheelVelocity) ProtoMessage

func (*MoveWheelVelocity) ProtoMessage()

func (*MoveWheelVelocity) ProtoReflect

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

func (*MoveWheelVelocity) Reset

func (x *MoveWheelVelocity) Reset()

func (*MoveWheelVelocity) String

func (x *MoveWheelVelocity) String() string

type RealismConfig

type RealismConfig struct {

	// Custom config for specific simulators (the protobuf files are managed by the simulators)
	Custom []*anypb.Any `protobuf:"bytes,1,rep,name=custom" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

func (*RealismConfig) Descriptor deprecated

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

Deprecated: Use RealismConfig.ProtoReflect.Descriptor instead.

func (*RealismConfig) GetCustom

func (x *RealismConfig) GetCustom() []*anypb.Any

func (*RealismConfig) ProtoMessage

func (*RealismConfig) ProtoMessage()

func (*RealismConfig) ProtoReflect

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

func (*RealismConfig) Reset

func (x *RealismConfig) Reset()

func (*RealismConfig) String

func (x *RealismConfig) String() string

type RobotCommand

type RobotCommand struct {

	// Id of the robot
	Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	// Movement command
	MoveCommand *RobotMoveCommand `protobuf:"bytes,2,opt,name=move_command,json=moveCommand" json:"move_command,omitempty"`
	// Absolute (3 dimensional) kick speed [m/s]
	KickSpeed *float32 `protobuf:"fixed32,3,opt,name=kick_speed,json=kickSpeed" json:"kick_speed,omitempty"`
	// Kick angle [degree] (defaults to 0 degrees for a straight kick)
	KickAngle *float32 `protobuf:"fixed32,4,opt,name=kick_angle,json=kickAngle,def=0" json:"kick_angle,omitempty"`
	// Dribbler speed in rounds per minute [rpm]
	DribblerSpeed *float32 `protobuf:"fixed32,5,opt,name=dribbler_speed,json=dribblerSpeed" json:"dribbler_speed,omitempty"`
	// contains filtered or unexported fields
}

Full command for a single robot

func (*RobotCommand) Descriptor deprecated

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

Deprecated: Use RobotCommand.ProtoReflect.Descriptor instead.

func (*RobotCommand) GetDribblerSpeed

func (x *RobotCommand) GetDribblerSpeed() float32

func (*RobotCommand) GetId

func (x *RobotCommand) GetId() uint32

func (*RobotCommand) GetKickAngle

func (x *RobotCommand) GetKickAngle() float32

func (*RobotCommand) GetKickSpeed

func (x *RobotCommand) GetKickSpeed() float32

func (*RobotCommand) GetMoveCommand

func (x *RobotCommand) GetMoveCommand() *RobotMoveCommand

func (*RobotCommand) ProtoMessage

func (*RobotCommand) ProtoMessage()

func (*RobotCommand) ProtoReflect

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

func (*RobotCommand) Reset

func (x *RobotCommand) Reset()

func (*RobotCommand) String

func (x *RobotCommand) String() string

type RobotControl

type RobotControl struct {

	// Control the robots
	RobotCommands []*RobotCommand `protobuf:"bytes,1,rep,name=robot_commands,json=robotCommands" json:"robot_commands,omitempty"`
	// contains filtered or unexported fields
}

Command from the connected client to the simulator

func (*RobotControl) Descriptor deprecated

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

Deprecated: Use RobotControl.ProtoReflect.Descriptor instead.

func (*RobotControl) GetRobotCommands

func (x *RobotControl) GetRobotCommands() []*RobotCommand

func (*RobotControl) ProtoMessage

func (*RobotControl) ProtoMessage()

func (*RobotControl) ProtoReflect

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

func (*RobotControl) Reset

func (x *RobotControl) Reset()

func (*RobotControl) String

func (x *RobotControl) String() string

type RobotControlResponse

type RobotControlResponse struct {

	// List of errors, like using unsupported features
	Errors []*SimulatorError `protobuf:"bytes,1,rep,name=errors" json:"errors,omitempty"`
	// Feedback of the robots
	Feedback []*RobotFeedback `protobuf:"bytes,2,rep,name=feedback" json:"feedback,omitempty"`
	// contains filtered or unexported fields
}

Response to RobotControl from the simulator to the connected client

func (*RobotControlResponse) Descriptor deprecated

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

Deprecated: Use RobotControlResponse.ProtoReflect.Descriptor instead.

func (*RobotControlResponse) GetErrors

func (x *RobotControlResponse) GetErrors() []*SimulatorError

func (*RobotControlResponse) GetFeedback

func (x *RobotControlResponse) GetFeedback() []*RobotFeedback

func (*RobotControlResponse) ProtoMessage

func (*RobotControlResponse) ProtoMessage()

func (*RobotControlResponse) ProtoReflect

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

func (*RobotControlResponse) Reset

func (x *RobotControlResponse) Reset()

func (*RobotControlResponse) String

func (x *RobotControlResponse) String() string

type RobotFeedback

type RobotFeedback struct {

	// Id of the robot
	Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	// Has the dribbler contact to the ball right now
	DribblerBallContact *bool `protobuf:"varint,2,opt,name=dribbler_ball_contact,json=dribblerBallContact" json:"dribbler_ball_contact,omitempty"`
	// Custom robot feedback for specific simulators (the protobuf files are managed by the simulators)
	Custom *anypb.Any `protobuf:"bytes,3,opt,name=custom" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

Feedback from a robot

func (*RobotFeedback) Descriptor deprecated

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

Deprecated: Use RobotFeedback.ProtoReflect.Descriptor instead.

func (*RobotFeedback) GetCustom

func (x *RobotFeedback) GetCustom() *anypb.Any

func (*RobotFeedback) GetDribblerBallContact

func (x *RobotFeedback) GetDribblerBallContact() bool

func (*RobotFeedback) GetId

func (x *RobotFeedback) GetId() uint32

func (*RobotFeedback) ProtoMessage

func (*RobotFeedback) ProtoMessage()

func (*RobotFeedback) ProtoReflect

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

func (*RobotFeedback) Reset

func (x *RobotFeedback) Reset()

func (*RobotFeedback) String

func (x *RobotFeedback) String() string

type RobotId

type RobotId struct {

	// the robot number
	Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the team that the robot belongs to
	Team *Team `protobuf:"varint,2,opt,name=team,enum=Team" json:"team,omitempty"`
	// contains filtered or unexported fields
}

RobotId is the combination of a team and a robot id

func (*RobotId) Descriptor deprecated

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

Deprecated: Use RobotId.ProtoReflect.Descriptor instead.

func (*RobotId) GetId

func (x *RobotId) GetId() uint32

func (*RobotId) GetTeam

func (x *RobotId) GetTeam() Team

func (*RobotId) ProtoMessage

func (*RobotId) ProtoMessage()

func (*RobotId) ProtoReflect

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

func (*RobotId) Reset

func (x *RobotId) Reset()

func (*RobotId) String

func (x *RobotId) String() string

type RobotLimits

type RobotLimits struct {

	// Max absolute speed-up acceleration [m/s^2]
	AccSpeedupAbsoluteMax *float32 `protobuf:"fixed32,1,opt,name=acc_speedup_absolute_max,json=accSpeedupAbsoluteMax" json:"acc_speedup_absolute_max,omitempty"`
	// Max angular speed-up acceleration [rad/s^2]
	AccSpeedupAngularMax *float32 `protobuf:"fixed32,2,opt,name=acc_speedup_angular_max,json=accSpeedupAngularMax" json:"acc_speedup_angular_max,omitempty"`
	// Max absolute brake acceleration [m/s^2]
	AccBrakeAbsoluteMax *float32 `protobuf:"fixed32,3,opt,name=acc_brake_absolute_max,json=accBrakeAbsoluteMax" json:"acc_brake_absolute_max,omitempty"`
	// Max angular brake acceleration [rad/s^2]
	AccBrakeAngularMax *float32 `protobuf:"fixed32,4,opt,name=acc_brake_angular_max,json=accBrakeAngularMax" json:"acc_brake_angular_max,omitempty"`
	// Max absolute velocity [m/s]
	VelAbsoluteMax *float32 `protobuf:"fixed32,5,opt,name=vel_absolute_max,json=velAbsoluteMax" json:"vel_absolute_max,omitempty"`
	// Max angular velocity [rad/s]
	VelAngularMax *float32 `protobuf:"fixed32,6,opt,name=vel_angular_max,json=velAngularMax" json:"vel_angular_max,omitempty"`
	// contains filtered or unexported fields
}

Movement limits for a robot

func (*RobotLimits) Descriptor deprecated

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

Deprecated: Use RobotLimits.ProtoReflect.Descriptor instead.

func (*RobotLimits) GetAccBrakeAbsoluteMax

func (x *RobotLimits) GetAccBrakeAbsoluteMax() float32

func (*RobotLimits) GetAccBrakeAngularMax

func (x *RobotLimits) GetAccBrakeAngularMax() float32

func (*RobotLimits) GetAccSpeedupAbsoluteMax

func (x *RobotLimits) GetAccSpeedupAbsoluteMax() float32

func (*RobotLimits) GetAccSpeedupAngularMax

func (x *RobotLimits) GetAccSpeedupAngularMax() float32

func (*RobotLimits) GetVelAbsoluteMax

func (x *RobotLimits) GetVelAbsoluteMax() float32

func (*RobotLimits) GetVelAngularMax

func (x *RobotLimits) GetVelAngularMax() float32

func (*RobotLimits) ProtoMessage

func (*RobotLimits) ProtoMessage()

func (*RobotLimits) ProtoReflect

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

func (*RobotLimits) Reset

func (x *RobotLimits) Reset()

func (*RobotLimits) String

func (x *RobotLimits) String() string

type RobotMoveCommand

type RobotMoveCommand struct {

	// Types that are assignable to Command:
	//	*RobotMoveCommand_WheelVelocity
	//	*RobotMoveCommand_LocalVelocity
	//	*RobotMoveCommand_GlobalVelocity
	Command isRobotMoveCommand_Command `protobuf_oneof:"command"`
	// contains filtered or unexported fields
}

Wrapper for different kinds of movement commands

func (*RobotMoveCommand) Descriptor deprecated

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

Deprecated: Use RobotMoveCommand.ProtoReflect.Descriptor instead.

func (*RobotMoveCommand) GetCommand

func (m *RobotMoveCommand) GetCommand() isRobotMoveCommand_Command

func (*RobotMoveCommand) GetGlobalVelocity

func (x *RobotMoveCommand) GetGlobalVelocity() *MoveGlobalVelocity

func (*RobotMoveCommand) GetLocalVelocity

func (x *RobotMoveCommand) GetLocalVelocity() *MoveLocalVelocity

func (*RobotMoveCommand) GetWheelVelocity

func (x *RobotMoveCommand) GetWheelVelocity() *MoveWheelVelocity

func (*RobotMoveCommand) ProtoMessage

func (*RobotMoveCommand) ProtoMessage()

func (*RobotMoveCommand) ProtoReflect

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

func (*RobotMoveCommand) Reset

func (x *RobotMoveCommand) Reset()

func (*RobotMoveCommand) String

func (x *RobotMoveCommand) String() string

type RobotMoveCommand_GlobalVelocity

type RobotMoveCommand_GlobalVelocity struct {
	// Move with global velocity
	GlobalVelocity *MoveGlobalVelocity `protobuf:"bytes,3,opt,name=global_velocity,json=globalVelocity,oneof"`
}

type RobotMoveCommand_LocalVelocity

type RobotMoveCommand_LocalVelocity struct {
	// Move with local velocity
	LocalVelocity *MoveLocalVelocity `protobuf:"bytes,2,opt,name=local_velocity,json=localVelocity,oneof"`
}

type RobotMoveCommand_WheelVelocity

type RobotMoveCommand_WheelVelocity struct {
	// Move with wheel velocities
	WheelVelocity *MoveWheelVelocity `protobuf:"bytes,1,opt,name=wheel_velocity,json=wheelVelocity,oneof"`
}

type RobotSpecs

type RobotSpecs struct {

	// Id of the robot
	Id *RobotId `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// Robot radius [m]
	Radius *float32 `protobuf:"fixed32,2,opt,name=radius,def=0.09" json:"radius,omitempty"`
	// Robot height [m]
	Height *float32 `protobuf:"fixed32,3,opt,name=height,def=0.15" json:"height,omitempty"`
	// Robot mass [kg]
	Mass *float32 `protobuf:"fixed32,4,opt,name=mass" json:"mass,omitempty"`
	// Max linear kick speed [m/s] (unset = unlimited)
	MaxLinearKickSpeed *float32 `protobuf:"fixed32,7,opt,name=max_linear_kick_speed,json=maxLinearKickSpeed" json:"max_linear_kick_speed,omitempty"`
	// Max chip kick speed [m/s] (unset = unlimited)
	MaxChipKickSpeed *float32 `protobuf:"fixed32,8,opt,name=max_chip_kick_speed,json=maxChipKickSpeed" json:"max_chip_kick_speed,omitempty"`
	// Distance from robot center to dribbler [m] (implicitly defines the opening angle and dribbler width)
	CenterToDribbler *float32 `protobuf:"fixed32,9,opt,name=center_to_dribbler,json=centerToDribbler" json:"center_to_dribbler,omitempty"`
	// Movement limits
	Limits *RobotLimits `protobuf:"bytes,10,opt,name=limits" json:"limits,omitempty"`
	// Wheel angle configuration
	WheelAngles *RobotWheelAngles `protobuf:"bytes,13,opt,name=wheel_angles,json=wheelAngles" json:"wheel_angles,omitempty"`
	// Custom robot spec for specific simulators (the protobuf files are managed by the simulators)
	Custom []*anypb.Any `protobuf:"bytes,14,rep,name=custom" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

Specs of a robot

func (*RobotSpecs) Descriptor deprecated

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

Deprecated: Use RobotSpecs.ProtoReflect.Descriptor instead.

func (*RobotSpecs) GetCenterToDribbler

func (x *RobotSpecs) GetCenterToDribbler() float32

func (*RobotSpecs) GetCustom

func (x *RobotSpecs) GetCustom() []*anypb.Any

func (*RobotSpecs) GetHeight

func (x *RobotSpecs) GetHeight() float32

func (*RobotSpecs) GetId

func (x *RobotSpecs) GetId() *RobotId

func (*RobotSpecs) GetLimits

func (x *RobotSpecs) GetLimits() *RobotLimits

func (*RobotSpecs) GetMass

func (x *RobotSpecs) GetMass() float32

func (*RobotSpecs) GetMaxChipKickSpeed

func (x *RobotSpecs) GetMaxChipKickSpeed() float32

func (*RobotSpecs) GetMaxLinearKickSpeed

func (x *RobotSpecs) GetMaxLinearKickSpeed() float32

func (*RobotSpecs) GetRadius

func (x *RobotSpecs) GetRadius() float32

func (*RobotSpecs) GetWheelAngles

func (x *RobotSpecs) GetWheelAngles() *RobotWheelAngles

func (*RobotSpecs) ProtoMessage

func (*RobotSpecs) ProtoMessage()

func (*RobotSpecs) ProtoReflect

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

func (*RobotSpecs) Reset

func (x *RobotSpecs) Reset()

func (*RobotSpecs) String

func (x *RobotSpecs) String() string

type RobotWheelAngles

type RobotWheelAngles struct {

	// Angle front right [rad]
	FrontRight *float32 `protobuf:"fixed32,1,req,name=front_right,json=frontRight" json:"front_right,omitempty"`
	// Angle back right [rad]
	BackRight *float32 `protobuf:"fixed32,2,req,name=back_right,json=backRight" json:"back_right,omitempty"`
	// Angle back left [rad]
	BackLeft *float32 `protobuf:"fixed32,3,req,name=back_left,json=backLeft" json:"back_left,omitempty"`
	// Angle front left [rad]
	FrontLeft *float32 `protobuf:"fixed32,4,req,name=front_left,json=frontLeft" json:"front_left,omitempty"`
	// contains filtered or unexported fields
}

Robot wheel angle configuration all angles are relative to looking forward, all wheels / angles are clockwise

func (*RobotWheelAngles) Descriptor deprecated

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

Deprecated: Use RobotWheelAngles.ProtoReflect.Descriptor instead.

func (*RobotWheelAngles) GetBackLeft

func (x *RobotWheelAngles) GetBackLeft() float32

func (*RobotWheelAngles) GetBackRight

func (x *RobotWheelAngles) GetBackRight() float32

func (*RobotWheelAngles) GetFrontLeft

func (x *RobotWheelAngles) GetFrontLeft() float32

func (*RobotWheelAngles) GetFrontRight

func (x *RobotWheelAngles) GetFrontRight() float32

func (*RobotWheelAngles) ProtoMessage

func (*RobotWheelAngles) ProtoMessage()

func (*RobotWheelAngles) ProtoReflect

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

func (*RobotWheelAngles) Reset

func (x *RobotWheelAngles) Reset()

func (*RobotWheelAngles) String

func (x *RobotWheelAngles) String() string

type SSL_BallModelChipFixedLoss

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

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

Deprecated: Use SSL_BallModelChipFixedLoss.ProtoReflect.Descriptor instead.

func (*SSL_BallModelChipFixedLoss) GetDampingXyFirstHop

func (x *SSL_BallModelChipFixedLoss) GetDampingXyFirstHop() float64

func (*SSL_BallModelChipFixedLoss) GetDampingXyOtherHops

func (x *SSL_BallModelChipFixedLoss) GetDampingXyOtherHops() float64

func (*SSL_BallModelChipFixedLoss) GetDampingZ

func (x *SSL_BallModelChipFixedLoss) GetDampingZ() float64

func (*SSL_BallModelChipFixedLoss) ProtoMessage

func (*SSL_BallModelChipFixedLoss) ProtoMessage()

func (*SSL_BallModelChipFixedLoss) ProtoReflect

func (*SSL_BallModelChipFixedLoss) Reset

func (x *SSL_BallModelChipFixedLoss) Reset()

func (*SSL_BallModelChipFixedLoss) String

func (x *SSL_BallModelChipFixedLoss) String() string

type SSL_BallModelStraightTwoPhase

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

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

Deprecated: Use SSL_BallModelStraightTwoPhase.ProtoReflect.Descriptor instead.

func (*SSL_BallModelStraightTwoPhase) GetAccRoll

func (x *SSL_BallModelStraightTwoPhase) GetAccRoll() float64

func (*SSL_BallModelStraightTwoPhase) GetAccSlide

func (x *SSL_BallModelStraightTwoPhase) GetAccSlide() float64

func (*SSL_BallModelStraightTwoPhase) GetKSwitch

func (x *SSL_BallModelStraightTwoPhase) GetKSwitch() float64

func (*SSL_BallModelStraightTwoPhase) ProtoMessage

func (*SSL_BallModelStraightTwoPhase) ProtoMessage()

func (*SSL_BallModelStraightTwoPhase) ProtoReflect

func (*SSL_BallModelStraightTwoPhase) Reset

func (x *SSL_BallModelStraightTwoPhase) Reset()

func (*SSL_BallModelStraightTwoPhase) String

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_FieldCircularArc

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

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

Deprecated: Use SSL_FieldCircularArc.ProtoReflect.Descriptor instead.

func (*SSL_FieldCircularArc) GetA1

func (x *SSL_FieldCircularArc) GetA1() float32

func (*SSL_FieldCircularArc) GetA2

func (x *SSL_FieldCircularArc) GetA2() float32

func (*SSL_FieldCircularArc) GetCenter

func (x *SSL_FieldCircularArc) GetCenter() *Vector2F

func (*SSL_FieldCircularArc) GetName

func (x *SSL_FieldCircularArc) GetName() string

func (*SSL_FieldCircularArc) GetRadius

func (x *SSL_FieldCircularArc) GetRadius() float32

func (*SSL_FieldCircularArc) GetThickness

func (x *SSL_FieldCircularArc) GetThickness() float32

func (*SSL_FieldCircularArc) GetType

func (*SSL_FieldCircularArc) ProtoMessage

func (*SSL_FieldCircularArc) ProtoMessage()

func (*SSL_FieldCircularArc) ProtoReflect

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

func (*SSL_FieldCircularArc) Reset

func (x *SSL_FieldCircularArc) Reset()

func (*SSL_FieldCircularArc) String

func (x *SSL_FieldCircularArc) 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"`
	// 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

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) GetType

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_FieldShapeType

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

func (SSL_FieldShapeType) Enum

func (SSL_FieldShapeType) EnumDescriptor deprecated

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

Deprecated: Use SSL_FieldShapeType.Descriptor instead.

func (SSL_FieldShapeType) Number

func (SSL_FieldShapeType) String

func (x SSL_FieldShapeType) String() string

func (SSL_FieldShapeType) Type

func (*SSL_FieldShapeType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"`
	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

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) GetPixelImageHeight

func (x *SSL_GeometryCameraCalibration) GetPixelImageHeight() uint32

func (*SSL_GeometryCameraCalibration) GetPixelImageWidth

func (x *SSL_GeometryCameraCalibration) GetPixelImageWidth() uint32

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"`
	Models *SSL_GeometryModels              `protobuf:"bytes,3,opt,name=models" json:"models,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) GetModels

func (x *SSL_GeometryData) GetModels() *SSL_GeometryModels

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_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"`
	// 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_FieldCircularArc

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) GetPenaltyAreaDepth

func (x *SSL_GeometryFieldSize) GetPenaltyAreaDepth() int32

func (*SSL_GeometryFieldSize) GetPenaltyAreaWidth

func (x *SSL_GeometryFieldSize) GetPenaltyAreaWidth() 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_GeometryModels

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

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

Deprecated: Use SSL_GeometryModels.ProtoReflect.Descriptor instead.

func (*SSL_GeometryModels) GetChipFixedLoss

func (x *SSL_GeometryModels) GetChipFixedLoss() *SSL_BallModelChipFixedLoss

func (*SSL_GeometryModels) GetStraightTwoPhase

func (x *SSL_GeometryModels) GetStraightTwoPhase() *SSL_BallModelStraightTwoPhase

func (*SSL_GeometryModels) ProtoMessage

func (*SSL_GeometryModels) ProtoMessage()

func (*SSL_GeometryModels) ProtoReflect

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

func (*SSL_GeometryModels) Reset

func (x *SSL_GeometryModels) Reset()

func (*SSL_GeometryModels) String

func (x *SSL_GeometryModels) String() string

type SimulationSyncRequest

type SimulationSyncRequest struct {

	// The simulation step [s] to perform
	SimStep *float32 `protobuf:"fixed32,1,opt,name=sim_step,json=simStep" json:"sim_step,omitempty"`
	// An optional simulator command
	SimulatorCommand *SimulatorCommand `protobuf:"bytes,2,opt,name=simulator_command,json=simulatorCommand" json:"simulator_command,omitempty"`
	// An optional robot control command
	RobotControl *RobotControl `protobuf:"bytes,3,opt,name=robot_control,json=robotControl" json:"robot_control,omitempty"`
	// contains filtered or unexported fields
}

Request from the team to the simulator

func (*SimulationSyncRequest) Descriptor deprecated

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

Deprecated: Use SimulationSyncRequest.ProtoReflect.Descriptor instead.

func (*SimulationSyncRequest) GetRobotControl

func (x *SimulationSyncRequest) GetRobotControl() *RobotControl

func (*SimulationSyncRequest) GetSimStep

func (x *SimulationSyncRequest) GetSimStep() float32

func (*SimulationSyncRequest) GetSimulatorCommand

func (x *SimulationSyncRequest) GetSimulatorCommand() *SimulatorCommand

func (*SimulationSyncRequest) ProtoMessage

func (*SimulationSyncRequest) ProtoMessage()

func (*SimulationSyncRequest) ProtoReflect

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

func (*SimulationSyncRequest) Reset

func (x *SimulationSyncRequest) Reset()

func (*SimulationSyncRequest) String

func (x *SimulationSyncRequest) String() string

type SimulationSyncResponse

type SimulationSyncResponse struct {

	// List of detection frames for all cameras with the state after the simulation step in the request was performed
	Detection []*SSL_DetectionFrame `protobuf:"bytes,1,rep,name=detection" json:"detection,omitempty"`
	// An optional robot control response
	RobotControlResponse *RobotControlResponse `protobuf:"bytes,2,opt,name=robot_control_response,json=robotControlResponse" json:"robot_control_response,omitempty"`
	// contains filtered or unexported fields
}

Response to last SimulationSyncRequest

func (*SimulationSyncResponse) Descriptor deprecated

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

Deprecated: Use SimulationSyncResponse.ProtoReflect.Descriptor instead.

func (*SimulationSyncResponse) GetDetection

func (x *SimulationSyncResponse) GetDetection() []*SSL_DetectionFrame

func (*SimulationSyncResponse) GetRobotControlResponse

func (x *SimulationSyncResponse) GetRobotControlResponse() *RobotControlResponse

func (*SimulationSyncResponse) ProtoMessage

func (*SimulationSyncResponse) ProtoMessage()

func (*SimulationSyncResponse) ProtoReflect

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

func (*SimulationSyncResponse) Reset

func (x *SimulationSyncResponse) Reset()

func (*SimulationSyncResponse) String

func (x *SimulationSyncResponse) String() string

type SimulatorCommand

type SimulatorCommand struct {

	// Control the simulation
	Control *SimulatorControl `protobuf:"bytes,1,opt,name=control" json:"control,omitempty"`
	// Configure the simulation
	Config *SimulatorConfig `protobuf:"bytes,2,opt,name=config" json:"config,omitempty"`
	// contains filtered or unexported fields
}

Command from the connected client to the simulator

func (*SimulatorCommand) Descriptor deprecated

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

Deprecated: Use SimulatorCommand.ProtoReflect.Descriptor instead.

func (*SimulatorCommand) GetConfig

func (x *SimulatorCommand) GetConfig() *SimulatorConfig

func (*SimulatorCommand) GetControl

func (x *SimulatorCommand) GetControl() *SimulatorControl

func (*SimulatorCommand) ProtoMessage

func (*SimulatorCommand) ProtoMessage()

func (*SimulatorCommand) ProtoReflect

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

func (*SimulatorCommand) Reset

func (x *SimulatorCommand) Reset()

func (*SimulatorCommand) String

func (x *SimulatorCommand) String() string

type SimulatorConfig

type SimulatorConfig struct {

	// Update the geometry
	Geometry *SSL_GeometryData `protobuf:"bytes,1,opt,name=geometry" json:"geometry,omitempty"`
	// Update the robot specs
	RobotSpecs []*RobotSpecs `protobuf:"bytes,2,rep,name=robot_specs,json=robotSpecs" json:"robot_specs,omitempty"`
	// Update realism configuration
	RealismConfig *RealismConfig `protobuf:"bytes,3,opt,name=realism_config,json=realismConfig" json:"realism_config,omitempty"`
	// Change the vision publish port
	VisionPort *uint32 `protobuf:"varint,4,opt,name=vision_port,json=visionPort" json:"vision_port,omitempty"`
	// contains filtered or unexported fields
}

Change the simulator configuration

func (*SimulatorConfig) Descriptor deprecated

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

Deprecated: Use SimulatorConfig.ProtoReflect.Descriptor instead.

func (*SimulatorConfig) GetGeometry

func (x *SimulatorConfig) GetGeometry() *SSL_GeometryData

func (*SimulatorConfig) GetRealismConfig

func (x *SimulatorConfig) GetRealismConfig() *RealismConfig

func (*SimulatorConfig) GetRobotSpecs

func (x *SimulatorConfig) GetRobotSpecs() []*RobotSpecs

func (*SimulatorConfig) GetVisionPort

func (x *SimulatorConfig) GetVisionPort() uint32

func (*SimulatorConfig) ProtoMessage

func (*SimulatorConfig) ProtoMessage()

func (*SimulatorConfig) ProtoReflect

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

func (*SimulatorConfig) Reset

func (x *SimulatorConfig) Reset()

func (*SimulatorConfig) String

func (x *SimulatorConfig) String() string

type SimulatorControl

type SimulatorControl struct {

	// Teleport the ball
	TeleportBall *TeleportBall `protobuf:"bytes,1,opt,name=teleport_ball,json=teleportBall" json:"teleport_ball,omitempty"`
	// Teleport robots
	TeleportRobot []*TeleportRobot `protobuf:"bytes,2,rep,name=teleport_robot,json=teleportRobot" json:"teleport_robot,omitempty"`
	// Change the simulation speed
	SimulationSpeed *float32 `protobuf:"fixed32,3,opt,name=simulation_speed,json=simulationSpeed" json:"simulation_speed,omitempty"`
	// contains filtered or unexported fields
}

Control the simulation

func (*SimulatorControl) Descriptor deprecated

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

Deprecated: Use SimulatorControl.ProtoReflect.Descriptor instead.

func (*SimulatorControl) GetSimulationSpeed

func (x *SimulatorControl) GetSimulationSpeed() float32

func (*SimulatorControl) GetTeleportBall

func (x *SimulatorControl) GetTeleportBall() *TeleportBall

func (*SimulatorControl) GetTeleportRobot

func (x *SimulatorControl) GetTeleportRobot() []*TeleportRobot

func (*SimulatorControl) ProtoMessage

func (*SimulatorControl) ProtoMessage()

func (*SimulatorControl) ProtoReflect

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

func (*SimulatorControl) Reset

func (x *SimulatorControl) Reset()

func (*SimulatorControl) String

func (x *SimulatorControl) String() string

type SimulatorError

type SimulatorError struct {

	// Unique code of the error for automatic handling on client side
	Code *string `protobuf:"bytes,1,opt,name=code" json:"code,omitempty"`
	// Human readable description of the error
	Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Errors in the simulator

func (*SimulatorError) Descriptor deprecated

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

Deprecated: Use SimulatorError.ProtoReflect.Descriptor instead.

func (*SimulatorError) GetCode

func (x *SimulatorError) GetCode() string

func (*SimulatorError) GetMessage

func (x *SimulatorError) GetMessage() string

func (*SimulatorError) ProtoMessage

func (*SimulatorError) ProtoMessage()

func (*SimulatorError) ProtoReflect

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

func (*SimulatorError) Reset

func (x *SimulatorError) Reset()

func (*SimulatorError) String

func (x *SimulatorError) String() string

type SimulatorResponse

type SimulatorResponse struct {

	// List of errors, like using unsupported features
	Errors []*SimulatorError `protobuf:"bytes,1,rep,name=errors" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

Response of the simulator to the connected client

func (*SimulatorResponse) Descriptor deprecated

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

Deprecated: Use SimulatorResponse.ProtoReflect.Descriptor instead.

func (*SimulatorResponse) GetErrors

func (x *SimulatorResponse) GetErrors() []*SimulatorError

func (*SimulatorResponse) ProtoMessage

func (*SimulatorResponse) ProtoMessage()

func (*SimulatorResponse) ProtoReflect

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

func (*SimulatorResponse) Reset

func (x *SimulatorResponse) Reset()

func (*SimulatorResponse) String

func (x *SimulatorResponse) String() string

type Team

type Team int32

Team is either blue or yellow

const (
	// team not set
	Team_UNKNOWN Team = 0
	// yellow team
	Team_YELLOW Team = 1
	// blue team
	Team_BLUE Team = 2
)

func (Team) Descriptor

func (Team) Descriptor() protoreflect.EnumDescriptor

func (Team) Enum

func (x Team) Enum() *Team

func (Team) EnumDescriptor deprecated

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

Deprecated: Use Team.Descriptor instead.

func (Team) Number

func (x Team) Number() protoreflect.EnumNumber

func (Team) String

func (x Team) String() string

func (Team) Type

func (Team) Type() protoreflect.EnumType

func (*Team) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type TeleportBall

type TeleportBall struct {

	// x-coordinate [m]
	X *float32 `protobuf:"fixed32,1,opt,name=x" json:"x,omitempty"`
	// y-coordinate [m]
	Y *float32 `protobuf:"fixed32,2,opt,name=y" json:"y,omitempty"`
	// z-coordinate (height) [m]
	Z *float32 `protobuf:"fixed32,3,opt,name=z" json:"z,omitempty"`
	// Velocity in x-direction [m/s]
	Vx *float32 `protobuf:"fixed32,4,opt,name=vx" json:"vx,omitempty"`
	// Velocity in y-direction [m/s]
	Vy *float32 `protobuf:"fixed32,5,opt,name=vy" json:"vy,omitempty"`
	// Velocity in z-direction [m/s]
	Vz *float32 `protobuf:"fixed32,6,opt,name=vz" json:"vz,omitempty"`
	// Teleport the ball safely to the target, for example by
	// moving robots out of the way in case of collision and set speed of robots close-by to zero
	TeleportSafely *bool `protobuf:"varint,7,opt,name=teleport_safely,json=teleportSafely,def=0" json:"teleport_safely,omitempty"`
	// Adapt the angular ball velocity such that the ball is rolling
	Roll *bool `protobuf:"varint,8,opt,name=roll,def=0" json:"roll,omitempty"`
	// Instead of teleporting the ball, apply some force to make sure
	// the ball reaches the required position soon (velocity is ignored if true)
	// WARNING: A command with by_force stays active (the move will take some time)
	// until cancled by another TeleportBall command with by_force = false.
	// To avoid teleporting the ball at the end and resetting its current spin,
	// do not set any of the optional fields in this message to end the force without triggering
	// an additional teleportation
	ByForce *bool `protobuf:"varint,9,opt,name=by_force,json=byForce,def=0" json:"by_force,omitempty"`
	// contains filtered or unexported fields
}

Teleport the ball to a new location and optionally set it to some velocity

func (*TeleportBall) Descriptor deprecated

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

Deprecated: Use TeleportBall.ProtoReflect.Descriptor instead.

func (*TeleportBall) GetByForce

func (x *TeleportBall) GetByForce() bool

func (*TeleportBall) GetRoll

func (x *TeleportBall) GetRoll() bool

func (*TeleportBall) GetTeleportSafely

func (x *TeleportBall) GetTeleportSafely() bool

func (*TeleportBall) GetVx

func (x *TeleportBall) GetVx() float32

func (*TeleportBall) GetVy

func (x *TeleportBall) GetVy() float32

func (*TeleportBall) GetVz

func (x *TeleportBall) GetVz() float32

func (*TeleportBall) GetX

func (x *TeleportBall) GetX() float32

func (*TeleportBall) GetY

func (x *TeleportBall) GetY() float32

func (*TeleportBall) GetZ

func (x *TeleportBall) GetZ() float32

func (*TeleportBall) ProtoMessage

func (*TeleportBall) ProtoMessage()

func (*TeleportBall) ProtoReflect

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

func (*TeleportBall) Reset

func (x *TeleportBall) Reset()

func (*TeleportBall) String

func (x *TeleportBall) String() string

type TeleportRobot

type TeleportRobot struct {

	// Robot id to teleport
	Id *RobotId `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// x-coordinate [m]
	X *float32 `protobuf:"fixed32,2,opt,name=x" json:"x,omitempty"`
	// y-coordinate [m]
	Y *float32 `protobuf:"fixed32,3,opt,name=y" json:"y,omitempty"`
	// Orientation [rad], measured from the x-axis counter-clockwise
	Orientation *float32 `protobuf:"fixed32,4,opt,name=orientation" json:"orientation,omitempty"`
	// Global velocity [m/s] towards x-axis
	VX *float32 `protobuf:"fixed32,5,opt,name=v_x,json=vX,def=0" json:"v_x,omitempty"`
	// Global velocity [m/s] towards y-axis
	VY *float32 `protobuf:"fixed32,6,opt,name=v_y,json=vY,def=0" json:"v_y,omitempty"`
	// Angular velocity [rad/s]
	VAngular *float32 `protobuf:"fixed32,7,opt,name=v_angular,json=vAngular,def=0" json:"v_angular,omitempty"`
	// Robot should be present on the field?
	// true -> robot will be added, if it does not exist yet
	// false -> robot will be removed, if it is present
	Present *bool `protobuf:"varint,8,opt,name=present" json:"present,omitempty"`
	// Instead of teleporting, apply some force to make sure
	// the robot reaches the required position soon (velocity is ignored if true)
	// WARNING: A command with by_force stays active (the move will take some time)
	// until cancled by another TeleportRobot command for the same bot with by_force = false.
	// To avoid teleporting at the end,
	// do not set any of the optional fields in this message
	// to end the force without triggering
	// an additional teleportation
	ByForce *bool `protobuf:"varint,9,opt,name=by_force,json=byForce,def=0" json:"by_force,omitempty"`
	// contains filtered or unexported fields
}

Teleport a robot to some location and give it a velocity

func (*TeleportRobot) Descriptor deprecated

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

Deprecated: Use TeleportRobot.ProtoReflect.Descriptor instead.

func (*TeleportRobot) GetByForce

func (x *TeleportRobot) GetByForce() bool

func (*TeleportRobot) GetId

func (x *TeleportRobot) GetId() *RobotId

func (*TeleportRobot) GetOrientation

func (x *TeleportRobot) GetOrientation() float32

func (*TeleportRobot) GetPresent

func (x *TeleportRobot) GetPresent() bool

func (*TeleportRobot) GetVAngular

func (x *TeleportRobot) GetVAngular() float32

func (*TeleportRobot) GetVX

func (x *TeleportRobot) GetVX() float32

func (*TeleportRobot) GetVY

func (x *TeleportRobot) GetVY() float32

func (*TeleportRobot) GetX

func (x *TeleportRobot) GetX() float32

func (*TeleportRobot) GetY

func (x *TeleportRobot) GetY() float32

func (*TeleportRobot) ProtoMessage

func (*TeleportRobot) ProtoMessage()

func (*TeleportRobot) ProtoReflect

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

func (*TeleportRobot) Reset

func (x *TeleportRobot) Reset()

func (*TeleportRobot) String

func (x *TeleportRobot) 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