Class WheelRadiusCharacterization

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.alotobots.library.subsystems.swervedrive.commands.WheelRadiusCharacterization
All Implemented Interfaces:
Sendable

public class WheelRadiusCharacterization extends Command
Command that measures the robot's wheel radius by spinning in a circle. This command will run until interrupted, then calculate and print the results.
  • Constructor Details

    • WheelRadiusCharacterization

      public WheelRadiusCharacterization(SwerveDriveSubsystem swerveDriveSubsystem)
      Creates a new WheelRadiusCharacterization command.
      Parameters:
      swerveDriveSubsystem - The subsystem to characterize
  • Method Details

    • initialize

      public void initialize()
      Overrides:
      initialize in class Command
    • execute

      public void execute()
      Overrides:
      execute in class Command
    • end

      public void end(boolean interrupted)
      Overrides:
      end in class Command
    • isFinished

      public boolean isFinished()
      Overrides:
      isFinished in class Command