IntakeNoteCommand

class IntakeNoteCommand : Command

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun end(interrupted: Boolean)
Link copied to clipboard
open override fun execute()

Keep the roller motor spinning to pull the note in If the note trigger is not pressed, reset the timer, so the timer keeps track of how long the note has been in the launcher Runs every 20ms

Link copied to clipboard
open override fun initialize()

Start pulling the note into the robot by spinning the roller motor

Link copied to clipboard
open override fun isFinished(): Boolean