stp.formations.x_formation

Module Contents

Classes

XFormation

class stp.formations.x_formation.XFormation(world_state: stp.rc.WorldState)

Bases: stp.formations.Formations

property get_regions(self) List
Hard Coded Region Bounds
  • starting with the top left region being the first element, top right, center, bottom left, and then bottom right in order

  • bounds are x min, x max, y min, y max

property get_centroids(self) List

Convenience function for getting center of each region in get_regions() :return: list of region centroids for XFormation