merge conflict and readme update
old code was uploaded in the initial upload changed everything with working programm and updated the readme
This commit is contained in:
+4
-13
@@ -19,8 +19,6 @@ class PosArray:
|
||||
def __getitem__(self, key): return self.data[key]
|
||||
def __iter__(self): return iter(self.data)
|
||||
def __repr__(self): return f"PosArray(\n{self.data}\n)"
|
||||
def copy(self):
|
||||
return PosArray(self.data.copy())
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -39,8 +37,6 @@ class DegArray:
|
||||
def __getitem__(self, key): return self.data[key]
|
||||
def __iter__(self): return iter(self.data)
|
||||
def __repr__(self): return f"PosArray(\n{self.data}\n)"
|
||||
def copy(self):
|
||||
return DegArray(self.data.copy())
|
||||
|
||||
@dataclass
|
||||
class RadArray:
|
||||
@@ -57,8 +53,7 @@ class RadArray:
|
||||
def __getitem__(self, key): return self.data[key]
|
||||
def __iter__(self): return iter(self.data)
|
||||
def __repr__(self): return f"PosArray(\n{self.data}\n)"
|
||||
def copy(self):
|
||||
return RadArray(self.data.copy())
|
||||
|
||||
|
||||
@dataclass
|
||||
class RobotCommand:
|
||||
@@ -68,10 +63,6 @@ class RobotCommand:
|
||||
|
||||
@dataclass
|
||||
class ControlIntent:
|
||||
move_x: float = 0.0
|
||||
move_y: float = 0.0
|
||||
turn: float = 0.0
|
||||
emote: str | None = None
|
||||
walk: bool = False
|
||||
quit: bool = False
|
||||
|
||||
move_vector: Vector2
|
||||
turn: float
|
||||
emote: str | None
|
||||
Reference in New Issue
Block a user