KMecanumDrive

open class KMecanumDrive(    fl: KMotor,     bl: KMotor,     br: KMotor,     fr: KMotor) : KSubsystem

Constructors

Link copied to clipboard
fun KMecanumDrive(    fl: KMotor,     bl: KMotor,     br: KMotor,     fr: KMotor)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val motors: List<KMotor>
Link copied to clipboard
var powers: Pose

Inherited properties

Link copied to clipboard
var defaultCommand: Cmd? = null

Set the default command of a subsystem. Default commands run when no other command requires the specified subsystem Must only require this and only this subsystem

Link copied to clipboard
val name: String

Functions

Link copied to clipboard
open override fun periodic()

Called periodicly by KScheduler. Contrasts with defaultCommand

Inherited functions

Link copied to clipboard
fun register()

Registers the subsystem with KScheduler Shorthand for KScheduler.registerSubsystem

Link copied to clipboard
fun unregister()

Unregisters the subsystem with KScheduler Shorthand for KScheduler.unregisterSubsystem

Inheritors

Link copied to clipboard