mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 04:52:09 +08:00
White panda no longer supported
old-commit-hash: 106cddb49a3c60449a0413ff28dbbe50479c43bf
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define COMMA_VERSION "0.8.0"
|
||||
#define COMMA_VERSION "0.8"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user