Commit Graph

12534 Commits

Author SHA1 Message Date
Willem Melching
7751aeca83 bump cereal 2020-04-16 10:18:38 -07:00
HaraldSchafer
f5b28ad2d2 add traffic convention (#1372)
* I think this works

* clean up
2020-04-15 21:19:25 -07:00
Willem Melching
ba5858c3ed bump panda 2020-04-15 19:33:57 -07:00
Willem Melching
7d78cef34b 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>
2020-04-15 19:33:24 -07:00
Nicholas McCoy
6e388948e3 Merge branch 'master' of github.com:commaai/openpilot 2020-04-15 18:07:06 -07:00
Nicholas McCoy
0a0eef7a1e add 2020MY for Civic and Camry 2020-04-15 18:06:47 -07:00
Dean Lee
3b3eebb137 fix memory leak in encoder_close (#1366)
* fix memory leak in encoder_close

* add &
2020-04-15 18:06:22 -07:00
Dean Lee
a4ad9d1f46 remove buggy pthread_mutex_unlock in event_handler (#1369) 2020-04-15 18:04:28 -07:00
ZwX1616
3b3cacfc52 add updates to release note 2020-04-15 17:14:58 -07:00
ZwX1616
133b1a20b4 RHD support for driver monitoring (#1299) 2020-04-15 16:48:44 -07:00
HaraldSchafer
a18832748c 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>
2020-04-15 13:14:23 -07:00
Willem Melching
e816467eb5 Handle 2x scaling in plot drawing 2020-04-14 12:51:25 -07:00
Dean Lee
ea055d169f assert after nvgCreateImage in ui_nvg_init() (#1360)
* assert after nvgCreateImage

* update apks
2020-04-14 12:27:55 -07:00
Greg Hogan
efbb4aac2e ColumnStoreWriter/Reader support for dictionary of arrays in single file 2020-04-13 19:04:52 -07:00
Willem Melching
585a6fe2d8 Remove unused import 2020-04-13 16:37:29 -07:00
donlbooth
912c3ab879 Adding fingerprint for Jeep Grand Cherokee 2019 Trailhawk (#1354)
* Adding fingerprint for Jeep Grand Cherokee 2019 Trailhawk

* Update values.py
2020-04-13 16:17:58 -07:00
Adeeb
e22482eb31 Remove Cadillac CT6 port (#1359)
* remove CT6 port

* dont need this route

* extra char

* fix carcontroller params
2020-04-13 15:53:24 -07:00
Dean Lee
1ecef2c6be add ui_draw_image to reduce code repetition 2020-04-13 15:38:45 -07:00
Willem Melching
60f6e12deb Can't import from logmessaged if build fails 2020-04-13 15:18:10 -07:00
Dean Lee
dd05d1df83 close usb handle after faile (#1352) 2020-04-13 15:10:47 -07:00
Dean Lee
2fc3247343 close file descriptor (#1353)
* close file descriptor

* check return value
2020-04-13 15:09:48 -07:00
Adeeb
789764945c Subaru: calculate checksum in can packer (#1356)
* subaru checksum moved to can packer

* unused
2020-04-13 15:07:59 -07:00
Willem Melching
df5b6a4023 bump opendbc 2020-04-13 15:06:50 -07:00
Willem Melching
9d83103b09 log bootstub version in pandad 2020-04-13 14:41:36 -07:00
Harald Schafer
c4acf68b96 various upadtes 2020-04-13 14:19:54 -07:00
HaraldSchafer
d3edc594ce 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
2020-04-13 13:27:06 -07:00
Willem Melching
fc10fe69bf handle nak error in replay many 2020-04-13 13:02:18 -07:00
andyh2
76052865cd offroad/ui: Fix layout bugs (offroad drawing on top, settings open after drive) 2020-04-13 08:53:52 -07:00
Adeeb
8d791d78dd 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.
2020-04-10 16:12:58 -07:00
Willem Melching
54d8f9c27b 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
2020-04-10 16:12:39 -07:00
Adeeb
a92683a973 cleanup readme (#1348)
* cleanup readme

* restart numbering

* reorder numbering
2020-04-10 15:12:05 -07:00
Drew Hintz
756dbd8e3b 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
2020-04-10 14:15:50 -07:00
Greg Hogan
337fb1a273 update tests 2020-04-10 09:46:03 -07:00
Greg Hogan
85a09b3113 handle ignored uploads more gracefully 2020-04-09 21:59:26 -07:00
George Hotz
ef8aaa77b7 Remove bg_thread from ui (#1347)
* remove bg_thread

* debug print app

Co-authored-by: Comma Device <device@comma.ai>
2020-04-09 20:55:54 -07:00
Andy
35b34fb700 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>
2020-04-09 19:28:11 -07:00
Willem Melching
1ac5c48e5d Add Lexus RX fw versions 2020-04-09 18:56:26 -07:00
Willem Melching
7d54453f04 No hardcoded bitset size 2020-04-09 13:45:18 -07:00
Willem Melching
f718ceafd5 Populate health.faults from panda health packet 2020-04-09 13:43:00 -07:00
Willem Melching
fcb75d7d09 bump cereal 2020-04-09 12:16:13 -07:00
Willem Melching
3ad614596c bump panda: Toyota gas pressed bit 2020-04-09 12:10:21 -07:00
Adeeb
928b1561aa Toyota: use universal gas pressed bit to match panda safety (#1335)
* Toyota: use universal gas pressed bit to match panda safety

* update ref
2020-04-09 12:09:20 -07:00
Willem Melching
d38a952102 Remove unmaintained mapd code 2020-04-09 11:43:14 -07:00
Willem Melching
9e5bac7061 fix import spinner start position 2020-04-08 16:21:51 -07:00
Dean Lee
ee52046957 remove unnecessary nvgLineTo (#1333) 2020-04-08 15:10:42 -07:00
Willem Melching
7643b0a511 Force decel on soft disable (#1334) 2020-04-08 14:59:17 -07:00
Willem Melching
64f6e0c1d1 Init mutex just to be safe 2020-04-08 14:09:24 -07:00
Dean Lee
434a2b0658 improve loggerd error handling (#1332)
* call BZ2_bzWriteClose after fail

* set closed file handles to NULL

* move fclose after BZ2_bzWriteClose
2020-04-08 14:05:19 -07:00
HaraldSchafer
c22f1267cd Update README.md 2020-04-08 13:28:58 -07:00
Willem Melching
3eda14f2fe update test ref 2020-04-07 21:43:57 -07:00