SwoLib
1.0.0
jvm
SwoLib
/
cshcyberhawks.swolib.hardware.implementations
/
SparkMaxTurnMotor
Spark
Max
Turn
Motor
class
SparkMaxTurnMotor
(
deviceId
:
Int
,
val
encoderPort
:
Int
,
offset
:
Double
,
canBus
:
String
=
""
)
:
GenericTurnMotor
Members
Constructors
Spark
Max
Turn
Motor
Link copied to clipboard
constructor
(
deviceId
:
Int
,
encoderPort
:
Int
,
offset
:
Double
,
canBus
:
String
=
""
)
Functions
get
Link copied to clipboard
open
override
fun
get
(
)
:
Double
get
Raw
Link copied to clipboard
open
override
fun
getRaw
(
)
:
Double
set
Percent
Output
Link copied to clipboard
open
override
fun
setPercentOutput
(
percent
:
Double
)
Properties
encoder
Port
Link copied to clipboard
open
override
val
encoderPort
:
Int