From 106cddb49a3c60449a0413ff28dbbe50479c43bf Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Sun, 31 May 2020 13:33:56 -0700 Subject: [PATCH] White panda no longer supported --- RELEASES.md | 4 ++++ selfdrive/car/car_helpers.py | 2 -- selfdrive/common/version.h | 2 +- selfdrive/controls/controlsd.py | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 4f502fd4f..e3da108f3 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,7 @@ +Version 0.8 (2020-xx-xx) +======================== + * White panda is no longer supported, upgrade to comma two or black panda + Version 0.7.6 (2020-06-05) ======================== * White panda is deprecated, upgrade to comma two or black panda diff --git a/selfdrive/car/car_helpers.py b/selfdrive/car/car_helpers.py index 23cbd1abf..573bd6f96 100644 --- a/selfdrive/car/car_helpers.py +++ b/selfdrive/car/car_helpers.py @@ -22,8 +22,6 @@ def get_startup_event(car_recognized, controller_available, hw_type): event = EventName.startupNoCar elif car_recognized and not controller_available: event = EventName.startupNoControl - elif hw_type == HwType.whitePanda: - event = EventName.startupWhitePanda return event diff --git a/selfdrive/common/version.h b/selfdrive/common/version.h index 678734448..f9b22edef 100644 --- a/selfdrive/common/version.h +++ b/selfdrive/common/version.h @@ -1 +1 @@ -#define COMMA_VERSION "0.8.0" +#define COMMA_VERSION "0.8" diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 55cfe1bf1..46a657f3f 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -139,8 +139,8 @@ class Controls: self.events.add(EventName.communityFeatureDisallowed, static=True) if self.read_only and not passive: self.events.add(EventName.carUnrecognized, static=True) - # if hw_type == HwType.whitePanda: - # self.events.add(EventName.whitePandaUnsupported, static=True) + if hw_type == HwType.whitePanda: + self.events.add(EventName.whitePandaUnsupported, static=True) # controlsd is driven by can recv, expected at 100Hz self.rk = Ratekeeper(100, print_delay_threshold=None)