Package xbot.common.subsystems.drive
Class ConfigurablePurePursuitCommand
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
xbot.common.command.BaseCommand
xbot.common.subsystems.drive.PurePursuitCommand
xbot.common.subsystems.drive.ConfigurablePurePursuitCommand
- All Implemented Interfaces:
Sendable,IPropertySupport
- Direct Known Subclasses:
SimulatedPurePursuitCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class xbot.common.subsystems.drive.PurePursuitCommand
PurePursuitCommand.PointLoadingMode, PurePursuitCommand.RabbitChaseInfoNested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior -
Field Summary
Fields inherited from class xbot.common.subsystems.drive.PurePursuitCommand
chaseData, drive, headingModule, perpindicularRatioProp, pointIndex, poseSystem, positionalPid, rabbitLookAheadFields inherited from class xbot.common.command.BaseCommand
aKitLog, log, monitor, runningAlert -
Constructor Summary
ConstructorsConstructorDescriptionConfigurablePurePursuitCommand(HeadingModule.HeadingModuleFactory headingModuleFactory, BasePoseSubsystem pose, BaseDriveSubsystem drive, PropertyFactory propMan) -
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 xbot.common.subsystems.drive.PurePursuitCommand
end, evaluateCurrentPoint, evaluateCurrentPoint, execute, getMotionBudget, getPlannedPointsToVisit, initialize, isFinished, setDotProductDrivingEnabled, setPIDs, setPIDsToDefaultMethods inherited from class xbot.common.command.BaseCommand
getPrefix, includeOnSmartDashboard, includeOnSmartDashboard, requires, runsWhenDisabled, setRunsWhenDisabledMethods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout
-
Constructor Details
-
ConfigurablePurePursuitCommand
@Inject public ConfigurablePurePursuitCommand(HeadingModule.HeadingModuleFactory headingModuleFactory, BasePoseSubsystem pose, BaseDriveSubsystem drive, PropertyFactory propMan)
-
-
Method Details
-
addPoint
-
addPoint
-
setMode
-
setPoints
-
setPointSupplier
-
getOriginalPoints
- Specified by:
getOriginalPointsin classPurePursuitCommand
-
getPursuitMode
- Specified by:
getPursuitModein classPurePursuitCommand
-