Class RebuiltFuelOnFly
java.lang.Object
org.ironmaple.simulation.gamepieces.GamePieceProjectile
org.ironmaple.simulation.seasonspecific.rebuilt2026.RebuiltFuelOnFly
- All Implemented Interfaces:
GamePiece
Represents an FUEL launched into the air.
This class models a RebuiltFuelOnField launched into the air.
The simulation will determine if the FUEL hits its target—the HUB.
The user can specify a callback using #setHitNetCallBack(Runnable), which will be triggered when the FUEL
hits the HUB.
-
Field Summary
Fields inherited from class org.ironmaple.simulation.gamepieces.GamePieceProjectile
becomesGamePieceOnGroundAfterTouchGround, gamePieceRotation, gamePieceType, GRAVITY, info, initialHeight, initialLaunchingVelocityMPS, initialPosition, initialVerticalSpeedMPS, launchedTimer -
Constructor Summary
ConstructorsConstructorDescriptionRebuiltFuelOnFly(Translation2d robotPosition, Translation2d shooterPositionOnRobot, ChassisSpeeds chassisSpeeds, Rotation2d shooterFacing, Distance initialHeight, LinearVelocity launchingSpeed, Angle shooterAngle) -
Method Summary
Methods inherited from class org.ironmaple.simulation.gamepieces.GamePieceProjectile
addGamePieceAfterTouchGround, cleanUp, disableBecomesGamePieceOnFieldAfterTouchGround, enableBecomesGamePieceOnFieldAfterTouchGround, getPose3d, getPositionAtTime, getType, getVelocity3dMPS, hasGoneOutOfField, hasHitGround, hasHitTarget, isGrounded, launch, setHitTargetCallBack, triggerHitTargeCallBack, updateGamePieceProjectiles, willHitTarget, withHitTargetCallBack, withProjectileTrajectoryDisplayCallBack, withProjectileTrajectoryDisplayCallBack, withTargetPosition, withTargetTolerance, withTouchGroundHeight
-
Constructor Details
-
RebuiltFuelOnFly
public RebuiltFuelOnFly(Translation2d robotPosition, Translation2d shooterPositionOnRobot, ChassisSpeeds chassisSpeeds, Rotation2d shooterFacing, Distance initialHeight, LinearVelocity launchingSpeed, Angle shooterAngle)
-