visualizer

2D visualization of ARC’s rocket league environment.

License:

BSD 3-Clause License Copyright (c) 2023, Autonomous Robotics Club of Purdue (Purdue ARC) All rights reserved.

Submodules

Package Contents

Classes

Window

Interfaces PyGame for rendering.

class visualizer.Window(map_width, map_length, wall_thickness, name='Rocket League Visualizer')

Bases: object

Interfaces PyGame for rendering.

BACKGROUND_COLOR = (0, 0, 0)
GOAL_COLOR = (0, 200, 0)
WALL_COLOR = (0, 0, 0)
createAsset(id, width, length, initPos=None, imgPath=None, color=None, radius=None, lines=False, circle=False)
updateAssetPos(id, x, y)
updateAssetRadius(id, radius)
updateAssetAngle(id, angle)
resetAssetLines(id)
show()