Package com.thegongoliers.commands
Class FollowPathCommand
- java.lang.Object
-
- edu.wpi.first.wpilibj.command.Command
-
- com.thegongoliers.commands.drivetrain.FollowPathCommand
-
- All Implemented Interfaces:
edu.wpi.first.wpilibj.Sendable
,java.lang.AutoCloseable
public class FollowPathCommand extends edu.wpi.first.wpilibj.command.Command
-
-
Constructor Summary
Constructors Constructor Description FollowPathCommand(edu.wpi.first.wpilibj.command.Subsystem subsystem, ModularDrivetrain drivetrain, SimplePath path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
end()
protected void
execute()
protected void
initialize()
protected boolean
isFinished()
-
Methods inherited from class edu.wpi.first.wpilibj.command.Command
cancel, clearRequirements, close, doesRequire, getGroup, getName, getSubsystem, initSendable, interrupted, isCanceled, isCompleted, isInterruptible, isRunning, isTimedOut, requires, setInterruptible, setName, setRunWhenDisabled, setSubsystem, setTimeout, start, timeSinceInitialized, toString, willRunWhenDisabled
-
-
-
-
Constructor Detail
-
FollowPathCommand
public FollowPathCommand(edu.wpi.first.wpilibj.command.Subsystem subsystem, ModularDrivetrain drivetrain, SimplePath path)
-
-
Method Detail
-
initialize
protected void initialize()
- Overrides:
initialize
in classedu.wpi.first.wpilibj.command.Command
-
execute
protected void execute()
- Overrides:
execute
in classedu.wpi.first.wpilibj.command.Command
-
end
protected void end()
- Overrides:
end
in classedu.wpi.first.wpilibj.command.Command
-
isFinished
protected boolean isFinished()
- Specified by:
isFinished
in classedu.wpi.first.wpilibj.command.Command
-
-