Package frc.lib.sim
Class SimulatedPumbaa
java.lang.Object
frc.lib.sim.SimulatedPumbaa
Simulated Pumbaa
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidadvanceNote(double dt, SimulatedArena arena) Advance NotebooleangetPose()Get Shot PosebooleanhasNote()voidbooleandoublevoidsetElevatorWrist(double height, Rotation2d wristAngle) voidsetIndexer(double value) voidsetIntake(double value) voidvoidsetShooterSpeed(double speed) boolean
-
Field Details
-
id
public final int id
-
-
Method Details
-
notePosition
public double notePosition() -
setShooterSpeed
public void setShooterSpeed(double speed) -
setElevatorWrist
-
getPose
-
setPose
-
couldIntake
public boolean couldIntake() -
setIntake
public void setIntake(double value) -
setIndexer
public void setIndexer(double value) -
intakeOneNote
public void intakeOneNote() -
getShootFrom
Get Shot Pose- Returns:
- Pose shooting from
-
advanceNote
Advance Note- Parameters:
dt- Change in timearena- Simulated Arena
-
hasNote
public boolean hasNote() -
lowerBeamBreak
public boolean lowerBeamBreak() -
upperBeamBreak
public boolean upperBeamBreak()
-