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 void
resetDriveEncoders()
abstract edu.wpi.first.math.geometry.Pose2d
returnPose(double returnVelocity)
abstract void
setAutoHeading(double headingTarget)
abstract void
setAutoValues(double velocity, double heading, double xOffset, double yOffset)
abstract void
setGyro(double degrees)
abstract void
setToAuto()
abstract void
setToTeleop()
-
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)
-
-