SwerveDriveTrain

class SwerveDriveTrain(val swerveConfiguration: FourWheelSwerveConfiguration, gyro: GenericGyro) : SubsystemBase

The class to control the entire swerve drive train. This can be thought of as the "conductor" for the individual modules.

Parameters

swerveConfiguration

The configuration for the swerve drive train

gyro

The gyro object

Constructors

Link copied to clipboard
constructor(swerveConfiguration: FourWheelSwerveConfiguration, gyro: GenericGyro)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun addChild(p0: String, p1: Sendable)
Link copied to clipboard
fun debug()
Link copied to clipboard
fun drive(input: Vector2, inputTwist: Double, disableFieldOrientation: Boolean = false)

The function to control/coordinate the individual modules to DRIVE in A DIRECTION!!! HOW COOL?

Link copied to clipboard
open fun getCurrentCommand(): Command
Link copied to clipboard
open fun getDefaultCommand(): Command
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
open fun getSubsystem(): String
Link copied to clipboard
open override fun initSendable(p0: SendableBuilder)
Link copied to clipboard
open fun periodic()
Link copied to clipboard
open fun register()
Link copied to clipboard
open fun run(p0: Runnable): CommandBase
Link copied to clipboard
open fun runEnd(p0: Runnable, p1: Runnable): CommandBase
Link copied to clipboard
open fun runOnce(p0: Runnable): CommandBase
Link copied to clipboard
open fun setDefaultCommand(p0: Command)
Link copied to clipboard
open fun setName(p0: String)
Link copied to clipboard
open fun setSubsystem(p0: String)
Link copied to clipboard
Link copied to clipboard
open fun startEnd(p0: Runnable, p1: Runnable): CommandBase

Properties