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.RabbitChaseInfo
Nested 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, rabbitLookAhead
Fields inherited from class xbot.common.command.BaseCommand
aKitLog, log, monitor
-
Constructor Summary
ConstructorDescriptionConfigurablePurePursuitCommand
(HeadingModule.HeadingModuleFactory headingModuleFactory, BasePoseSubsystem pose, BaseDriveSubsystem drive, PropertyFactory propMan) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPoint
(RabbitPoint point) protected List<RabbitPoint>
protected PurePursuitCommand.PointLoadingMode
void
void
setPoints
(List<RabbitPoint> points) void
setPointSupplier
(Supplier<List<RabbitPoint>> externalPointSource) Methods inherited from class xbot.common.subsystems.drive.PurePursuitCommand
end, evaluateCurrentPoint, evaluateCurrentPoint, execute, getMotionBudget, getPlannedPointsToVisit, initialize, isFinished, setDotProductDrivingEnabled, setPIDs, setPIDsToDefault
Methods inherited from class xbot.common.command.BaseCommand
getPrefix, includeOnSmartDashboard, includeOnSmartDashboard, requires, runsWhenDisabled, setRunsWhenDisabled
Methods 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:
getOriginalPoints
in classPurePursuitCommand
-
getPursuitMode
- Specified by:
getPursuitMode
in classPurePursuitCommand
-