Package com.ctre.phoenix.motorcontrol
Class GroupMotorControllers
java.lang.Object
com.ctre.phoenix.motorcontrol.GroupMotorControllers
Group of motor controllers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IMotorController
get
(int idx) static int
getCount()
static void
Add motor controller to the group
-
Constructor Details
-
GroupMotorControllers
public GroupMotorControllers()
-
-
Method Details
-
register
Add motor controller to the group- Parameters:
mc
- motor controller to add
-
getCount
- Returns:
- number of motorcontrollers in group
-
get
- Parameters:
idx
- Index of motor controller to get- Returns:
- Motor controller at specified index
-