Intake

class Intake(hardwareMap: HardwareMap) : AbstractSubsystem

Subsystem to manage the intake mechanism.

Parameters

Constructors

Link copied to clipboard
fun Intake(hardwareMap: HardwareMap)

Initialize the motor and set its direction.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun cleanup()

Runs once at the end.

Link copied to clipboard
open fun loop()

Runs on each loop.

Link copied to clipboard
open fun preLoop()

Runs once before the loop starts.

Properties

Link copied to clipboard
var power: Double

Power of the intake motor. Positive values push stuff out, negative values pull stuff in.

Link copied to clipboard
open override val subsystems: SubsystemMap

Storage for added subsystems.

Link copied to clipboard
open override val tag: String

Tag for logging purposes.