Package-level declarations

Types

Link copied to clipboard
class BlindPowerMotor(val motor: DcMotorEx, val power: Double, val subsystems: Set<Subsystem>) : Command

Sets a motor to a specific power without any internal feedback

Link copied to clipboard

An internal subsystem for the drivetrain used by commands that drive the robot.

Link copied to clipboard
class MotorHoldPosition(val motor: DcMotorEx, val controller: PIDFController, val subsystems: Set<Subsystem>) : Command

This command holds a motor's position until another command is scheduled that uses the same subsystem.

Link copied to clipboard
class MotorToPosition(val motor: DcMotorEx, val target: Double, val controller: PIDFController, val subsystems: Set<Subsystem>) : Command

This implements a PID controller to drive a motor to a specified target position.

Link copied to clipboard
class MotorToVelocity(val motor: DcMotorEx, val targetVelocity: Double, val controller: PIDFController, val subsystems: Set<Subsystem>, val outCondition: () -> Boolean = { abs(motor.velocity)-targetVelocity < 10 }) : Command

This implements a PID controller to drive a motor to a specified target velocity.

Link copied to clipboard
class MultipleMotorsHoldPosition(val motorsAndControllers: Map<DcMotorEx, PIDFController>, val subsystems: Set<Subsystem>) : Command

This command holds a multiple motor's positions until another command is scheduled that uses the same subsystem.

Link copied to clipboard
class MultipleMotorsToPosition(val motorsAndControllers: Map<DcMotorEx, PIDFController>, val target: Double, val subsystems: Set<Subsystem>) : Command

This implements a PID controller to drive multiple motors to a specified target position.

Link copied to clipboard
class MultipleServosToPosition @JvmOverloads constructor(val servos: List<Servo>, val target: Double, val subsystems: Set<Subsystem> = setOf()) : Command

This command moves multiple servos to a specified target position

Link copied to clipboard
class MultipleServosToSeperatePositions @JvmOverloads constructor(val servos: Map<Servo, Double>, val subsystems: Set<Subsystem> = setOf()) : Command

This command moves multiple servos each to a different target position

Link copied to clipboard
class ServoToPosition(val servo: Servo, val targetPosition: Double, val subsystems: Set<Subsystem>) : Command

This command moves a servo to a target position