Package frc.robot.autonomous.paths.score
Class ScoreCenter
- java.lang.Object
-
- frc.robot.autonomous.paths.AutonomousPath
-
- frc.robot.autonomous.paths.score.ScoreCenter
-
public class ScoreCenter extends AutonomousPath
Start on the Center then scores then picks up
-
-
Field Summary
-
Fields inherited from class frc.robot.autonomous.paths.AutonomousPath
getBalls, score
-
-
Constructor Summary
Constructors Constructor Description ScoreCenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected edu.wpi.first.wpilibj2.command.SequentialCommandGroup
getCommand()
Get the command to runedu.wpi.first.wpilibj.geometry.Pose2d
getStartingPose()
Get the path's starting pose-
Methods inherited from class frc.robot.autonomous.paths.AutonomousPath
generate, shouldGetBalls, shouldScore
-
-
-
-
Method Detail
-
getStartingPose
public edu.wpi.first.wpilibj.geometry.Pose2d getStartingPose()
Description copied from class:AutonomousPath
Get the path's starting pose- Specified by:
getStartingPose
in classAutonomousPath
- Returns:
- Starting pose
-
getCommand
protected edu.wpi.first.wpilibj2.command.SequentialCommandGroup getCommand()
Description copied from class:AutonomousPath
Get the command to run- Specified by:
getCommand
in classAutonomousPath
- Returns:
- Command
-
-