Commit Graph

891 Commits (62d4219762b3e2e8bb72f819ed4465171fc1d018)

Author SHA1 Message Date
quillford 62d4219762 debug_console.py: exit when no pandas found (#175) 2019-04-01 15:01:20 -07:00
Nigel Armstrong 06958e424c Fix pedal bootstub build 2019-03-22 21:42:14 -07:00
Nigel Armstrong f5817e6bd7 Fix Pedal bootstub version 2019-03-22 21:06:47 -07:00
Nigel Armstrong c00fe86773 CircleCI needs to check bootstub doesn't break too 2019-03-22 20:42:23 -07:00
Riccardo 9b5b696e83 Subaru: remove GM leftover 2019-03-20 14:20:21 -07:00
Nigel Armstrong 20c76ad592 Power Saving (#169)
* Only turn on wifi if not eon

* Make sure esp is disabled on eon

* Dont disable ESP in early
2019-03-13 20:58:00 -07:00
Riccardo c6eeaad667 Subaru: added last engage/disengage regression test 2019-03-13 20:17:19 -07:00
Riccardo Biasini 37d46e0c78 Subaru: added subaru safety tests 2019-03-13 11:52:50 -07:00
Riccardo 5686dae25b Subaru updated driver factor 2019-03-12 23:47:54 -07:00
rbiasini a6193a8285
Dcp remove (#168)
* No DCP charge mode when building from EON
2019-03-11 23:41:40 -07:00
Riccardo Biasini e437b9b4b1 Subaru: fixed bug and added safety tests 2019-03-11 02:12:22 -07:00
Riccardo Biasini 176f1325ba Subaru: added proper safety model 2019-03-11 00:29:50 -07:00
Riccardo 0b10bb70ec Subaru safety: move camera to bus 2 2019-03-05 15:37:17 -08:00
rbiasini bce279a627
Pedal: only one firmware (#164)
* Pedal: only one firmware
2019-03-03 21:04:41 -08:00
Riccardo Biasini 4f73cb48b8 Toyota pedal: checking for no pedal being commanded when openpilot is off 2019-03-02 15:22:09 -08:00
Nigel Armstrong 0b2327e5f6
Merge pull request #160 from commaai/capture_make_failure
Capture make failure so it can be logged to sentry
2019-02-21 13:45:10 -08:00
Drew Hintz 7b504d2f88 panda safety test that replays drives of saved CAN messages (#151)
* panda safety test that replays drives of saved CAN messages

* utility to trim Cabana CSV logs to just messages relevant for panda safety testing

* when trimming, only output the same line once even if it matches both criteria
2019-02-21 13:35:04 -08:00
Nigel Armstrong d7d08892e7 Capture make failure so it can be logged to sentry 2019-02-21 01:48:36 -08:00
Riccardo 39c1e39e81 Cadillac: added brake msg forwarding 2019-02-18 17:04:10 -08:00
Riccardo aaa1b14b29 bump VERSION 2019-02-13 00:46:34 -08:00
kernyan e0dd55841a Fixed undefined reference error when "make recover" in EON
In fd233832ef
the linker flag -lgcc might not work on EON as it does not have the
correct library.

The fix was a workaround in sha.c such that we no longer need to import
function __aeabi_llsr from library, by replacing right shift operation
with const argument.

E.g.,
uint64_t a = b >> i // requires __aeabi_llsr from libgcc
uint64_t a = b >> 2 // does not require external library

Resolves: #522
2019-02-13 00:43:30 -08:00
rbiasini c91f038eab
Toyota pedal support (#159) 2019-02-07 12:48:28 -08:00
Riccardo de1ba06d71 Build optimizer: back to Os now that 'make --recover' is fixed 2019-02-06 11:45:30 -08:00
Drew Hintz fd233832ef add -lgcc flag to fix "undefined reference to __aeabi_llsr" (#156)
https://github.com/commaai/openpilot/issues/522
2019-02-06 11:44:18 -08:00
Riccardo 1cc74e2b42 Reverted code optimizer option to O2 after 'make recover' broke 2019-02-05 22:17:35 -08:00
rbiasini 1218d09edb
Cadillac ascm proxy (#155)
* added safety_ascm

* better using one funciton

* GM_ASCM safety mode by default

* fixced ign bug and passing everything for now

* blocking 0x152-0x154 and reforwarding 0x153

* gotta fwd 152 as well on CH bus

* adding braking message block

* blocking gas cmd as well

* allow cadillac supercruise to pass through

* no more hardcoded ascm safety mode
2019-02-05 18:37:02 -08:00
Riccardo 064446fc62 Panda: bumped version 2019-01-28 21:48:29 -08:00
Riccardo 93266a9fa7 Hyundai: allow the same max steer torque as stock 2019-01-28 21:46:13 -08:00
Bugsy d275fa8489 Subaru: Forwarding (#152)
Bus 0 to 1
Bus 1 to 0 exept LKAS
2019-01-28 21:42:06 -08:00
Drew Hintz 9ee628557f optimize board build for size to avoid going over the limit. (#150)
* optimize board build for size to avoid going over the limit.
Here are the sizes of board/obj/panda.bin with different settings:
-O2 32228
-Og 30172
-Os 28028

* warning if panda.bin is over the panda's limit

* if bin is too big, error out
2019-01-23 13:24:29 -08:00
Riccardo 20e8fa9716 Start introducing Bounties 2019-01-17 16:17:53 -08:00
Nicholas McCoy a2046e97a5 make it smaller 2019-01-12 15:47:11 -08:00
Nicholas McCoy 1dfcf2b74a update panda price 2019-01-12 15:26:31 -08:00
Riccardo Biasini 37ee289fe6 chrysler safety: fixed comments 2019-01-06 19:04:26 -08:00
Willem Melching c2dfbadee7
tesla safety: return -1 to block forward (#149) 2019-01-03 18:07:38 +01:00
Riccardo 74c0c1bdd9 update README 2019-01-02 22:00:21 -08:00
Riccardo be0061dccb Chrysler: safety now based on motor torque 2019-01-02 21:53:07 -08:00
Riccardo Biasini 039d1834b6 Chrysler: fixed regression test 2019-01-01 20:00:11 -08:00
Riccardo Biasini 9193eebfa0 Chrysler: safety limits updated 2018-12-30 19:05:04 -08:00
Riccardo 04f1d44f0e Chrysler safety: 3 sa max rate down for now 2018-12-29 14:54:09 -08:00
Riccardo cf3ecd629d Chrysler safety: re-using hyundai framework 2018-12-28 19:20:57 -08:00
George Hotz 49ed9bc1ec Update CLICKS for longer bootup time of EONS and avoid unwanted fast charge mode
updated panda version
2018-12-16 18:23:39 -07:00
Riccardo 293fa33f83 Honda: fixed message forwarding addresses from can2 to can0 2018-11-09 17:58:55 -08:00
Drew Hintz 799c33868d Chrysler safety controls (#130)
* Chrysler safety model and tests.

* fix comments

* when ACC is canceled, disallow controls

* update SAFETY_CHRYSLER value in Python API and add other SAFETY values
2018-11-06 12:28:33 -08:00
rbiasini c05b15b358
Toyota frc on (#141)
* Honda: forwarding CAN0 to camera, so camera can stay on

* forward cam on toyota

* fwd some honda camera msgs

* add crv and rdx steering msg to honda fwd filter

* only fwd cam on toyota if frc is connected

* toyota: remove unused variables

* toyota: don't forward frc bus when switch 1 is high

* toyota: check when switch 1 is high
2018-11-04 15:06:44 -08:00
Riccardo 8291971d9a Toyota: using a more generalized CRUISE_ACTIVE bit that works on all cars 2018-11-04 13:57:25 -08:00
rbiasini 6f157aab68
Toyota frc on (#140)
* Honda: forwarding CAN0 to camera, so camera can stay on

* forward cam on toyota

* fwd some honda camera msgs

* add crv and rdx steering msg to honda fwd filter

* only fwd cam on toyota if frc is connected

* toyota: remove unused variables

* toyota: don't forward frc bus when switch 1 is high
2018-11-03 22:33:06 -07:00
Riccardo 8d2470ce14 bumped panda version 2018-11-03 17:14:43 -07:00
rbiasini 915ee4f585
Honda: forwarding CAN0 to camera, so camera can stay on (#139)
* Honda: forwarding CAN0 to camera, so camera can stay on

* fwd some honda camera msgs

* add crv and rdx steering msg to honda fwd filter
2018-11-03 17:11:51 -07:00
Riccardo 4dd3f5ac01 bump version 2018-10-18 16:33:42 -07:00