HomePivotCommand

class HomePivotCommand : Command

A command that homes the pivot subsystem by moving the pivot motor until the homing sensor is triggered.

Constructors

Link copied to clipboard
constructor()

Functions

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

Stop the pivot motor when the command is interrupted or canceled Zero the encoder

Link copied to clipboard
open override fun initialize()

Set the pivot to move up at a constant speed

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

Finish the command when the homing sensor is triggered