-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚐 Chrysler and Jeep support for OpenPilot #462
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ring, just logs angle/steer values to find out their intended units.
crash Traceback (most recent call last): File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/controlsd.py", line 537, in main controlsd_thread(gctx, 100) File "/data/openpilot/selfdrive/controls/controlsd.py", line 445, in controlsd_thread CI, CP = get_car(logcan, sendcan, 1.0 if passive else None) File "/data/openpilot/selfdrive/car/__init__.py", line 85, in get_car params = interface_cls.get_params(candidate, fingerprints) File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 56, in get_params ret.safetyModel = car.CarParams.SafetyModels.chrysler AttributeError: '_EnumModule' object has no attribute 'chrysler'
fixes this error: Process controlsd: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/controlsd.py", line 537, in main controlsd_thread(gctx, 100) File "/data/openpilot/selfdrive/controls/controlsd.py", line 445, in controlsd_thread CI, CP = get_car(logcan, sendcan, 1.0 if passive else None) File "/data/openpilot/selfdrive/car/__init__.py", line 85, in get_car params = interface_cls.get_params(candidate, fingerprints) File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 115, in get_params ret.enableCamera = not check_ecu_msgs(fingerprint, candidate, ECU.CAM) NameError: global name 'check_ecu_msgs' is not defined
fixes this error: Process controlsd: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/controlsd.py", line 537, in main controlsd_thread(gctx, 100) File "/data/openpilot/selfdrive/controls/controlsd.py", line 445, in controlsd_thread CI, CP = get_car(logcan, sendcan, 1.0 if passive else None) File "/data/openpilot/selfdrive/car/__init__.py", line 87, in get_car return interface_cls(params, sendcan), params File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 30, in __init__ self.cp = get_can_parser(CP) File "/data/openpilot/selfdrive/car/chrysler/carstate.py", line 53, in get_can_parser return CANParser(os.path.splitext(dbc_f)[0], signals, checks, 0) File "/data/openpilot/selfdrive/can/parser.py", line 32, in __init__ s = (s[0], self.msg_name_to_addres[s[1]], s[2]) KeyError: 'ACCEL_PEDAL'
fixes these errors: Process controlsd: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/controlsd.py", line 537, in main controlsd_thread(gctx, 100) File "/data/openpilot/selfdrive/controls/controlsd.py", line 505, in controlsd_thread overtemp, free_space) File "/data/openpilot/selfdrive/controls/controlsd.py", line 51, in data_sample CS = CI.update(CC) File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 140, in update self.CS.update(self.cp) File "/data/openpilot/selfdrive/car/chrysler/carstate.py", line 92, in update self.pedal_gas = cp.vl["ACCEL_PEDAL"]['ACCEL_PEDAL'] KeyError: 'ACCEL_PEDAL' Process radard: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/radard.py", line 282, in main radard_thread(gctx) File "/data/openpilot/selfdrive/controls/radard.py", line 66, in radard_thread RI = RadarInterface() File "/data/openpilot/selfdrive/car/chrysler/radar_interface.py", line 49, in __init__ self.validCnt = {key: 0 for key in RADAR_MSGS} NameError: global name 'RADAR_MSGS' is not defined
this fixes this error: Process controlsd: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/controlsd.py", line 537, in main controlsd_thread(gctx, 100) File "/data/openpilot/selfdrive/controls/controlsd.py", line 505, in controlsd_thread overtemp, free_space) File "/data/openpilot/selfdrive/controls/controlsd.py", line 51, in data_sample CS = CI.update(CC) File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 151, in update ret.wheelSpeeds.fl = self.CS.v_wheel_fl AttributeError: 'CarState' object has no attribute 'v_wheel_fl'
fixes this error: Process controlsd: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/controlsd.py", line 537, in main controlsd_thread(gctx, 100) File "/data/openpilot/selfdrive/controls/controlsd.py", line 505, in controlsd_thread overtemp, free_space) File "/data/openpilot/selfdrive/controls/controlsd.py", line 51, in data_sample CS = CI.update(CC) File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 173, in update ret.steeringPressed = self.CS.steer_override File "capnp/lib/capnp.pyx", line 1254, in capnp.lib.capnp._DynamicStructBuilder.__setattr__ (capnp/lib/capnp.cpp:28032) raise e._to_python(), None, _sys.exc_info()[2] File "capnp/lib/capnp.pyx", line 1252, in capnp.lib.capnp._DynamicStructBuilder.__setattr__ (capnp/lib/capnp.cpp:27936) self._set(field, value) File "capnp/lib/capnp.pyx", line 1245, in capnp.lib.capnp._DynamicStructBuilder._set (capnp/lib/capnp.cpp:27574) _setDynamicField(self.thisptr, field, value, self._parent) File "capnp/lib/capnp.pyx", line 707, in capnp.lib.capnp._setDynamicField (capnp/lib/capnp.cpp:17178) thisptr.set(field, temp) KjException: src/capnp/dynamic.c++:1711: failed: expected reader.type == BOOL; Value type mismatch.
hopefully gets rid of this error message: Process radard: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/radard.py", line 282, in main radard_thread(gctx) File "/data/openpilot/selfdrive/controls/radard.py", line 99, in radard_thread rr = RI.update() File "/data/openpilot/selfdrive/car/chrysler/radar_interface.py", line 101, in update self.pts[ii].vRel = cpt['REL_SPEED'] KeyError: 'REL_SPEED'
not work the same way for little endian.
fixes this error: Process controlsd: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/controlsd.py", line 537, in main controlsd_thread(gctx, 100) File "/data/openpilot/selfdrive/controls/controlsd.py", line 527, in controlsd_thread rear_view_toggle, awareness_status, LaC, LoC, angle_offset, passive) File "/data/openpilot/selfdrive/controls/controlsd.py", line 324, in data_send CI.apply(CC) File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 270, in apply c.hudControl.audibleAlert) File "/data/openpilot/selfdrive/car/chrysler/carcontroller.py", line 90, in update max_lim = min(max(CS.steer_torque_motor + STEER_ERROR_MAX, STEER_ERROR_MAX), STEER_MAX) AttributeError: 'CarState' object has no attribute 'steer_torque_motor'
fixes this error: Process controlsd: Traceback (most recent call last): File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "./manager.py", line 147, in launcher mod.main(gctx) File "/data/openpilot/selfdrive/controls/controlsd.py", line 537, in main controlsd_thread(gctx, 100) File "/data/openpilot/selfdrive/controls/controlsd.py", line 527, in controlsd_thread rear_view_toggle, awareness_status, LaC, LoC, angle_offset, passive) File "/data/openpilot/selfdrive/controls/controlsd.py", line 324, in data_send CI.apply(CC) File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 270, in apply c.hudControl.audibleAlert) File "/data/openpilot/selfdrive/car/chrysler/carcontroller.py", line 147, in update can_sends.append(chryslercan.create_2d9()) NameError: global name 'chryslercan' is not defined
…tput setting goal is to avoid this error: orbd.cc:49: int main(int, char **): assertion "calculator_init(&test_leet) == 0" failed
what is alt anyways?
pd0wm
pushed a commit
that referenced
this pull request
Mar 12, 2020
0696730 Toyota: add missing offset from speed signal (#469) 5b1a8dc Filtering LKAS HUD messages (#468) 99050f4 test_spam_can_buses was missing from Nissan 0f21b19 Cleanup pedal nomenclature (#467) ceff91d Standardize brake safety tests (#465) 04809e1 Hyundai brake check (#464) 74c8ee0 Subaru brake check (#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (#462) 4368748 WIP: Toyota brake check. (#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (#460) a379faf White Panda's Wi-Fi setup instructions (#457) 11ef24b Improve tests (#456) fb02390 Subaru checksum counter (#455) 9a44499 Fix Subaru Legacy Torque driver bug (#454) dfa6b07 separating subary legacy safety mode from global (#452) dad5858 Chrysler: add brakepress cancellation (#451) db94a5b Added Nissan safety (#244) d7f1195 Chrysler Checksum/counter (#450) 96e535e abstract crc function (#448) 1b49d3e Hyundai: add gas disengage and tests (#447) 598074c Volkswagen safety updates: Phase 2 (#445) b2ffaae Chrysler: disengage on gas press (#442) 2ebbe36 Subaru: disengage on gas press (#446) ccf75c4 Volkswagen safety updates: Phase 1 (#444) git-subtree-dir: panda git-subtree-split: 0696730
pd0wm
pushed a commit
that referenced
this pull request
Mar 13, 2020
0696730 Toyota: add missing offset from speed signal (#469) 5b1a8dc Filtering LKAS HUD messages (#468) 99050f4 test_spam_can_buses was missing from Nissan 0f21b19 Cleanup pedal nomenclature (#467) ceff91d Standardize brake safety tests (#465) 04809e1 Hyundai brake check (#464) 74c8ee0 Subaru brake check (#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (#462) 4368748 WIP: Toyota brake check. (#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (#460) a379faf White Panda's Wi-Fi setup instructions (#457) 11ef24b Improve tests (#456) fb02390 Subaru checksum counter (#455) 9a44499 Fix Subaru Legacy Torque driver bug (#454) dfa6b07 separating subary legacy safety mode from global (#452) dad5858 Chrysler: add brakepress cancellation (#451) db94a5b Added Nissan safety (#244) d7f1195 Chrysler Checksum/counter (#450) 96e535e abstract crc function (#448) 1b49d3e Hyundai: add gas disengage and tests (#447) 598074c Volkswagen safety updates: Phase 2 (#445) b2ffaae Chrysler: disengage on gas press (#442) 2ebbe36 Subaru: disengage on gas press (#446) ccf75c4 Volkswagen safety updates: Phase 1 (#444) git-subtree-dir: panda git-subtree-split: 0696730
pd0wm
pushed a commit
that referenced
this pull request
Mar 13, 2020
0696730 Toyota: add missing offset from speed signal (#469) 5b1a8dc Filtering LKAS HUD messages (#468) 99050f4 test_spam_can_buses was missing from Nissan 0f21b19 Cleanup pedal nomenclature (#467) ceff91d Standardize brake safety tests (#465) 04809e1 Hyundai brake check (#464) 74c8ee0 Subaru brake check (#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (#462) 4368748 WIP: Toyota brake check. (#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (#460) a379faf White Panda's Wi-Fi setup instructions (#457) 11ef24b Improve tests (#456) fb02390 Subaru checksum counter (#455) 9a44499 Fix Subaru Legacy Torque driver bug (#454) dfa6b07 separating subary legacy safety mode from global (#452) dad5858 Chrysler: add brakepress cancellation (#451) db94a5b Added Nissan safety (#244) d7f1195 Chrysler Checksum/counter (#450) 96e535e abstract crc function (#448) 1b49d3e Hyundai: add gas disengage and tests (#447) 598074c Volkswagen safety updates: Phase 2 (#445) b2ffaae Chrysler: disengage on gas press (#442) 2ebbe36 Subaru: disengage on gas press (#446) ccf75c4 Volkswagen safety updates: Phase 1 (#444) git-subtree-dir: panda git-subtree-split: 0696730
pd0wm
pushed a commit
that referenced
this pull request
Mar 13, 2020
0696730 Toyota: add missing offset from speed signal (#469) 5b1a8dc Filtering LKAS HUD messages (#468) 99050f4 test_spam_can_buses was missing from Nissan 0f21b19 Cleanup pedal nomenclature (#467) ceff91d Standardize brake safety tests (#465) 04809e1 Hyundai brake check (#464) 74c8ee0 Subaru brake check (#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (#462) 4368748 WIP: Toyota brake check. (#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (#460) a379faf White Panda's Wi-Fi setup instructions (#457) 11ef24b Improve tests (#456) fb02390 Subaru checksum counter (#455) 9a44499 Fix Subaru Legacy Torque driver bug (#454) dfa6b07 separating subary legacy safety mode from global (#452) dad5858 Chrysler: add brakepress cancellation (#451) db94a5b Added Nissan safety (#244) d7f1195 Chrysler Checksum/counter (#450) 96e535e abstract crc function (#448) 1b49d3e Hyundai: add gas disengage and tests (#447) 598074c Volkswagen safety updates: Phase 2 (#445) b2ffaae Chrysler: disengage on gas press (#442) 2ebbe36 Subaru: disengage on gas press (#446) ccf75c4 Volkswagen safety updates: Phase 1 (#444) git-subtree-dir: panda git-subtree-split: 0696730
pd0wm
pushed a commit
that referenced
this pull request
Mar 14, 2020
0696730 Toyota: add missing offset from speed signal (#469) 5b1a8dc Filtering LKAS HUD messages (#468) 99050f4 test_spam_can_buses was missing from Nissan 0f21b19 Cleanup pedal nomenclature (#467) ceff91d Standardize brake safety tests (#465) 04809e1 Hyundai brake check (#464) 74c8ee0 Subaru brake check (#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (#462) 4368748 WIP: Toyota brake check. (#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (#460) a379faf White Panda's Wi-Fi setup instructions (#457) 11ef24b Improve tests (#456) fb02390 Subaru checksum counter (#455) 9a44499 Fix Subaru Legacy Torque driver bug (#454) dfa6b07 separating subary legacy safety mode from global (#452) dad5858 Chrysler: add brakepress cancellation (#451) db94a5b Added Nissan safety (#244) d7f1195 Chrysler Checksum/counter (#450) 96e535e abstract crc function (#448) 1b49d3e Hyundai: add gas disengage and tests (#447) 598074c Volkswagen safety updates: Phase 2 (#445) b2ffaae Chrysler: disengage on gas press (#442) 2ebbe36 Subaru: disengage on gas press (#446) ccf75c4 Volkswagen safety updates: Phase 1 (#444) git-subtree-dir: panda git-subtree-split: 0696730
pd0wm
pushed a commit
that referenced
this pull request
Mar 16, 2020
0696730 Toyota: add missing offset from speed signal (#469) 5b1a8dc Filtering LKAS HUD messages (#468) 99050f4 test_spam_can_buses was missing from Nissan 0f21b19 Cleanup pedal nomenclature (#467) ceff91d Standardize brake safety tests (#465) 04809e1 Hyundai brake check (#464) 74c8ee0 Subaru brake check (#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (#462) 4368748 WIP: Toyota brake check. (#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (#460) a379faf White Panda's Wi-Fi setup instructions (#457) 11ef24b Improve tests (#456) fb02390 Subaru checksum counter (#455) 9a44499 Fix Subaru Legacy Torque driver bug (#454) dfa6b07 separating subary legacy safety mode from global (#452) dad5858 Chrysler: add brakepress cancellation (#451) db94a5b Added Nissan safety (#244) d7f1195 Chrysler Checksum/counter (#450) 96e535e abstract crc function (#448) 1b49d3e Hyundai: add gas disengage and tests (#447) 598074c Volkswagen safety updates: Phase 2 (#445) b2ffaae Chrysler: disengage on gas press (#442) 2ebbe36 Subaru: disengage on gas press (#446) ccf75c4 Volkswagen safety updates: Phase 1 (#444) git-subtree-dir: panda git-subtree-split: 0696730
pd0wm
pushed a commit
that referenced
this pull request
Mar 16, 2020
0696730 Toyota: add missing offset from speed signal (#469) 5b1a8dc Filtering LKAS HUD messages (#468) 99050f4 test_spam_can_buses was missing from Nissan 0f21b19 Cleanup pedal nomenclature (#467) ceff91d Standardize brake safety tests (#465) 04809e1 Hyundai brake check (#464) 74c8ee0 Subaru brake check (#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (#462) 4368748 WIP: Toyota brake check. (#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (#460) a379faf White Panda's Wi-Fi setup instructions (#457) 11ef24b Improve tests (#456) fb02390 Subaru checksum counter (#455) 9a44499 Fix Subaru Legacy Torque driver bug (#454) dfa6b07 separating subary legacy safety mode from global (#452) dad5858 Chrysler: add brakepress cancellation (#451) db94a5b Added Nissan safety (#244) d7f1195 Chrysler Checksum/counter (#450) 96e535e abstract crc function (#448) 1b49d3e Hyundai: add gas disengage and tests (#447) 598074c Volkswagen safety updates: Phase 2 (#445) b2ffaae Chrysler: disengage on gas press (#442) 2ebbe36 Subaru: disengage on gas press (#446) ccf75c4 Volkswagen safety updates: Phase 1 (#444) git-subtree-dir: panda git-subtree-split: 0696730
pd0wm
pushed a commit
that referenced
this pull request
Mar 16, 2020
0696730 Toyota: add missing offset from speed signal (#469) 5b1a8dc Filtering LKAS HUD messages (#468) 99050f4 test_spam_can_buses was missing from Nissan 0f21b19 Cleanup pedal nomenclature (#467) ceff91d Standardize brake safety tests (#465) 04809e1 Hyundai brake check (#464) 74c8ee0 Subaru brake check (#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (#462) 4368748 WIP: Toyota brake check. (#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (#460) a379faf White Panda's Wi-Fi setup instructions (#457) 11ef24b Improve tests (#456) fb02390 Subaru checksum counter (#455) 9a44499 Fix Subaru Legacy Torque driver bug (#454) dfa6b07 separating subary legacy safety mode from global (#452) dad5858 Chrysler: add brakepress cancellation (#451) db94a5b Added Nissan safety (#244) d7f1195 Chrysler Checksum/counter (#450) 96e535e abstract crc function (#448) 1b49d3e Hyundai: add gas disengage and tests (#447) 598074c Volkswagen safety updates: Phase 2 (#445) b2ffaae Chrysler: disengage on gas press (#442) 2ebbe36 Subaru: disengage on gas press (#446) ccf75c4 Volkswagen safety updates: Phase 1 (#444) git-subtree-dir: panda git-subtree-split: 0696730
Vaggysag
pushed a commit
to Vaggysag/openpilot
that referenced
this pull request
Apr 21, 2020
* Torque limit bump, change signal for ACC state tracking
dzid26
added a commit
to dzid26/openpilot-for-BMW-E8x-E9x
that referenced
this pull request
Jan 2, 2022
d32345dd Removed prints that were used for test, but cannot be compiled for the target ba74138 Added BMW safety tests. Updated safety to limit maximum commanded target delta. Fixed safety bugs with speed scaling and other type bugs. d3cde431 Testing helpers c4c8cce7 Added dummy state to gmlan testing 9a2e2d6c Reduced repeated code e1aef2e1 Made compatible with d301a59 ed075850 Merge branch 'master' of https://github.com/commaai/panda 437d7ac2 BMW hooks. Number commaai#12 used for safety. 74c8ee0 Subaru brake check (commaai#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (commaai#462) 4368748 WIP: Toyota brake check. (commaai#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (commaai#460) a379faf White Panda's Wi-Fi setup instructions (commaai#457) 11ef24b Improve tests (commaai#456) fb02390 Subaru checksum counter (commaai#455) 9a44499 Fix Subaru Legacy Torque driver bug (commaai#454) dfa6b07 separating subary legacy safety mode from global (commaai#452) dad5858 Chrysler: add brakepress cancellation (commaai#451) db94a5b Added Nissan safety (commaai#244) f88af30e Merge remote-tracking branch 'remotes/Comma/master' d7f1195 Chrysler Checksum/counter (commaai#450) 96e535e abstract crc function (commaai#448) 1b49d3e Hyundai: add gas disengage and tests (commaai#447) 598074c Volkswagen safety updates: Phase 2 (commaai#445) b2ffaae Chrysler: disengage on gas press (commaai#442) 2ebbe36 Subaru: disengage on gas press (commaai#446) ccf75c4 Volkswagen safety updates: Phase 1 (commaai#444) d686a2ce Fixed GMLAN switch tickle interrupt git-subtree-dir: panda git-subtree-split: d32345ddcf9f70872b54886fc6c949c20dcc8650
dzid26
added a commit
to dzid26/openpilot-for-BMW-E8x-E9x
that referenced
this pull request
Feb 22, 2022
d32345dd Removed prints that were used for test, but cannot be compiled for the target ba74138 Added BMW safety tests. Updated safety to limit maximum commanded target delta. Fixed safety bugs with speed scaling and other type bugs. d3cde431 Testing helpers c4c8cce7 Added dummy state to gmlan testing 9a2e2d6c Reduced repeated code e1aef2e1 Made compatible with d301a59 ed075850 Merge branch 'master' of https://github.com/commaai/panda 437d7ac2 BMW hooks. Number commaai#12 used for safety. 74c8ee0 Subaru brake check (commaai#463) 4ecc6b3 Cleanup: avoid unnecessary bus checks in rx hooks c7d0d5f Volkswagen safety updates: Phase 3 (commaai#462) 4368748 WIP: Toyota brake check. (commaai#459) 2ef996f fix addr frequencies e063b26 Second test fix tentative 88e2593 This should fix the test replay ebb8866 Added NISSAN replay test b2dbb50 remove toyota ipas safety code and tests (commaai#460) a379faf White Panda's Wi-Fi setup instructions (commaai#457) 11ef24b Improve tests (commaai#456) fb02390 Subaru checksum counter (commaai#455) 9a44499 Fix Subaru Legacy Torque driver bug (commaai#454) dfa6b07 separating subary legacy safety mode from global (commaai#452) dad5858 Chrysler: add brakepress cancellation (commaai#451) db94a5b Added Nissan safety (commaai#244) f88af30e Merge remote-tracking branch 'remotes/Comma/master' d7f1195 Chrysler Checksum/counter (commaai#450) 96e535e abstract crc function (commaai#448) 1b49d3e Hyundai: add gas disengage and tests (commaai#447) 598074c Volkswagen safety updates: Phase 2 (commaai#445) b2ffaae Chrysler: disengage on gas press (commaai#442) 2ebbe36 Subaru: disengage on gas press (commaai#446) ccf75c4 Volkswagen safety updates: Phase 1 (commaai#444) d686a2ce Fixed GMLAN switch tickle interrupt git-subtree-dir: panda git-subtree-split: d32345ddcf9f70872b54886fc6c949c20dcc8650
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uses OpenPilot for steering and the car's built-in Adaptive Cruise Control (ACC) for acceleration and braking. To engage OpenPilot, engage the car's ACC. To disengage OpenPilot, press the ACC cancel button, press the brake, or press the gas pedal.
Steers down to 7mph, but currently set to 9mph minimum steering speed to avoid faulting the steering actuator for that drive when sharply decelerating. ACC is stop-and-go, but if the car is stopped for more than 3 seconds, then it requires the user to press the gas pedal to resume.
This version has been used on 9 different cars. Longest drive I've done without taking control is ~2 hours on I-5.
More details are available here: https://github.com/adhintz/openpilot/wiki
Big thanks to @itrealizer for the Jeep and 2018 Pacifica non-hybrid fingerprints, recorded drives, and encouragement!