Class NoteOnFly
java.lang.Object
org.ironmaple.simulation.gamepieces.GamePieceProjectile
org.ironmaple.simulation.seasonspecific.crescendo2024.NoteOnFly
-
Field Summary
Fields inherited from class org.ironmaple.simulation.gamepieces.GamePieceProjectile
gamePieceType
-
Constructor Summary
ConstructorDescriptionNoteOnFly
(Translation2d robotPosition, Translation2d shooterPositionOnRobot, ChassisSpeeds chassisSpeeds, Rotation2d shooterFacing, double initialHeight, double launchingSpeedMPS, double shooterAngleRad) -
Method Summary
Modifier and TypeMethodDescriptionasAmpShotNote
(Runnable hitTargetCallBack) asSpeakerShotNote
(Runnable hitTargetCallBack) Methods inherited from class org.ironmaple.simulation.gamepieces.GamePieceProjectile
addGamePieceAfterTouchGround, cleanUp, disableBecomesGamePieceOnFieldAfterTouchGround, enableBecomesGamePieceOnFieldAfterTouchGround, getPose3d, hasGoneOutOfField, hasHitGround, hasHitTarget, launch, updateGamePieceProjectiles, willHitTarget, withHitTargetCallBack, withProjectileTrajectoryDisplayCallBack, withProjectileTrajectoryDisplayCallBack, withTargetPosition, withTargetTolerance, withTouchGroundHeight
-
Constructor Details
-
NoteOnFly
public NoteOnFly(Translation2d robotPosition, Translation2d shooterPositionOnRobot, ChassisSpeeds chassisSpeeds, Rotation2d shooterFacing, double initialHeight, double launchingSpeedMPS, double shooterAngleRad)
-
-
Method Details
-
asSpeakerShotNote
-
asAmpShotNote
-
enableBecomeNoteOnFieldAfterTouchGround
-
disableBecomeNoteOnFieldAfterTouchGround
-