KMecanumOdoDrive

open class KMecanumOdoDrive(    fl: KMotor,     bl: KMotor,     br: KMotor,     fr: KMotor,     odometry: Odometry,     shouldTelemetryOdo: Boolean) : KMecanumDrive

Constructors

Link copied to clipboard
fun KMecanumOdoDrive(    fl: KMotor,     bl: KMotor,     br: KMotor,     fr: KMotor,     odometry: Odometry,     shouldTelemetryOdo: Boolean)

Properties

Link copied to clipboard
val pose: Pose
Link copied to clipboard
val vel: 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 motors: List<KMotor>
Link copied to clipboard
val name: String
Link copied to clipboard
var powers: Pose

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