Class SimulatedArena.FieldMap

java.lang.Object
org.ironmaple.simulation.SimulatedArena.FieldMap
Direct Known Subclasses:
Arena2024Crescendo.CrescendoFieldObstaclesMap
Enclosing class:
SimulatedArena

public abstract static class SimulatedArena.FieldMap extends Object

Represents an Abstract Field Map

Stores the layout of obstacles and game pieces.

For each season-specific subclass of SimulatedArena, there should be a corresponding subclass of this class to store the field map for that specific season's game.

  • Constructor Details

    • FieldMap

      public FieldMap()
  • Method Details

    • addBorderLine

      protected void addBorderLine(Translation2d startingPoint, Translation2d endingPoint)
    • addRectangularObstacle

      protected void addRectangularObstacle(double width, double height, Pose2d absolutePositionOnField)
    • addCustomObstacle

      protected void addCustomObstacle(org.dyn4j.geometry.Convex shape, Pose2d absolutePositionOnField)