Class Arena2025Reefscape

java.lang.Object
org.ironmaple.simulation.SimulatedArena
org.ironmaple.simulation.seasonspecific.reefscape2025.Arena2025Reefscape

public class Arena2025Reefscape extends SimulatedArena

The playing field for the 2025 FRC Game: Reefscape

This class represents the playing field for the 2025 FRC game, Reefscape.

It extends SimulatedArena and includes specific details of the Reefscape game environment.

  • Field Details

  • Constructor Details

    • Arena2025Reefscape

      public Arena2025Reefscape()
  • Method Details

    • placeGamePiecesOnField

      public void placeGamePiecesOnField()
      Description copied from class: SimulatedArena

      Places Game Pieces on the Field for Autonomous Mode.

      This method sets up the game pieces on the field, typically in their starting positions for autonomous mode.

      It should be implemented differently for each season-specific subclass of SimulatedArena to reflect the unique game piece placements for that season's game.

      Specified by:
      placeGamePiecesOnField in class SimulatedArena
    • getGamePiecesByType

      public List<Pose3d> getGamePiecesByType(String type)
      Description copied from class: SimulatedArena

      Obtains the 3D Poses of a Specific Type of Game Piece.

      This method is used to visualize the positions of game pieces

      Also, if you have a game-piece detection vision system (wow!), this is the how you can simulate it.

      Both GamePieceOnFieldSimulation and GamePieceProjectile of the specified type will be included.

      Overrides:
      getGamePiecesByType in class SimulatedArena
      Parameters:
      type - the type of game piece, as determined by the constructor of GamePieceOnFieldSimulation
      Returns:
      a List of Pose3d objects representing the 3D positions of the game pieces
    • clearGamePieces

      public void clearGamePieces()
      Description copied from class: SimulatedArena

      Removes All GamePieceOnFieldSimulation Objects from the Simulation.

      This method clears all game pieces from the physics world and the simulation's game piece collection.

      Overrides:
      clearGamePieces in class SimulatedArena