Commit Graph

714 Commits

Author SHA1 Message Date
Willem Melching 1404dabb62 Add Palisade to test_car_models
old-commit-hash: ed527dfd1eb421f871d63c1a01f3feaa0778d609
2020-04-17 11:46:16 -07:00
Scott Adair fa6e5b57f3 Car Support - 2020 Hyundai Palisade (#1382)
* Added support for the 2020 Hyundai Palisade

* Updated

* Apply suggestions from code review

Co-Authored-By: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: de910e93d5398c41ffee5a069f45d6d59045b3c2
2020-04-17 11:45:07 -07:00
Willem Melching 91519602bf nissan and hyundai are community
old-commit-hash: c9cefb2fbc78a0e1faf6d8710704c4f193c682b2
2020-04-17 11:42:33 -07:00
HaraldSchafer 5d72509104 Faster lane change (#1381)
* final B2 for 0.75

* more aggression in lane changes
old-commit-hash: d39595cf10a7813e55139320daa252278dd7567d
2020-04-16 18:13:37 -07:00
ZwX1616 f1a05ef594 fix RHD memory leak
old-commit-hash: 6c5080fa9860dbdfc6b97febc85ad1b537e42df9
2020-04-16 17:31:59 -07:00
Willem Melching 15eddad45f Add note about warnings not working with blinker
old-commit-hash: 6991e8ebd2d0e5d75150ab5fc6827f8b7f76fa92
2020-04-16 13:51:23 -07:00
Willem Melching 36e26ce381 updater read git config first (#1376)
old-commit-hash: 0418da517a11758ffd0531cb6ffa18d8958bd1e4
2020-04-16 11:55:16 -07:00
Willem Melching e07d6c35b1 Show relay malfunction alert (#1373)
* show relay malfunction alert

* Remove empty line

* Also immediate disengage

* Forgot noEntry

* Fix name
old-commit-hash: 2b2751c6bdb3a4bf537b14467182c4b5186b30db
2020-04-16 11:38:31 -07:00
HaraldSchafer 5d6131d711 add traffic convention (#1372)
* I think this works

* clean up
old-commit-hash: f5b28ad2d267adae0d6e6fd7816389d3f8d32200
2020-04-15 21:19:25 -07:00
Willem Melching c9ec2cbec6 Hyundai-Kia-Genesis (HKG) (#1362)
* hkg

* Cleanup

* Update readme

* more fixes and cleanup

* Old genesis

* Typoe

* Test car models

* Update comment

* Fix brake pressed

* Update release notes

* Fix vEgo

* Add sonata

* Add sonata values

* Temporarily remove doors check. It doesn't work

* Sonata uses crc8

* Fix tests

* Changes for LFA

* Add comment

* Does this improve the hud?

* Proper signal name

* Force the right value

* some ui stuff

* more comments

* Show lane lines on sonata

* cleanup dash

* fix last ui issues

* Fix doors

* update CI

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7d78cef34b0eea35c2e47f4aa91baf671ef39c43
2020-04-15 19:33:24 -07:00
Dean Lee 68578673ff fix memory leak in encoder_close (#1366)
* fix memory leak in encoder_close

* add &
old-commit-hash: 3b3eebb1373290816f2c49d221883420aabe4d8f
2020-04-15 18:06:22 -07:00
Dean Lee cdda637936 remove buggy pthread_mutex_unlock in event_handler (#1369)
old-commit-hash: a4ad9d1f463743fd77c27bf5cc400c061f5ba1d6
2020-04-15 18:04:28 -07:00
ZwX1616 f90b956f47 RHD support for driver monitoring (#1299)
old-commit-hash: 133b1a20b42e56dc67a013dc2ee856360e4d1d1c
2020-04-15 16:48:44 -07:00
HaraldSchafer 1b57d4ed14 rely on carstate to be sure (#1363)
* rely on carstate to be sure

* relies on carstate now too

* don't know how else to make this work

* update ref

* clean up hacks

* prev ref was weirdly bad?

* lets try that from my machine

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a18832748cda69bce124cc6fa6eed062adb97418
2020-04-15 13:14:23 -07:00
Dean Lee 746600dfb3 assert after nvgCreateImage in ui_nvg_init() (#1360)
* assert after nvgCreateImage

* update apks
old-commit-hash: ea055d169f312430141c757cc9a62dbda4d91f85
2020-04-14 12:27:55 -07:00
Willem Melching c740ed0edf Remove unused import
old-commit-hash: 585a6fe2d81b48347eaba86fd85d554b791e8b55
2020-04-13 16:37:29 -07:00
donlbooth 0631514fe6 Adding fingerprint for Jeep Grand Cherokee 2019 Trailhawk (#1354)
* Adding fingerprint for Jeep Grand Cherokee 2019 Trailhawk

* Update values.py
old-commit-hash: 912c3ab879410717af2cd0c1e0eb57210322a363
2020-04-13 16:17:58 -07:00
Adeeb 7f2008aa0b Remove Cadillac CT6 port (#1359)
* remove CT6 port

* dont need this route

* extra char

* fix carcontroller params
old-commit-hash: e22482eb31f0dd7851fec6ecf448cf99a14b7f5c
2020-04-13 15:53:24 -07:00
Dean Lee 9c9b8b2aa8 add ui_draw_image to reduce code repetition
old-commit-hash: 1ecef2c6be9e47ab5942ef3c4bf48e9baf6af921
2020-04-13 15:38:45 -07:00
Willem Melching 8d70f6e06c Can't import from logmessaged if build fails
old-commit-hash: 60f6e12debe7ed5f53076f3f1ab43fbd150d7087
2020-04-13 15:18:10 -07:00
Dean Lee 7c22a08b30 close usb handle after faile (#1352)
old-commit-hash: dd05d1df835a0e7766f15fe7b9bf437988def8cb
2020-04-13 15:10:47 -07:00
Dean Lee ea0392cc2a close file descriptor (#1353)
* close file descriptor

* check return value
old-commit-hash: 2fc324734371b2eac7f7f34aedf4715febd65eb6
2020-04-13 15:09:48 -07:00
Adeeb f83e617169 Subaru: calculate checksum in can packer (#1356)
* subaru checksum moved to can packer

* unused
old-commit-hash: 789764945c173540e7a3d971c8ec9f365da1bf05
2020-04-13 15:07:59 -07:00
Willem Melching bd9ca30ee8 log bootstub version in pandad
old-commit-hash: 9d83103b0980cd7f5f7156cf3e730a5c57263bb6
2020-04-13 14:41:36 -07:00
HaraldSchafer cd44a6b07f Traffic b2 (#1345)
* add traffic convention

* hope this work

* no comment

* latest and gratest

* big gru model

* 1af55c7d-ee15-414a-9e98-a0cb08c3441f/75

* much later in training

* wrong temporal size

* converged

* fix lane changes
old-commit-hash: d3edc594cef776847645a6cd14e9e3ce6893bd29
2020-04-13 13:27:06 -07:00
Willem Melching 2254998160 handle nak error in replay many
old-commit-hash: fc10fe69bf093037261853fff6a06b1889cb46c5
2020-04-13 13:02:18 -07:00
andyh2 f7e3d8349d offroad/ui: Fix layout bugs (offroad drawing on top, settings open after drive)
old-commit-hash: 76052865cd0b8fdc7ba323390bd4e686fb794258
2020-04-13 08:53:52 -07:00
Adeeb 15916d03f4 Abstract pcmEnable and pcmDisable events (#1350)
* don't need individual prev state vars since whole CS is copied

* don't need a whole function since toyota alerts were simplified

* better here

* abstract pcmEnable/pcmDisable events

* the flippening came to NEOS

* delete

* unused

* Revert "the flippening came to NEOS"

This reverts commit 91cfb73b2914f637863335f4e5f5952620b3e977.
old-commit-hash: 8d791d78dd4fbc973eb61ccd9df2ed4cf9bbbcd5
2020-04-10 16:12:58 -07:00
Willem Melching ce4958dc3a ui.cc: use thermald to decide when to go onroad (#1351)
* use thermald to decide when to go onroad

* Check for stopped

* set alert timeout to 0 when going offroad

* set controls seen to false

* Don't mark as seen when already stopped

* Don't process controlsState when stopped

* Needs free

* Small cleanup

* Remove that again

* Process controlsState when started

* Need that back
old-commit-hash: 54d8f9c27b49efe56b813eb2538b3aa9dc1c2897
2020-04-10 16:12:39 -07:00
Drew Hintz 2640a17660 add Jeep GC 2019 USA fingerprint from al_nyc (#1339)
* add Jeep GC 2019 USA fingerprint from al_nyc

* merge Jeep GC 2019 USA fingerprint with existing fingerprint
old-commit-hash: 756dbd8e3b56cb378c90c59a13fd056408280292
2020-04-10 14:15:50 -07:00
Greg Hogan 9cc5c41773 update tests
old-commit-hash: 337fb1a273c4ac57c2a2a17ae68499eb8b49f37b
2020-04-10 09:46:03 -07:00
Greg Hogan 8be9cddc62 handle ignored uploads more gracefully
old-commit-hash: 85a09b3113fe45b5feee7c1c421e2c43cb2ac03a
2020-04-09 21:59:26 -07:00
George Hotz 24f5831a94 Remove bg_thread from ui (#1347)
* remove bg_thread

* debug print app

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ef8aaa77b79194cd0bc25b1e2a42ca857c34a401
2020-04-09 20:55:54 -07:00
Andy 3879963b5a offroad/ui: Transparent layout mode and msgq-based layout control (#1337)
* offroadLayout

* replace broadcasts with offroadLayout socket

* apk

* set 'none' layoutstate for transparent offroad

* refactor, hide offroad when vision connected

* apk supporting transparency

* reset layout state when stopping

* apk

* cleanup includes

* permit offroad to mangae sidebar state only when vision disconnected

* apk

* use c-capnp

* always upd

* send that too

* sync layout state with offroad

* apk

* fix regression in onboarding (mock engage green border)

* apk

* bump apks

* simplify event processing

* bump cereal to master

* in case ui exited in a bad state

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 35b34fb7002e1e80ddeb6082d3f19b9d41f01daf
2020-04-09 19:28:11 -07:00
Willem Melching 9d166ce8bb Add Lexus RX fw versions
old-commit-hash: 1ac5c48e5d2e52f6fd9d84743576077e7799c344
2020-04-09 18:56:26 -07:00
Willem Melching 8fe9afda2a No hardcoded bitset size
old-commit-hash: 7d54453f0409f06ba583388dc61cb8cfaf430629
2020-04-09 13:45:18 -07:00
Willem Melching bbdce92c16 Populate health.faults from panda health packet
old-commit-hash: f718ceafd51b71a8f16e2fee2ada141965a2e492
2020-04-09 13:43:00 -07:00
Adeeb 7560d6aba6 Toyota: use universal gas pressed bit to match panda safety (#1335)
* Toyota: use universal gas pressed bit to match panda safety

* update ref
old-commit-hash: 928b1561aabb3683875d5c083377d5c5d894d543
2020-04-09 12:09:20 -07:00
Willem Melching ed69033e66 Remove unmaintained mapd code
old-commit-hash: d38a9521025f872a2710f311573249cc9f0f8733
2020-04-09 11:43:14 -07:00
Willem Melching cb2fe8277d fix import spinner start position
old-commit-hash: 9e5bac70614f44d709f22cea6e4516469a5b2697
2020-04-08 16:21:51 -07:00
Dean Lee 5449ad52a5 remove unnecessary nvgLineTo (#1333)
old-commit-hash: ee52046957955d423a1ac4db09079613ca1bdcc5
2020-04-08 15:10:42 -07:00
Willem Melching adaede6b37 Force decel on soft disable (#1334)
old-commit-hash: 7643b0a51100ab4318dc687545fbc120677ba9b8
2020-04-08 14:59:17 -07:00
Willem Melching dc073f0e46 Init mutex just to be safe
old-commit-hash: 64f6e0c1d163b94ea301b74a2bdfe77dbbbb2e5c
2020-04-08 14:09:24 -07:00
Dean Lee 24a729dca8 improve loggerd error handling (#1332)
* call BZ2_bzWriteClose after fail

* set closed file handles to NULL

* move fclose after BZ2_bzWriteClose
old-commit-hash: 434a2b06584652ef82b393fcbc2986b598736030
2020-04-08 14:05:19 -07:00
Willem Melching 2c79408e43 update test ref
old-commit-hash: 3eda14f2fea253c6a694670bde1c1d7be57d2ddd
2020-04-07 21:43:57 -07:00
Adeeb d4cec82895 Unit test for alert width (#1307)
* unit test for alert width

* fix scale

* comment

* fix offending alert text

* rename

* update process replay refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0f6c22ce8b3fbbbbb8fff59e44f49b8ec1578e90
2020-04-07 21:37:17 -07:00
Willem Melching 907a97f1ee Don't use battery temperature to determine fan type (#1331)
* Don't use battery temperature to determine fan type

* Add cloudlog

* Init is_uno
old-commit-hash: 017b1f677050b1b9c29ce8173b80cd9a89901e40
2020-04-07 19:18:14 -07:00
martinl 56fd19b031 Add Subaru gearShifter to carstate (#1318)
* Add Subaru gearShifter to carstate

* reset submodules, remove ignore gearshifter from subaru interface

* update apks to master

* update ref_commit
old-commit-hash: d0b3c695058ce0798d1fd025495903f40851b533
2020-04-07 11:55:17 -07:00
Erich Moraga 74f41ccf52 CAR.COROLLAH_TSS2 x018821F3301100\x00\x00\x00\x00 (#1327)
@capthawker#8604 DongleID a362a5e990fe49e9
old-commit-hash: 6013704586b07256e3b3057b71304ee67db4585c
2020-04-07 11:48:55 -07:00
Willem Melching 4c8657fc8c openpilot support for panda nak (#1324)
old-commit-hash: 7ea2524b6fbb89f23d3591ee2c115181af480d5a
2020-04-06 16:49:37 -07:00