Class ReefscapeProcessorSimulation

java.lang.Object
org.ironmaple.simulation.Goal
org.ironmaple.simulation.seasonspecific.reefscape2025.ReefscapeProcessorSimulation
All Implemented Interfaces:
SimulatedArena.Simulatable

public class ReefscapeProcessorSimulation extends Goal

Simulates a PROCESSORs on the field.

This class simulates a PROCESSORs on the field where ALGAEs can be scored. It will automatically launch the algae scored into the apposing barge and always hit.

  • Field Details

    • blueProcessorPose

      protected static final Translation3d blueProcessorPose
    • redProcessorPose

      protected static final Translation3d redProcessorPose
    • blueProcessorLaunchPose

      protected static final Translation3d blueProcessorLaunchPose
    • redProcessorLaunchPose

      protected static final Translation3d redProcessorLaunchPose
  • Constructor Details

    • ReefscapeProcessorSimulation

      public ReefscapeProcessorSimulation(Arena2025Reefscape arena, boolean isBlue)

      Creates an processor of the specified color.

      Parameters:
      arena - The host arena of this processor.
      isBlue - Wether this is the blue processor or the red one.
  • Method Details

    • addPoints

      protected void addPoints()
      Description copied from class: Goal

      Adds Points When a Piece Has Been Successfully Scored in This Goal

      Since this function is the only trigger called when a piece is scored it may handle other small things outside of adding points.

      Specified by:
      addPoints in class Goal
    • draw

      public void draw(List<Pose3d> drawList)
      Description copied from class: Goal

      Displays Game Pieces to AdvantageScope if Applicable

      Specified by:
      draw in class Goal
      Parameters:
      drawList - a list of Pose3d objects used to visualize the positions of the game pieces on AdvantageScope