dragonpilot 2023-03-29T09:55:29 for EON/C2

version: dragonpilot v0.9.2 beta for EON/C2
date: 2023-03-29T09:55:29
dp-dev(priv2) master commit: 7a10a5f475f257bfcaf0f300d0441aef80be52d8
This commit is contained in:
Dragonpilot Team
2023-03-29 09:53:55 +00:00
parent ea800c8f74
commit eeb43a5107
132 changed files with 6269 additions and 3943 deletions
+5
View File
@@ -201,6 +201,7 @@ class Panda:
# first byte is for EPS scaling factor
FLAG_TOYOTA_ALT_BRAKE = (1 << 8)
FLAG_TOYOTA_STOCK_LONGITUDINAL = (2 << 8)
FLAG_TOYOTA_LTA = (4 << 8)
FLAG_HONDA_ALT_BRAKE = 1
FLAG_HONDA_BOSCH_LONG = 2
@@ -404,6 +405,10 @@ class Panda:
if not enter_bootloader and reconnect:
self.reconnect()
@property
def connected(self) -> bool:
return self._handle_open
def reconnect(self):
if self._handle_open:
self.close()