Class BaseSimpleSetpointSubsystem
java.lang.Object
org.wpilib.command2.SubsystemBase
xbot.common.command.BaseSubsystem
xbot.common.command.BaseSetpointSubsystem<Double,Double>
xbot.common.command.BaseSimpleSetpointSubsystem
- All Implemented Interfaces:
org.wpilib.command2.Subsystem, org.wpilib.telemetry.TelemetryLoggable, SupportsSetpointLock, TunablePrefixProvider
- Direct Known Subclasses:
SwerveDriveSubsystem, SwerveSteeringSubsystem
A base class for setpoint subsystems that use simple Double values for both current and target values.
-
Field Summary
Fields inherited from class BaseSetpointSubsystem
atGoal, lastTargetValueUsedforAtGoalFields inherited from class BaseSubsystem
aKitLog, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanareTwoTargetsEquivalent(Double target1, Double target2) Methods inherited from class BaseSetpointSubsystem
areTwoDoublesEquivalent, areTwoDoublesEquivalent, createSetTargetCommand, createSetTargetCommand, getCurrentValue, getSetpointLock, getTargetValue, isCalibrated, isMaintainerAtGoal, setMaintainerIsAtGoal, setPower, setTargetValueMethods inherited from class BaseSubsystem
getPrefix, periodicMethods inherited from class org.wpilib.command2.SubsystemBase
getName, getTelemetryType, logTo, setNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wpilib.command2.Subsystem
defer, getCurrentCommand, getDefaultCommand, idle, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
BaseSimpleSetpointSubsystem
public BaseSimpleSetpointSubsystem()
-
-
Method Details
-
areTwoTargetsEquivalent
- Specified by:
areTwoTargetsEquivalentin classBaseSetpointSubsystem<Double,Double>
-