Package xbot.common.subsystems.drive
Class SimulatedPurePursuitCommand
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
xbot.common.command.BaseCommand
xbot.common.subsystems.drive.PurePursuitCommand
xbot.common.subsystems.drive.ConfigurablePurePursuitCommand
xbot.common.subsystems.drive.SimulatedPurePursuitCommand
- All Implemented Interfaces:
Sendable,IPropertySupport
-
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
ConstructorsConstructorDescriptionSimulatedPurePursuitCommand(HeadingModule.HeadingModuleFactory headingModuleFactory, BasePoseSubsystem pose, BaseDriveSubsystem drive, PropertyFactory propMan, WebotsClient webots) -
Method Summary
Methods inherited from class xbot.common.subsystems.drive.ConfigurablePurePursuitCommand
addPoint, addPoint, getOriginalPoints, getPursuitMode, setMode, setPoints, setPointSupplierMethods inherited from class xbot.common.subsystems.drive.PurePursuitCommand
evaluateCurrentPoint, evaluateCurrentPoint, 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
-
SimulatedPurePursuitCommand
@Inject public SimulatedPurePursuitCommand(HeadingModule.HeadingModuleFactory headingModuleFactory, BasePoseSubsystem pose, BaseDriveSubsystem drive, PropertyFactory propMan, WebotsClient webots)
-
-
Method Details
-
execute
public void execute()- Overrides:
executein classPurePursuitCommand
-
end
public void end(boolean interrupted) - Overrides:
endin classPurePursuitCommand
-