SwoLib
1.0.0
jvm
SwoLib
/
cshcyberhawks.swolib.hardware.implementations
/
TalonFXDriveMotor
Talon
FXDrive
Motor
class
TalonFXDriveMotor
(
deviceId
:
Int
,
canBus
:
String
=
""
)
:
GenericDriveMotor
Members
Constructors
Talon
FXDrive
Motor
Link copied to clipboard
constructor
(
deviceId
:
Int
,
canBus
:
String
=
""
)
Functions
get
Velocity
Link copied to clipboard
open
override
fun
getVelocity
(
)
:
Double
set
Inverted
Link copied to clipboard
open
override
fun
setInverted
(
inverted
:
Boolean
)
set
Neutral
Mode
Link copied to clipboard
open
override
fun
setNeutralMode
(
inputMode
:
MotorNeutralMode
)
set
Percent
Output
Link copied to clipboard
open
override
fun
setPercentOutput
(
percent
:
Double
)