SwoLib
1.0.0
jvm
SwoLib
/
cshcyberhawks.swolib.autonomous
/
Field
Field
class
Field
(
val
swerveAuto
:
SwerveAuto
,
var
elements
:
ArrayList
<
FieldElement
>
,
val
deadzone
:
Double
)
Members
Constructors
Field
Link copied to clipboard
constructor
(
swerveAuto
:
SwerveAuto
,
elements
:
ArrayList
<
FieldElement
>
,
deadzone
:
Double
)
Functions
add
Element
Link copied to clipboard
fun
addElement
(
element
:
FieldElement
)
contains
Link copied to clipboard
fun
contains
(
element
:
FieldElement
)
:
Boolean
get
Element
Link copied to clipboard
fun
getElement
(
name
:
String
)
:
FieldElement
get
Element
At
Pos
Link copied to clipboard
fun
getElementAtPos
(
pos
:
Vector2
)
:
List
<
FieldElement
>
go
To
Element
Command
Link copied to clipboard
fun
goToElementCommand
(
name
:
String
)
:
GoToFieldElements
go
To
Elements
Command
Link copied to clipboard
fun
goToElementsCommand
(
vararg
names
:
String
)
:
GoToFieldElements
remove
Element
Link copied to clipboard
fun
removeElement
(
name
:
String
)
:
FieldElement
Properties
deadzone
Link copied to clipboard
val
deadzone
:
Double
elements
Link copied to clipboard
var
elements
:
ArrayList
<
FieldElement
>
swerve
Auto
Link copied to clipboard
val
swerveAuto
:
SwerveAuto