Class ConfigurablePurePursuitCommand
java.lang.Object
org.wpilib.command2.Command
xbot.common.command.BaseCommand
xbot.common.subsystems.drive.PurePursuitCommand
xbot.common.subsystems.drive.ConfigurablePurePursuitCommand
- All Implemented Interfaces:
AutoCloseable, org.wpilib.telemetry.TelemetryLoggable, org.wpilib.tunable.ComplexTunable, TunablePrefixProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class PurePursuitCommand
PurePursuitCommand.PointLoadingMode, PurePursuitCommand.RabbitChaseInfoNested classes/interfaces inherited from class org.wpilib.command2.Command
org.wpilib.command2.Command.InterruptionBehavior -
Field Summary
Fields inherited from class PurePursuitCommand
chaseData, drive, headingModule, perpindicularRatioTunable, pointIndex, poseSystem, positionalPid, rabbitLookAheadFields inherited from class BaseCommand
aKitLog, log, monitor, runningAlert -
Constructor Summary
ConstructorsConstructorDescriptionConfigurablePurePursuitCommand(HeadingModule.HeadingModuleFactory headingModuleFactory, BasePoseSubsystem pose, BaseDriveSubsystem drive, TunableFactory tunableFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPoint(RabbitPoint point) protected List<RabbitPoint> protected PurePursuitCommand.PointLoadingModevoidvoidsetPoints(List<RabbitPoint> points) voidsetPointSupplier(Supplier<List<RabbitPoint>> externalPointSource) Methods inherited from class PurePursuitCommand
end, evaluateCurrentPoint, evaluateCurrentPoint, execute, getMotionBudget, getPlannedPointsToVisit, initialize, isFinished, setDotProductDrivingEnabled, setPIDs, setPIDsToDefaultMethods inherited from class BaseCommand
close, getPrefix, publishToTunables, publishToTunables, runsWhenDisabled, setRunsWhenDisabledMethods inherited from class org.wpilib.command2.Command
addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getTelemetryType, getTunableType, handleInterrupt, hasRequirement, ignoringDisable, isScheduled, logTo, onlyIf, onlyWhile, publishTunable, raceWith, repeatedly, setName, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeoutMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wpilib.tunable.ComplexTunable
publishChildTunable, publishChildTunable, removeChildTunable, setChildTunableChanged, updateTunable
-
Constructor Details
-
ConfigurablePurePursuitCommand
@Inject public ConfigurablePurePursuitCommand(HeadingModule.HeadingModuleFactory headingModuleFactory, BasePoseSubsystem pose, BaseDriveSubsystem drive, TunableFactory tunableFactory)
-
-
Method Details
-
addPoint
-
addPoint
-
setMode
-
setPoints
-
setPointSupplier
-
getOriginalPoints
- Specified by:
getOriginalPointsin classPurePursuitCommand
-
getPursuitMode
- Specified by:
getPursuitModein classPurePursuitCommand
-