From 3dbfa6641cce8d86dcfbf3ba6c3c40546a413241 Mon Sep 17 00:00:00 2001
From: annika <annika.oesterdiekhoff@uni-bielefeld.de>
Date: Thu, 15 Feb 2024 11:49:52 +0100
Subject: [PATCH] remove old fixme + todo

---
 overcooked_simulator/gui_2d_vis/overcooked_gui.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/overcooked_simulator/gui_2d_vis/overcooked_gui.py b/overcooked_simulator/gui_2d_vis/overcooked_gui.py
index 29aded72..ecf7a54a 100644
--- a/overcooked_simulator/gui_2d_vis/overcooked_gui.py
+++ b/overcooked_simulator/gui_2d_vis/overcooked_gui.py
@@ -69,7 +69,6 @@ class PlayerKeySet:
             pickup_key: The key to pick items up or put them down.
             switch_key: The key for switching through controllable players.
             players: The player indices which this keyset can control.
-            # FIXME: not needed when player name is an index
             joystick: number of joystick (later check if available)
         """
         self.move_vectors: list[list[int]] = [[-1, 0], [1, 0], [0, -1], [0, 1]]
@@ -203,11 +202,9 @@ class PyGameGUI:
         self.game_height -= residual_y
 
     def setup_player_keys(self, n=1, disjunct=False):
-        # TODO maybe read the player names and keyboard keys from config file?
         # First four keys are for movement. Order: Down, Up, Left, Right.
         # 5th key is for interacting with counters.
         # 6th key ist for picking up things or dropping them.
-        # FIXME: add buttons of joystick here
         if n:
             players = list(range(self.number_humans_to_be_added))
             key_set1 = PlayerKeySet(
@@ -281,7 +278,6 @@ class PyGameGUI:
                 # Usually axis run in pairs, up/down for one, and left/right for the other. Triggers count as axes.
                 # You may want to take into account some tolerance to handle jitter, and
                 # joystick drift may keep the joystick from centering at 0 or using the full range of position values.
-                # FIXME: hardcoded threshold for tolerance
                 tolerance_threshold = 0.2
                 # axis 0 = joy stick left --> left & right
                 axis_left_right = joysticks[key_set.joystick].get_axis(0)
-- 
GitLab