Class SwerveDriveTemplate
- java.lang.Object
-
- org.wildstang.framework.subsystems.swerve.SwerveDriveTemplate
-
- All Implemented Interfaces:
InputListener,Subsystem
public abstract class SwerveDriveTemplate extends java.lang.Object implements Subsystem
-
-
Constructor Summary
Constructors Constructor Description SwerveDriveTemplate()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidresetDriveEncoders()abstract edu.wpi.first.math.geometry.Pose2dreturnPose(double returnVelocity)abstract voidsetAutoHeading(double headingTarget)abstract voidsetAutoValues(double velocity, double heading, double xOffset, double yOffset)abstract voidsetGyro(double degrees)abstract voidsetToAuto()abstract voidsetToTeleop()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildstang.framework.io.InputListener
inputUpdate
-
-
-
-
Method Detail
-
setAutoValues
public abstract void setAutoValues(double velocity, double heading, double xOffset, double yOffset)
-
resetDriveEncoders
public abstract void resetDriveEncoders()
-
setAutoHeading
public abstract void setAutoHeading(double headingTarget)
-
setGyro
public abstract void setGyro(double degrees)
-
setToAuto
public abstract void setToAuto()
-
setToTeleop
public abstract void setToTeleop()
-
returnPose
public abstract edu.wpi.first.math.geometry.Pose2d returnPose(double returnVelocity)
-
-