SemSorter commited on
Commit
c4b4cc0
·
1 Parent(s): 83eb1ec

Fix controller render_frame defaults to match 960x540 framebuffer to prevent buffer overflow

Browse files
Files changed (1) hide show
  1. SemSorter/simulation/controller.py +1 -1
SemSorter/simulation/controller.py CHANGED
@@ -1106,7 +1106,7 @@ class SemSorterSimulation:
1106
 
1107
  # ─── Rendering ───────────────────────────────────────────────────────
1108
 
1109
- def render_frame(self, width: int = 1280, height: int = 720,
1110
  camera: str = "overview") -> np.ndarray:
1111
  """Render a frame from the specified camera. Returns RGB array."""
1112
  if self.renderer is None:
 
1106
 
1107
  # ─── Rendering ───────────────────────────────────────────────────────
1108
 
1109
+ def render_frame(self, width: int = 960, height: int = 540,
1110
  camera: str = "overview") -> np.ndarray:
1111
  """Render a frame from the specified camera. Returns RGB array."""
1112
  if self.renderer is None: