toggle menu
Cuttlefish Documentation
androidJvm
switch theme
search in API
CuttlefishFTCBridge
/
com.roboctopi.cuttlefishftcbridge.tasks
/
MotorPositionTask
Motor
Position
Task
class
MotorPositionTask
(
val
position
:
Double
,
val
motor
:
CuttleMotor
,
val
wait
:
Boolean
=
false
,
val
epsilon
:
Float
=
0.05f
)
:
Task
Members
Constructors
Motor
Position
Task
Link copied to clipboard
constructor
(
position
:
Double
,
motor
:
CuttleMotor
,
wait
:
Boolean
=
false
,
epsilon
:
Float
=
0.05f
)
Properties
epsilon
Link copied to clipboard
val
epsilon
:
Float
=
0.05f
motor
Link copied to clipboard
val
motor
:
CuttleMotor
position
Link copied to clipboard
val
position
:
Double
wait
Link copied to clipboard
val
wait
:
Boolean
=
false
Functions
kill
Link copied to clipboard
open
fun
kill
(
)
loop
Link copied to clipboard
open
override
fun
loop
(
)
:
Boolean
on
Begin
Link copied to clipboard
open
fun
onBegin
(
)
:
Boolean