mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-07 22:52:06 +08:00
@@ -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.),
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5332d30ff64fee5f06b67b2f2f3ac547f135cb112bc4301f7928ba4b58ffb52
|
||||
oid sha256:41c0efcbf738804666592169f5845472dfdc230c192e50db16898c69a3a34985
|
||||
size 1622712
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f190a1f3c82d1b4e7bbbbf43a4546c5f3bd7e97a02e51f726dae60164265aa12
|
||||
oid sha256:fb638743ad0d9db5b1ecdc44b1a8058fc78cb453a7302ff5d543f1c2c3a22259
|
||||
size 1171544
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc0facd8b75e340d37d6b911a1674da73b047a268d246932b945631f84860b00
|
||||
oid sha256:57fe440a4732a791446ff62d7b47b9299b4b978653e095f1f7cd521b5d85738d
|
||||
size 1159016
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f768d0d4189e6acc7e84fbecdcce2d06f1373db40f42d6be5a76a6692891b68d
|
||||
oid sha256:ae0213abe0c6f76c4850386459ee1d8478e5a965a311c9f12c3300f6367ef526
|
||||
size 13522344
|
||||
|
||||
Reference in New Issue
Block a user