resolve misc car TODOs

This commit is contained in:
Adeeb Shihadeh
2022-02-06 13:50:54 -08:00
parent 786152f0f1
commit 3c83975ef6
2 changed files with 1 additions and 4 deletions
+1 -3
View File
@@ -23,9 +23,7 @@ def _create_radar_can_parser(car_fingerprint):
['REL_SPEED'] * msg_n,
RADAR_MSGS_C * 2 + # LONG_DIST, LAT_DIST
RADAR_MSGS_D)) # REL_SPEED
# TODO what are the checks actually used for?
# honda only checks the last message,
# toyota checks all the messages. Which do we want?
checks = list(zip(RADAR_MSGS_C +
RADAR_MSGS_D,
[20] * msg_n + # 20Hz (0.05s)
-1
View File
@@ -20,7 +20,6 @@ class CarInterface(CarInterfaceBase):
cloudlog.debug("Using Mock Car Interface")
# TODO: subscribe to phone sensor
self.sensor = messaging.sub_sock('sensorEvents')
self.gps = messaging.sub_sock('gpsLocationExternal')