Carousel

class Carousel(hardwareMap: HardwareMap) : AbstractSubsystem

Subsystem to manage the carousel spinner mechanism.

Parameters

Constructors

Link copied to clipboard
fun Carousel(hardwareMap: HardwareMap)

Initialize the motor and set its direction.

Types

Link copied to clipboard
object Carousel

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

The power of the carousel motor.

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.