ManualPivotCommand

class ManualPivotCommand(voltage: DoubleSupplier) : Command

A command that allows manual control of the pivot motor.

Parameters

voltage

a supplier that returns the desired voltage of the pivot motor

Constructors

Link copied to clipboard
constructor(voltage: DoubleSupplier)

Functions

Link copied to clipboard
open override fun execute()

Set the voltage of the pivot motor to the desired voltage Runs every 20ms

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

This command is never finished on its own. It will be finished when the command is interrupted or canceled.