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
becomesGamePieceOnGroundAfterTouchGround, gamePieceRotation, gamePieceType, GRAVITY, info, initialHeight, initialLaunchingVelocityMPS, initialPosition, initialVerticalSpeedMPS, launchedTimer
-
Constructor Summary
ConstructorsConstructorDescriptionNoteOnFly
(Translation2d robotPosition, Translation2d shooterPositionOnRobot, ChassisSpeeds chassisSpeeds, Rotation2d shooterFacing, Distance initialHeight, LinearVelocity launchingSpeed, Angle shooterAngle) -
Method Summary
Modifier and TypeMethodDescriptionasAmpShotNote
(Runnable hitTargetCallBack) asSpeakerShotNote
(Runnable hitTargetCallBack) Methods inherited from class org.ironmaple.simulation.gamepieces.GamePieceProjectile
addGamePieceAfterTouchGround, cleanUp, disableBecomesGamePieceOnFieldAfterTouchGround, enableBecomesGamePieceOnFieldAfterTouchGround, getPose3d, getPositionAtTime, getVelocity3dMPS, 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, Distance initialHeight, LinearVelocity launchingSpeed, Angle shooterAngle)
-
-
Method Details
-
asSpeakerShotNote
-
asAmpShotNote
-
enableBecomeNoteOnFieldAfterTouchGround
-
disableBecomeNoteOnFieldAfterTouchGround
-