Skip to content

Commit

Permalink
clean up old file
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Aug 9, 2024
1 parent a06264a commit e21593e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 75 deletions.
32 changes: 0 additions & 32 deletions selfdrive/car/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,35 +122,3 @@ class Ecu(StrEnum):
programmedFuelInjection = auto()

debug = auto()


@auto_dataclass
class CarControl:
enabled: bool = auto_field()
pts: list[int] = auto_field()
logMonoTime: int = auto_field()
test: None = auto_field()


# testing: if origin_typ in (int, float, str, bytes, list, tuple, set, dict, bool):
@auto_dataclass
class Test997:
a: int = auto_field()
b: float = auto_field()
c: str = auto_field()
d: bytes = auto_field()
e: list[int] = auto_field()
f: tuple[int] = auto_field()
g: set[int] = auto_field()
h: dict[str, int] = auto_field()
i: bool = auto_field()
ecu: CarParams.Ecu = auto_field()
carFw: CarParams.CarFw = auto_field()

# Out[4]: Test997(a=0, b=0.0, c='', d=b'', e=[], f=(), g=set(), h={}, i=False)

CarControl()

CP = CarParams()
CP.carFw = [CarParams.CarFw()]
# CP.carFw = [CarParams.Ecu.eps]
43 changes: 0 additions & 43 deletions selfdrive/car/data_test_kinda_works_chatgpt.py

This file was deleted.

0 comments on commit e21593e

Please sign in to comment.