MultipleMotorsHoldPosition
class MultipleMotorsHoldPosition(val motorsAndControllers: Map<DcMotorEx, PIDFController>, val subsystems: Set<Subsystem>) : Command
Deprecated
Removed in favor of controllables
Replace with
RunToPosition
Content copied to clipboard
This command holds a multiple motor's positions until another command is scheduled that uses the same subsystem.
Parameters
motorsAndControllers
a map of all motors and their corresponding controllers
subsystems
the list of subsystems this command interacts with (should be whatever subsystem holds this command)