TeamCode
TeamCode
/
org.firstinspires.ftc.teamcode.robot
/
HardwareNames
/
Servos
Servos
enum
Servos
:
Enum
<
HardwareNames.Servos
>
Content copied to clipboard
Contains hardware info for servos.
Entries
Functions
Properties
Entries
CAP_ELBOW
Link copied to clipboard
CAP_ELBOW
(
"capElbow"
,
false
)
Content copied to clipboard
CAP_SHOULDER
Link copied to clipboard
CAP_SHOULDER
(
"capShoulder"
,
false
)
Content copied to clipboard
BUCKET
Link copied to clipboard
BUCKET
(
"bucket"
,
false
)
Content copied to clipboard
Functions
get
Link copied to clipboard
fun
get
(
hardwareMap
:
HardwareMap
)
:
Servo
Content copied to clipboard
Properties
id
Link copied to clipboard
val
id
:
String
Content copied to clipboard
Hardware ID defined in the config.
name
Link copied to clipboard
val
name
:
String
Content copied to clipboard
ordinal
Link copied to clipboard
val
ordinal
:
Int
Content copied to clipboard
reversed
Link copied to clipboard
val
reversed
:
Boolean
Content copied to clipboard