TeamCode / org.firstinspires.ftc.teamcode.utils / Factory

Factory

interface Factory<Hardware>

Interface representing a factory that creates a standard Hardware instance. Most hardware classes will have companion objects implementing this interface.

Parameters

Hardware - the hardware class created by this Factory

See Also

Factory.standard

Functions

standard

abstract fun standard(hardwareMap: HardwareMap): Hardware

Creates a standard instance of a hardware class pre-configured for the Titanium Knights Team A robot.

Inheritors

Companion

companion object Companion : Factory<ElevatorExtake>

Companion

companion object Companion : Factory<ElevatorIntake>

Companion

companion object Companion : Factory<IMUGyro>