Commit Graph

1194 Commits

Author SHA1 Message Date
Nicholas McCoy
7c565bfd27 Merge branch 'master' of github.com:commaai/openpilot
old-commit-hash: 6e388948e3ecbb6b9ffa7a05fcd6ce3966ac5f27
2020-04-15 18:07:06 -07:00
Nicholas McCoy
15c632c7f7 add 2020MY for Civic and Camry
old-commit-hash: 0a0eef7a1e82038781b66b3c327be85314c13527
2020-04-15 18:06:47 -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
92e9839d62 add updates to release note
old-commit-hash: 3b3cacfc5298ea664527d916a6df442d4e11f78a
2020-04-15 17:14:58 -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
Willem Melching
f821def1eb Handle 2x scaling in plot drawing
old-commit-hash: e816467eb5a6fb7b933225a871dc8ad339a17e68
2020-04-14 12:51:25 -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
Greg Hogan
1dd537a7f9 ColumnStoreWriter/Reader support for dictionary of arrays in single file
old-commit-hash: efbb4aac2e36aedbc67500a0bdc91802c547d5f2
2020-04-13 19:04:52 -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
169f16824b bump opendbc
old-commit-hash: df5b6a40230bd4aee49a1a2c97d8217523637b96
2020-04-13 15:06:50 -07:00
Willem Melching
bd9ca30ee8 log bootstub version in pandad
old-commit-hash: 9d83103b0980cd7f5f7156cf3e730a5c57263bb6
2020-04-13 14:41:36 -07:00
Harald Schafer
e34bc5b370 various upadtes
old-commit-hash: c4acf68b96bde1fe86af56f2ea13509ff75b651f
2020-04-13 14:19:54 -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
Adeeb
5ddf954168 cleanup readme (#1348)
* cleanup readme

* restart numbering

* reorder numbering
old-commit-hash: a92683a97365420beb64fab453c96e5f8be372a3
2020-04-10 15:12:05 -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
Willem Melching
a0ffa0761c bump cereal
old-commit-hash: fcb75d7d09c257823719e46b02dc9dce100c0e17
2020-04-09 12:16:13 -07:00
Willem Melching
eea2b74968 bump panda: Toyota gas pressed bit
old-commit-hash: 3ad614596c369c9582ed9fde83058ab0b42c1ad0
2020-04-09 12:10:21 -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
HaraldSchafer
3e790d8133 Update README.md
old-commit-hash: c22f1267cd8c16f213f76d6841b047331ca73ccf
2020-04-08 13:28:58 -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
Willem Melching
0d307b16b8 bump panda
old-commit-hash: 8b1b56a90482e1aac7917bbc98f77da75444374d
2020-04-07 15:00:27 -07:00
ZwX1616
9e07511371 add pc to supported hardware (#1328)
old-commit-hash: 52fcbb1b92d801439cb2f7bb055b35fbd8f1d3af
2020-04-07 13:19:23 -07:00