mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 17:43:54 +08:00
openpilot v0.4.7.1 release
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Version 0.4.7.1 (2018-06-18)
|
||||
==========================
|
||||
* Fix Acura ILX steer faults
|
||||
* Fix bug in mock car
|
||||
|
||||
Version 0.4.7 (2018-06-15)
|
||||
==========================
|
||||
* New model!
|
||||
|
||||
@@ -8,7 +8,7 @@ from selfdrive.config import Conversions as CV
|
||||
from selfdrive.controls.lib.drive_helpers import create_event, EventTypes as ET, get_events
|
||||
from selfdrive.controls.lib.vehicle_model import VehicleModel
|
||||
from selfdrive.car.honda.carstate import CarState, get_can_parser
|
||||
from selfdrive.car.honda.values import CruiseButtons, CM, BP, AH, CAR
|
||||
from selfdrive.car.honda.values import CruiseButtons, CM, BP, AH, CAR, HONDA_BOSCH
|
||||
from selfdrive.controls.lib.planner import A_ACC_MAX
|
||||
|
||||
try:
|
||||
@@ -143,7 +143,7 @@ class CarInterface(object):
|
||||
ret.carName = "honda"
|
||||
ret.carFingerprint = candidate
|
||||
|
||||
if 0x1ef in fingerprint:
|
||||
if candidate in HONDA_BOSCH:
|
||||
ret.safetyModel = car.CarParams.SafetyModels.hondaBosch
|
||||
ret.enableCamera = True
|
||||
ret.radarOffCan = True
|
||||
|
||||
@@ -106,3 +106,5 @@ DBC = {
|
||||
CAR.PILOT: dbc_dict('honda_pilot_touring_2017_can_generated', 'acura_ilx_2016_nidec'),
|
||||
CAR.RIDGELINE: dbc_dict('honda_ridgeline_black_edition_2017_can_generated', 'acura_ilx_2016_nidec'),
|
||||
}
|
||||
|
||||
HONDA_BOSCH = [CAR.ACCORD, CAR.CIVIC_HATCH, CAR.CRV_5G]
|
||||
|
||||
@@ -4,7 +4,7 @@ import time
|
||||
|
||||
|
||||
class RadarInterface(object):
|
||||
def __init__(self):
|
||||
def __init__(self, CP):
|
||||
# radar
|
||||
self.pts = {}
|
||||
self.delay = 0.1
|
||||
@@ -17,7 +17,7 @@ class RadarInterface(object):
|
||||
return ret
|
||||
|
||||
if __name__ == "__main__":
|
||||
RI = RadarInterface()
|
||||
RI = RadarInterface(None)
|
||||
while 1:
|
||||
ret = RI.update()
|
||||
print(chr(27) + "[2J")
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define COMMA_VERSION "0.4.7-release"
|
||||
#define COMMA_VERSION "0.4.7.1-release"
|
||||
|
||||
@@ -249,7 +249,7 @@ class AlertManager(object):
|
||||
|
||||
"modelCommIssue": Alert(
|
||||
"TAKE CONTROL IMMEDIATELY",
|
||||
"Model Error: Restart the Car",
|
||||
"Model Error: Check Internet Connection",
|
||||
AlertStatus.critical, AlertSize.full,
|
||||
Priority.HIGH, "steerRequired", "chimeRepeated", 1., 3., 4.),
|
||||
|
||||
@@ -377,7 +377,7 @@ class AlertManager(object):
|
||||
|
||||
"modelCommIssueNoEntry": Alert(
|
||||
"openpilot Unavailable",
|
||||
"Model Error: Restart the Car",
|
||||
"Model Error: Check Internet Connection",
|
||||
AlertStatus.normal, AlertSize.mid,
|
||||
Priority.LOW, None, "chimeDouble", .4, 2., 3.),
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user