Class SwerveDriveCommand
- java.lang.Object
-
- edu.wpi.first.wpilibj2.command.CommandBase
-
- com.lightningrobotics.common.command.drivetrain.swerve.SwerveDriveCommand
-
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
,edu.wpi.first.wpilibj2.command.Command
public class SwerveDriveCommand extends edu.wpi.first.wpilibj2.command.CommandBase
-
-
Constructor Summary
Constructors Constructor Description SwerveDriveCommand(SwerveDrivetrain drivetrain, LightningIMU imu, edu.wpi.first.wpilibj.XboxController controller)
SwerveDriveCommand(SwerveDrivetrain drivetrain, LightningIMU imu, edu.wpi.first.wpilibj.XboxController controller, boolean fieldCentric)
SwerveDriveCommand(SwerveDrivetrain drivetrain, LightningIMU imu, edu.wpi.first.wpilibj.XboxController controller, boolean fieldCentric, JoystickFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end(boolean interrupted)
void
execute()
-
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase
addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.wpi.first.wpilibj2.command.Command
alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, hasRequirement, initialize, isFinished, isScheduled, perpetually, raceWith, runsWhenDisabled, schedule, schedule, until, withInterrupt, withTimeout
-
-
-
-
Constructor Detail
-
SwerveDriveCommand
public SwerveDriveCommand(SwerveDrivetrain drivetrain, LightningIMU imu, edu.wpi.first.wpilibj.XboxController controller)
-
SwerveDriveCommand
public SwerveDriveCommand(SwerveDrivetrain drivetrain, LightningIMU imu, edu.wpi.first.wpilibj.XboxController controller, boolean fieldCentric)
-
SwerveDriveCommand
public SwerveDriveCommand(SwerveDrivetrain drivetrain, LightningIMU imu, edu.wpi.first.wpilibj.XboxController controller, boolean fieldCentric, JoystickFilter filter)
-
-